label[id$="-error"],
.input-error {
    color: red;
    font-size: 14px;
}

.iti.iti--allow-dropdown {
    width: 100%;
}

.iti__flag {
    background-image: url("/dist/images/flags.png");
}

li.iti__country {
    padding: 10px;
    outline: 0;
    display: flex;
}

.password-toggler-wrapper {
    position: relative;
}

.password-toggler-wrapper img.toggle-password {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.member-status-pending {
    background-color: var(--info);
    color: #fff !important;
}

.member-status-rejected {
    background-color: var(--danger);
    color: #fff !important;
}

.member-status-approved {
    background-color: var(--green);
    color: #fff !important;
}

.text-amount {
    color: #e53e30 !important;
}

li.plan-benefits {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    text-transform: capitalize;
    line-height: 1.5;
}

.modal-dialog {
    max-width: 35vw;
}

/* Add scroll to register modal content when form is big */
#registerModal .modal-content {
    max-height: 110vh;
    overflow: hidden;
}

#registerModal .modal-body {
    max-height: calc(110vh - 120px);
    overflow-y: auto;
}

#avatarPicker {
    cursor: pointer;
}

.checkcontainer span.radiobtn {
    top: -3px !important;
}

img.dashboard-member-logo {
    max-height: 75px !important;
    max-width: 150px !important;
}

.daterangepicker td.active,
.daterangepicker td.active {
    background-color: #e53e30;
}

.quote-amount-inputs ._n {
    min-width: 400px;
}

.sc-txt {
    margin-top: 14px;
    font-size: 14px;
}

@media screen and (max-width: 767px) {
    .modal-dialog {
        max-width: 100vw;
    }

    #registerModal .modal-content {
        max-height: 90vh;
        overflow: hidden;
    }
    
    #registerModal .modal-body {
        max-height: calc(90vh - 120px);
        overflow-y: auto;
    }
    
    .nav-left {
        z-index: 2;
    }
}

/* overlay loader */
.loading {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.lead-status {
    padding: 2px 5px;
    border-radius: 5px;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
}
/* Leads statuses */
.lead-status.opened {
    background-color: #f99d1c;
}
.lead-status.contacted {
    background-color: #f99d1c;
}
.lead-status.approved {
    background-color: #198754;
}
.lead-status.declined {
    background-color: #e53e30;
}
.lead-status.pending {
    background-color: #000000;
}

.broker-quote-form {
    max-width: 800px;
}

.broker-quote-form .w-100 {
    width: 70% !important;
}

/* Transparent Overlay */
.loading:before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgb(82 50 47), rgba(0, 0, 0, 0.8));
    background: -webkit-radial-gradient(rgb(82 50 47), rgba(0, 0, 0, 0.8));
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
    font: 0/0 a;
    color: transparent;
    text-shadow: none;
    background-color: transparent;
    border: 0;
}

.loading:not(:required):after {
    content: "";
    display: block;
    font-size: 10px;
    width: 1em;
    height: 1em;
    margin-top: -0.5em;
    -webkit-animation: spinner 150ms infinite linear;
    -moz-animation: spinner 150ms infinite linear;
    -ms-animation: spinner 150ms infinite linear;
    -o-animation: spinner 150ms infinite linear;
    animation: spinner 150ms infinite linear;
    border-radius: 0.5em;
    -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0,
        rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0,
        rgba(255, 255, 255, 0.75) 0 1.5em 0 0,
        rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0,
        rgba(255, 255, 255, 0.75) -1.5em 0 0 0,
        rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0,
        rgba(255, 255, 255, 0.75) 0 -1.5em 0 0,
        rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
    box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0,
        rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0,
        rgba(255, 255, 255, 0.75) 0 1.5em 0 0,
        rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0,
        rgba(255, 255, 255, 0.75) -1.5em 0 0 0,
        rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0,
        rgba(255, 255, 255, 0.75) 0 -1.5em 0 0,
        rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}
.company-logo-wrapper {
    position: relative;
}

.company-logo-wrapper .remove-logo {
    position: absolute;
    padding: 0px 5px;
    border: none;
    top: -8px;
    right: -8px;
    font-size: 12px;
    font-weight: bold;
    background: #e53e30;
    color: #ffffff;
    border-radius: 100%;
    cursor: pointer;
    text-decoration: none;
}

/* Animation */

@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/* ============================================================
   Viita site header (matches Divi staging layout)
   ============================================================ */
header.vt-header,
header.vt-header * {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
}

header.vt-header {
    display: block;
    height: auto;
    width: 100%;
    background: #fff;
    box-shadow: none;
    align-items: stretch;
}

.vt-header a {
    text-decoration: none;
}

/* --- Top bar (coral) --- */
.vt-header__top {
    background: #ef4238!important;
    color: #fff;
}

.vt-header__top-inner {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: 56px;
    gap: 24px;
}

.vt-header__top-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    padding: 8px 0;
    flex: 1 1 auto;
}

.vt-header__top-right {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex: 0 0 auto;
}

/* Blurb (email / phone) */
.vt-blurb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.vt-blurb:hover {
    color: #fff !important;
    opacity: 0.9;
    text-decoration: none;
}

.vt-blurb__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.vt-blurb__icon img {
    width: 100%;
    height: 16px;
    width: 16px;
    display: block;
}

.vt-blurb__text {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
}

/* Social */
.vt-social {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 22px 0 0;
    gap: 10px;
}

.vt-social__item {
    margin: 0;
}

.vt-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #fff;
    line-height: 0;
}

.vt-social__link:hover {
    color: #fff;
    opacity: 0.85;
}

.vt-social__link svg {
    width: 17px;
    height: 17px;
    display: block;
}

.vt-social__item--linkedin .vt-social__link svg {
    width: 17px;
    height: 17px;
}

/* Clients & Partners button */
.vt-clients {
    position: relative;
    display: flex;
    align-self: stretch;
}

.vt-clients__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    height: 100%;
    padding: 0 26px;
    background: #0d2137;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1;
    white-space: nowrap;
    border: 0;
    border-radius: 0;
    text-decoration: none;
    transition: background 0.2s ease;
}

.vt-clients__btn:hover,
.vt-clients__btn:focus,
.vt-clients__btn[aria-expanded="true"] {
    background: #081826;
    color: #fff !important;
    text-decoration: none;
    outline: none;
}

.vt-clients__chevron {
    width: 10px;
    height: 6px;
    color: #fff;
    flex-shrink: 0;
}

.vt-clients__menu.dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    padding: 0;
    width: 100%;
    min-width: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

/* Open dropdown on hover (desktop) */
@media (min-width: 981px) {
    .vt-clients:hover .vt-clients__menu.dropdown-menu,
    .vt-clients:focus-within .vt-clients__menu.dropdown-menu {
        display: block;
    }
}

/* JS-driven open state (works on all viewports, incl. touch devices) */
.vt-clients.is-open .vt-clients__menu.dropdown-menu {
    display: block;
}

.vt-clients__menu .dropdown-item {
    color: #0d2137;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 12px 28px;
    background: #fff;
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.vt-clients__menu .dropdown-item:hover,
.vt-clients__menu .dropdown-item:focus,
.vt-clients__menu .dropdown-item:active {
    background: #fff;
    color: #e55b4d;
}

/* --- Main bar (white) --- */
.vt-header__main {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.vt-header__main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 20px;
    min-height: 88px;
    gap: 24px;
}

.vt-header__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.vt-header__logo img {
    display: block;
    width: auto;
    max-height: 58px;
}

/* Nav */
.vt-nav {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: flex-end;
}

.vt-nav__list {
    display: flex;
    align-items: center;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vt-nav__list li {
    margin: 0;
}

.vt-nav__list a {
    display: inline-block;
    color: #00263d;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 8px 0;
    position: relative;
    transition: color 0.2s ease;
}

.vt-nav__list a:hover {
    color: #e55b4d;
}

/* Mobile toggle */
.vt-header__mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    width: 28px;
    height: 28px;
    padding: 6px 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.vt-header__mobile-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: #8a96a3;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.2s ease;
}

.vt-header__mobile-toggle:hover span {
    background: #6b7785;
}

.vt-header__mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
}

.vt-header__mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.vt-header__mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .vt-header__top-inner,
    .vt-header__main-inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .vt-nav__list {
        gap: 22px;
    }

    .vt-nav__list a {
        font-size: 13px;
    }
}

/* Mobile-only items (Client Login / Partner With Us) hidden on desktop;
   the Clients & Partners dropdown handles them above 980px. */
.vt-nav__mobile-only {
    display: none;
}

@media (max-width: 980px) {
    /* Hide the entire top coral bar (email/phone/social/clients) on responsive */
    .vt-header__top {
        display: none !important;
    }

    /* Anchor the dropdown to the full-width outer bar, not the centered inner */
    .vt-header__main {
        position: relative;
    }

    .vt-header__main-inner {
        min-height: 80px;
        padding: 20px 40px;
        position: static;
    }

    .vt-header__mobile-toggle {
        display: inline-flex;
    }

    .vt-nav {
        display: block;
        position: absolute;
        top: 100%;
        left: 5%;
        right: 5%;
        width: auto;
        background: #fff;
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 6px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 100;
        flex: none;
        justify-content: flex-start;
    }

    .vt-nav.is-open {
        max-height: 700px;
    }

    .vt-nav__list {
        display: block;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0;
        margin: 0;
        text-align: left;
    }

    .vt-nav__list li {
        display: block;
        width: 100%;
        text-align: left;
    }

    .vt-nav__list a {
        display: block;
        width: 100%;
        padding: 14px 24px;
        text-align: left;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .vt-nav__list li:last-child a {
        border-bottom: 0;
    }

    .vt-nav__mobile-only {
        display: list-item;
    }

    .vt-nav__mobile-only--first {
        margin-top: 6px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        padding-top: 6px;
    }

    .vt-nav__mobile-only a {
        color: #e55b4d;
        font-weight: 700;
    }
}

@media (max-width: 600px) {
    .vt-header__top-left {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 12px 20px;
        text-align: center;
    }

    .vt-blurb {
        font-size: 14px;
    }

    .vt-clients__btn {
        padding: 14px 18px;
        font-size: 13px;
    }

    .vt-header__logo img {
        max-height: 56px;
    }
}

/* Hide legacy header rules when our header is on the page */
.vt-header + header,
header + .vt-header { display: none; }

/* ============================================================
   Viita site footer (matches Divi staging layout)
   ============================================================ */
footer.vt-footer {
    background: #001f3f;
    color: #fff;
    padding: 56px 0 28px;
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
}

footer.vt-footer * {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
}

footer.vt-footer a {
    text-decoration: none;
    color: inherit;
}

footer.vt-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer.vt-footer p {
    margin: 0;
    padding: 0;
}

.vt-footer__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Top block --- */
.vt-footer__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 32px;
}

.vt-footer__logo {
    display: inline-block;
    margin-bottom: 24px;
}

.vt-footer__logo img {
    display: block;
    max-width: 280px;
    width: 100%;
    height: auto;
}

.vt-footer__contact {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    letter-spacing: 0.01em;
    margin-bottom: 22px;
}

.vt-footer__contact p {
    margin: 0;
    padding: 0;
}

.vt-footer__contact a {
    color: #fff;
}

.vt-footer__contact a:hover {
    color: #fff;
    opacity: 0.85;
}

.vt-footer__social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.vt-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: #e55b4d;
    transition: opacity 0.2s ease;
}

.vt-footer__social a:hover {
    color: #e55b4d;
    opacity: 0.8;
}

.vt-footer__social svg {
    width: 18px;
    height: 18px;
    display: block;
}

.vt-footer__social-item--linkedin svg {
    width: 18px;
    height: 18px;
}

/* --- Bottom block (nav + copyright) --- */
.vt-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.vt-footer__nav {
    flex: 0 1 auto;
}

.vt-footer__nav ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 30px;
}

.vt-footer__nav li {
    margin: 0;
}

.vt-footer__nav a {
    display: inline-block;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.6;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.vt-footer__nav a:hover {
    color: #e55b4d;
}

.vt-footer__copyright {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
    margin: 0;
    text-align: right;
    flex-shrink: 0;
}

@media (max-width: 980px) {
    footer.vt-footer {
        padding: 48px 0 24px;
    }

    .vt-footer__bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .vt-footer__nav ul {
        justify-content: center;
        gap: 10px 22px;
    }

    .vt-footer__copyright {
        text-align: center;
    }
}

@media (max-width: 600px) {
    footer.vt-footer {
        padding: 40px 0 22px;
    }

    .vt-footer__logo img {
        max-width: 220px;
    }

    .vt-footer__contact {
        font-size: 14px;
    }

    .vt-footer__nav ul {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================================
   Viita auth pages (Client Login / Partner With Us)
   ============================================================ */
.vt-auth {
    background: linear-gradient(180deg, #f5f7fa 0%, #e9eef5 100%);
    padding: 64px 16px 80px;
    min-height: calc(100vh - 320px);
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
}

.vt-auth * {
    font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif;
    box-sizing: border-box;
}

.vt-auth__container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.vt-auth__card {
    background: #fff;
    width: 100%;
    max-width: 460px;
    border-radius: 14px;
    box-shadow: 0 22px 60px -28px rgba(13, 33, 55, 0.35),
                0 4px 12px rgba(13, 33, 55, 0.06);
    padding: 44px 44px 40px;
}

.vt-auth__card--wide {
    max-width: 780px;
}

.vt-auth__header {
    text-align: center;
    margin-bottom: 28px;
}

.vt-auth__title {
    font-size: 30px;
    font-weight: 700;
    color: #0d2137;
    letter-spacing: -0.01em;
    margin: 0 0 10px;
    line-height: 1.2;
}

.vt-auth__subtitle {
    color: #5a6b7d;
    font-size: 15px;
    line-height: 1.55;
    margin: 0 auto;
    max-width: 520px;
}

.vt-auth__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.vt-auth__form--grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}

.vt-auth__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vt-auth__field--full {
    grid-column: 1 / -1;
}

.vt-auth__field label {
    color: #0d2137;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin: 0;
}

.vt-auth__field .form-control {
    height: 46px;
    padding: 10px 14px;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    color: #0d2137;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
}

.vt-auth__field .form-control:focus {
    outline: none;
    border-color: #e55b4d;
    box-shadow: 0 0 0 3px rgba(229, 91, 77, 0.15);
}

.vt-auth__field .password-toggler-wrapper {
    position: relative;
}

.vt-auth__field .password-toggler-wrapper .form-control {
    padding-right: 44px;
}

.vt-auth__field .password-toggler-wrapper .toggle-password {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 18px;
    height: auto;
    cursor: pointer;
    opacity: 0.55;
}

.vt-auth__field .password-toggler-wrapper .toggle-password:hover {
    opacity: 0.9;
}

.vt-auth__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: -4px;
}

.vt-auth__remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #4a5b6f;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.vt-auth__remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #e55b4d;
    margin: 0;
}

.vt-auth__forgot {
    color: #e55b4d;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.vt-auth__forgot:hover {
    color: #c8493d;
    text-decoration: none;
}

.vt-auth__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    background: #e55b4d;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.05s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 22px -10px rgba(229, 91, 77, 0.65);
}

.vt-auth__submit:hover {
    background: #c8493d;
    color: #fff;
}

.vt-auth__submit:active {
    transform: translateY(1px);
}

.vt-auth__alt {
    text-align: center;
    color: #4a5b6f;
    font-size: 13px;
    margin: 4px 0 0;
}

.vt-auth__alt a {
    color: #e55b4d;
    font-weight: 700;
    text-decoration: none;
}

.vt-auth__alt a:hover {
    color: #c8493d;
    text-decoration: none;
}

/* --- Register: user type tabs --- */
.vt-auth__usertype {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    border: none;
}

.vt-auth__usertype-item {
    margin: 0;
    border: none;
}

.vt-auth__usertype-item a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.vt-auth__usertype-item .checkcontainer {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    font-size: 14px;
    color: #0d2137;
    font-weight: 500;
}

.vt-auth__usertype-label {
    line-height: 1;
}

/* --- Register: captcha --- */
.vt-auth__captcha {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.vt-auth__captcha-question {
    font-weight: 700;
    color: #0d2137;
    font-size: 15px;
    min-width: 80px;
}

.vt-auth__captcha-input {
    max-width: 140px;
}

.vt-auth__captcha-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #fff;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    color: #4a5b6f;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.vt-auth__captcha-refresh:hover {
    border-color: #e55b4d;
    color: #e55b4d;
}

.vt-auth__terms {
    text-align: center;
    color: #5a6b7d;
    font-size: 13px;
    line-height: 1.55;
    margin: 4px 0 8px;
}

.vt-auth__terms a {
    color: #e55b4d;
    font-weight: 600;
    text-decoration: none;
}

.vt-auth__terms a:hover {
    text-decoration: underline;
}

/* --- intl-tel-input override for register page --- */
.vt-auth .iti.iti--allow-dropdown {
    width: 100%;
}

.vt-auth .iti.iti--allow-dropdown input {
    width: 100%;
}

/* --- validation error messages --- */
.vt-auth label.error {
    color: #d9342b;
    font-size: 12px;
    font-weight: 500;
    margin: 4px 0 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .vt-auth {
        padding: 40px 12px 56px;
    }

    .vt-auth__card {
        padding: 32px 24px 28px;
        border-radius: 12px;
    }

    .vt-auth__title {
        font-size: 24px;
    }

    .vt-auth__form--grid {
        grid-template-columns: 1fr;
    }

    .vt-auth__usertype {
        gap: 14px 22px;
    }
}

/* ============================================================
   Sticky header: hide top coral bar on scroll, float the main bar
   ============================================================ */
header.vt-header {
    position: relative;
    z-index: 1000;
}

.vt-header__top {
    position: relative;
    z-index: 20;
    overflow: visible;
    max-height: 200px;
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.3s ease;
    transform: translateY(0);
    opacity: 1;
    will-change: max-height, transform, opacity;
}

.vt-header__main {
    position: relative;
    z-index: 10;
    transition: box-shadow 0.25s ease;
}

.vt-clients__menu.dropdown-menu {
    z-index: 1050;
}

/* Spacer keeps page content from jumping when main bar becomes fixed */
.vt-header__spacer {
    display: none;
}

/* Scrolled state */
header.vt-header.is-scrolled .vt-header__top {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

header.vt-header.is-scrolled .vt-header__main {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 6px 22px -10px rgba(13, 33, 55, 0.25);
    animation: vtHeaderSlideDown 0.3s ease both;
}

header.vt-header.is-scrolled + .vt-header__spacer,
header.vt-header.is-scrolled .vt-header__spacer {
    display: block;
}

@keyframes vtHeaderSlideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .vt-header__top,
    .vt-header__main {
        transition: none;
    }
    header.vt-header.is-scrolled .vt-header__main {
        animation: none;
    }
}
