/* ==========================================================
   AVH AUTH
   MyListing Authentication Styles
   ========================================================== */


/* ==========================================================
   1. Authentication Steps
   ========================================================== */

.avh-phone-login {
    margin-top: 28px;
}

#avh-phone-login-box {
    margin-top: 24px;
    animation: avhFade .25s ease;
}

#avh-phone-step,
#avh-otp-box {
    animation: avhFade .25s ease;
}


/* ==========================================================
   2. OR Divider
   ========================================================== */

.avh-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 28px 0;
    color: #888;
    font-size: 14px;
    font-weight: 500;
}

.avh-divider::before,
.avh-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e6e6e6;
}

.avh-divider span {
    padding: 0 18px;
}


/* ==========================================================
   3. Authentication Buttons
   ========================================================== */

#avh-phone-auth-btn,
#avh-send-otp,
#avh-verify-otp {
    width: 100%;
}

#avh-phone-auth-btn {
    margin-bottom: 20px;
}

#avh-send-otp {
    margin-top: 18px;
}

#avh-verify-otp {
    margin-top: 20px;
    transition: opacity .25s ease, filter .25s ease;
}

#avh-verify-otp:disabled {
    opacity: .55;
    cursor: not-allowed;
    filter: grayscale(.15);
}


/* ==========================================================
   4. Form Groups & Labels
   ========================================================== */

#avh-phone-step .form-group {
    margin-bottom: 0;
}

#avh-otp-box .form-group {
    margin-bottom: 22px;
}

.avh-phone-label {
    display: block;
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
}


/* ==========================================================
   5. Phone Number Input
   ========================================================== */

.avh-phone-input {
    display: flex;
    align-items: center;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color .25s ease, box-shadow .25s ease;
}

.avh-phone-input:focus-within {
    border-color: #1e73be;
    box-shadow: 0 0 0 3px rgba(30, 115, 190, .10);
}

.avh-country-code {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 82px;
    height: 50px;
    padding: 0 16px;
    background: #f8f8f8;
    border-right: 1px solid #e5e5e5;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

#avh-phone {
    flex: 1;
    min-width: 0;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 16px;
    border: none !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none !important;
}

#avh-phone:focus {
    outline: none;
    box-shadow: none !important;
}

#avh-phone::placeholder {
    color: #b9b9b9;
    opacity: 1;
}


/* ==========================================================
   6. OTP Status Notice
   ========================================================== */

#avh-otp-notice {
    display: none;
    margin: 18px 0;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.5;
}

#avh-otp-notice.success {
    display: block;
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

#avh-otp-notice.error {
    display: block;
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

/* ==========================================================
   7. OTP Step — Target Design
   ========================================================== */

.avh-otp-step {
    width: 100%;
}


/* ==========================================================
   8. OTP Header
   ========================================================== */

.avh-otp-header {
    margin-bottom: 32px;
    text-align: center;
}

.avh-otp-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #f1edff;
    color: #5b2cff;
    font-size: 32px;
}

.avh-otp-heading {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.avh-otp-description {
    margin: 0 0 5px;
    color: #7b8190;
    font-size: 14px;
    line-height: 1.5;
}

.avh-otp-phone-number {
    color: #5b2cff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}


/* ==========================================================
   9. OTP Input Boxes
   ========================================================== */

.avh-otp-section {
    margin-top: 0;
}

.avh-otp-boxes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.avh-otp-boxes input,
.avh-otp-digit {
    flex: 0 0 52px;
    width: 52px;
    min-width: 0;
    max-width: 52px;
    height: 58px;
    margin: 0;
    padding: 0;
    border: 1px solid #d9dce5;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
    color: #1f2937;
    font-size: 22px;
    font-weight: 700;
    line-height: 58px;
    text-align: center;
    transition:
        border-color .25s ease,
        box-shadow .25s ease;
}

.avh-otp-boxes input:focus,
.avh-otp-digit:focus {
    border-color: #5b2cff;
    box-shadow: 0 0 0 3px rgba(91, 44, 255, .10);
    outline: none;
}


/* ==========================================================
   10. OTP Countdown & Resend
   ========================================================== */

.avh-otp-timer {
    margin-top: 26px;
    color: #555b6d;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

#avh-countdown {
    color: #5b2cff;
    font-weight: 700;
}

.avh-resend-wrapper {
    display: none;
    margin-top: 26px;
    text-align: center;
}

.avh-resend-wrapper a {
    color: #5b2cff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity .2s ease;
}

.avh-resend-wrapper a:hover,
.avh-resend-wrapper a:focus {
    opacity: .8;
    text-decoration: underline;
}


/* ==========================================================
   11. Verify OTP Button
   ========================================================== */

#avh-verify-otp {
    width: 100%;
    min-height: 52px;
    margin-top: 26px;
    border-radius: 8px;
    transition:
        opacity .25s ease,
        filter .25s ease;
}

#avh-verify-otp:disabled {
    opacity: .55;
    cursor: not-allowed;
    filter: grayscale(.15);
}


/* ==========================================================
   12. Change Phone Number
   ========================================================== */

.avh-change-phone-wrap {
    margin-top: 20px;
    text-align: center;
}

#avh-change-phone-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 0;
    padding: 4px;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: #5b2cff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

#avh-change-phone-inline .mi {
    font-size: 17px;
}

#avh-change-phone-inline:hover,
#avh-change-phone-inline:focus {
    color: #5b2cff;
    background: transparent;
    box-shadow: none;
    text-decoration: underline;
    outline: none;
}

/* ==========================================================
   12A. OTP Privacy Message
   ========================================================== */

.avh-otp-privacy {
    margin-top: 22px;
}

/* ==========================================================
   13. Password Login Information
   ========================================================== */

.form-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    margin-bottom: 28px;
}

.form-info label {
    font-size: 14px;
}

.form-info .forgot-password {
    margin: 0 !important;
}

.form-info .forgot-password a {
    color: #666;
    font-size: 14px;
    text-decoration: none;
}

.form-info .forgot-password a:hover {
    color: #1e73be;
}


/* ==========================================================
   14. Helper Classes
   ========================================================== */

.avh-hidden {
    display: none !important;
}

.avh-text-center {
    text-align: center;
}

.avh-mt-10 {
    margin-top: 10px;
}

.avh-mt-20 {
    margin-top: 20px;
}

.avh-mb-20 {
    margin-bottom: 20px;
}


/* ==========================================================
   15. Loading Spinner
   ========================================================== */

.mi.spin {
    display: inline-block;
    animation: avhSpin .8s linear infinite;
}

@keyframes avhSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* ==========================================================
   16. Fade Animation
   ========================================================== */

@keyframes avhFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==========================================================
   17. Premium Authentication Page
   ========================================================== */

.avh-auth-page {
    width: 100%;
    min-height: calc(100vh - 90px);
    padding: 28px;
    background: #f5f6f8;
}

.avh-auth-shell {
    display: flex;
    width: 100%;
    max-width: 1400px;
    min-height: 760px;
    margin: 0 auto;
    background: #fff;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(15, 23, 42, .12);
}


/* ==========================================================
   18. Branding Panel
   ========================================================== */

.avh-branding-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38%;
    width: 38%;
    min-width: 0;
    padding: 60px 45px;
    overflow: hidden;
    background:
        linear-gradient(
            145deg,
            #5b2cff 0%,
            #6c3cff 48%,
            #824cff 100%
        );
    color: #fff;
}

.avh-branding-panel::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}

.avh-branding-panel::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.avh-branding-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    text-align: center;
}

.avh-logo-wrap {
    margin-bottom: 30px;
}

.avh-auth-logo {
    display: block;
    width: auto;
    max-width: 150px;
    max-height: 90px;
    margin: 0 auto;
    object-fit: contain;
}

.avh-auth-site-name {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.avh-brand-title {
    margin: 0 0 16px;
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.avh-brand-description {
    max-width: 300px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .84);
    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   19. Authentication Main Panel
   ========================================================== */

.avh-auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    width: 62%;
    min-width: 0;
    padding: 60px;
    background: #fff;
}

.avh-auth-main-inner {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.avh-auth-main .auth-notices:empty {
    display: none;
}


/* ==========================================================
   20. Authentication Tabs
   ========================================================== */

.avh-auth-tabs {
    display: flex;
    width: 100%;
    margin: 0 0 36px;
    padding: 0;
    border-bottom: 1px solid #e8e8e8;
    list-style: none;
}

.avh-auth-tabs li {
    position: relative;
    flex: 1;
    margin: 0;
    padding: 0;
    text-align: center;
}

.avh-auth-tabs li h3 {
    margin: 0;
    padding: 0;
}

.avh-auth-tabs li a {
    position: relative;
    display: block;
    padding: 16px 12px;
    color: #9a9a9a;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: color .25s ease;
}

.avh-auth-tabs li a:hover {
    color: #5b2cff;
}

.avh-auth-tabs li.active a {
    color: #5b2cff;
}

.avh-auth-tabs li.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #5b2cff;
}


/* ==========================================================
   21. Authentication Form Panels
   ========================================================== */

.avh-auth-form-panel {
    width: 100%;
    margin: 0;
    padding: 0;
}

.avh-auth-form-panel.hide {
    display: none;
}

.avh-auth-form-panel .avh-auth-wrapper {
    width: 100%;
}

.avh-auth-main .form-box {
    box-shadow: none;
}


/* ==========================================================
   22. Tablet / iPad Layout
   ========================================================== */

@media (max-width: 1199px) {

    .avh-auth-page {
        padding: 24px;
    }

    .avh-auth-shell {
        min-height: 680px;
    }

    .avh-branding-panel {
        flex-basis: 36%;
        width: 36%;
        padding: 50px 30px;
    }

    .avh-auth-main {
        width: 64%;
        padding: 50px 40px;
    }

    .avh-auth-main-inner {
        max-width: 480px;
    }

    .avh-brand-title {
        font-size: 31px;
    }

    .avh-brand-description {
        font-size: 15px;
    }

}


/* ==========================================================
   23. Mobile / Narrow Tablet Layout
   Branding remains visible above authentication form.
   ========================================================== */

@media (max-width: 767px) {

    .avh-auth-page {
        min-height: auto;
        padding: 0;
        background: #fff;
    }

    .avh-auth-shell {
        display: block;
        min-height: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .avh-branding-panel {
        display: flex;
        width: 100%;
        min-height: 300px;
        padding: 42px 24px;
    }

    .avh-branding-inner {
        max-width: 320px;
    }

    .avh-logo-wrap {
        margin-bottom: 22px;
    }

    .avh-auth-logo {
        max-width: 125px;
        max-height: 72px;
    }

    .avh-auth-site-name {
        font-size: 26px;
    }

    .avh-brand-title {
        margin-bottom: 12px;
        font-size: 29px;
    }

    .avh-brand-description {
        max-width: 270px;
        font-size: 15px;
        line-height: 1.6;
    }

    .avh-auth-main {
        display: block;
        width: 100%;
        padding: 34px 24px 44px;
    }

    .avh-auth-main-inner {
        max-width: 520px;
    }

    .avh-auth-tabs {
        margin-bottom: 30px;
    }

    .avh-auth-tabs li a {
        padding: 14px 10px;
        font-size: 15px;
    }

    .avh-divider {
        margin: 22px 0;
    }

    .avh-country-code {
        min-width: 72px;
        padding: 0 12px;
        font-size: 14px;
    }

    #avh-phone {
        font-size: 16px;
    }

    .avh-otp-info {
        padding: 16px;
    }

    .avh-otp-info-icon {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }

    .avh-otp-boxes {
        gap: 8px;
    }

    .avh-otp-boxes input,
    .avh-otp-digit {
        width: 48px;
        max-width: 48px;
        height: 54px;
        font-size: 21px;
        line-height: 54px;
    }

}


/* ==========================================================
   24. Small Mobile Layout
   ========================================================== */

@media (max-width: 480px) {

    .avh-branding-panel {
        min-height: 270px;
        padding: 36px 20px;
    }

    .avh-auth-logo {
        max-width: 115px;
    }

    .avh-brand-title {
        font-size: 27px;
    }

    .avh-brand-description {
        font-size: 14px;
    }

    .avh-auth-main {
        padding: 30px 20px 40px;
    }

    .avh-phone-login {
        margin-top: 22px;
    }

    .avh-divider {
        font-size: 13px;
    }

    .avh-divider span {
        padding: 0 12px;
    }

    #avh-phone-auth-btn,
    #avh-send-otp,
    #avh-verify-otp {
        min-height: 48px;
    }

    .avh-phone-display {
        align-items: center;
    }

    .avh-phone-display span {
        min-width: 0;
        font-size: 15px;
    }

    .avh-otp-boxes {
        gap: 6px;
    }

    .avh-otp-boxes input,
    .avh-otp-digit {
        width: 44px;
        max-width: 44px;
        height: 52px;
        font-size: 20px;
        line-height: 52px;
    }

    .avh-back-login {
        margin-top: 22px;
    }

}

/* ==========================================================
   16A. Phone Step — Target Design
   ========================================================== */

.avh-phone-step-intro {
    margin-bottom: 30px;
    text-align: center;
}

.avh-phone-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: #f1edff;
    color: #5b2cff;
    font-size: 30px;
}

.avh-phone-step-title {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.avh-phone-step-description {
    margin: 0;
    color: #7b8190;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.55;
}

.avh-phone-form-group {
    width: 100%;
    margin-bottom: 0;
}

.avh-phone-label {
    display: block;
    margin: 0 0 9px;
    color: #3f4652;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.avh-phone-input {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 50px;
    border: 1px solid #d9dce5;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.avh-phone-input:focus-within {
    border-color: #5b2cff;
    box-shadow: 0 0 0 3px rgba(91, 44, 255, .10);
}

.avh-country-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    min-width: 82px;
    height: 50px;
    padding: 0 14px;
    border-right: 1px solid #e5e7eb;
    background: #f8f9fa;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.avh-country-flag {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
}

.avh-country-prefix {
    flex-shrink: 0;
    line-height: 1;
}

#avh-phone {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0 15px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #1f2937;
    font-size: 15px;
    font-weight: 400;
}

#avh-phone:focus {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

#avh-phone::placeholder {
    color: #a5a9b2;
    opacity: 1;
}

#avh-send-otp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 50px;
    margin-top: 18px;
    border-radius: 8px;
}

#avh-send-otp .mi {
    flex-shrink: 0;
    margin: 0;
    font-size: 18px;
    line-height: 1;
}

.avh-phone-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 18px;
    color: #9a9faa;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
    text-align: left;
}

.avh-phone-privacy .mi {
    flex-shrink: 0;
    color: #a4a8b1;
    font-size: 17px;
    line-height: 1;
}


/* ==========================================================
   Phone Step — Mobile
   ========================================================== */

@media (max-width: 767px) {

    .avh-phone-step-intro {
        margin-bottom: 22px;
    }

    .avh-phone-step-icon {
        width: 54px;
        height: 54px;
        margin-bottom: 13px;
        border-radius: 14px;
        font-size: 26px;
    }

    .avh-phone-step-title {
        margin-bottom: 6px;
        font-size: 21px;
    }

    .avh-phone-step-description {
        font-size: 13px;
        line-height: 1.45;
    }

    .avh-phone-label {
        margin-bottom: 7px;
        font-size: 13px;
    }

    .avh-country-code {
        min-width: 76px;
        height: 48px;
        padding: 0 11px;
        font-size: 13px;
    }

    .avh-phone-input {
        min-height: 48px;
    }

    #avh-phone {
        height: 48px;
        padding: 0 13px;
        font-size: 16px;
    }

    #avh-send-otp {
        min-height: 48px;
        margin-top: 14px;
    }

    .avh-phone-privacy {
        margin-top: 14px;
        font-size: 11px;
    }

}

/* ==========================================================
   Mobile Viewport Optimization
   Target Mobile Authentication Design
   ========================================================== */

@media (max-width: 767px) {

    /* Target Design — Mobile Hero */

    .avh-branding-panel {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 230px;
        padding: 40px 24px 55px;
        overflow: hidden;
        background:
            linear-gradient(
                135deg,
                #f4efff 0%,
                #eee8ff 50%,
                #f7f4ff 100%
            );
        color: #17142f;
    }

    .avh-branding-panel::before {
        content: "";
        position: absolute;
        top: -80px;
        right: -90px;
        width: 230px;
        height: 230px;
        border-radius: 50%;
        background: rgba(124, 58, 237, .05);
    }

    .avh-branding-panel::after {
        content: "";
        position: absolute;
        bottom: -90px;
        left: -80px;
        width: 210px;
        height: 210px;
        border-radius: 50%;
        background: rgba(124, 58, 237, .04);
    }

    .avh-branding-inner {
        position: relative;
        z-index: 2;
        width: 100%;
        max-width: 360px;
        text-align: center;
    }

    .avh-logo-wrap {
        display: none;
    }

    .avh-auth-logo,
    .avh-auth-site-name {
        display: none;
    }

    .avh-brand-title {
        margin: 0 0 10px;
        color: #17142f;
        font-size: 32px;
        font-weight: 700;
        line-height: 1.2;
    }

    .avh-brand-description {
        max-width: 300px;
        margin: 0 auto;
        color: #656174;
        font-size: 15px;
        line-height: 1.5;
    }

    /* Main authentication area */

    .avh-auth-main {
        padding: 16px 22px 26px;
    }

    .avh-auth-main-inner {
        max-width: 480px;
    }


    /* Sign In / Register tabs */

    .avh-auth-tabs {
        margin-bottom: 18px;
    }

    .avh-auth-tabs li a {
        padding: 10px 8px;
        font-size: 15px;
    }


    /* Phone step intro */

    .avh-phone-step-intro {
        margin-bottom: 18px;
    }

    .avh-phone-step-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 10px;
        border-radius: 14px;
        font-size: 23px;
    }

    .avh-phone-step-title {
        margin-bottom: 5px;
        font-size: 21px;
        line-height: 1.25;
    }

    .avh-phone-step-description {
        font-size: 13px;
        line-height: 1.4;
    }


    /* Phone field */

    .avh-phone-label {
        margin-bottom: 6px;
        font-size: 13px;
    }

    .avh-country-code {
        height: 48px;
    }

    #avh-phone {
        height: 48px;
    }


    /* Send OTP button */

    #avh-send-otp {
        min-height: 48px;
        margin-top: 13px;
    }


    /* Privacy reassurance */

    .avh-phone-privacy {
        margin-top: 12px;
        font-size: 11px;
        line-height: 1.4;
    }

    .avh-phone-privacy .mi {
        font-size: 16px;
    }

}

/* ==========================================================
   Extra Optimization for Short Mobile Screens
   ========================================================== */

@media (max-width: 480px) and (max-height: 750px) {

    .avh-branding-panel {
        min-height: 200px;
        padding: 32px 20px 48px;
    }

    .avh-brand-title {
        margin-bottom: 8px;
        font-size: 28px;
    }

    .avh-brand-description {
        font-size: 14px;
        line-height: 1.45;
    }

    .avh-auth-main {
        padding-top: 14px;
        padding-bottom: 20px;
    }

    .avh-auth-tabs {
        margin-bottom: 14px;
    }

    .avh-auth-tabs li a {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .avh-phone-step-intro {
        margin-bottom: 14px;
    }

    .avh-phone-step-icon {
        width: 44px;
        height: 44px;
        margin-bottom: 8px;
        border-radius: 12px;
        font-size: 21px;
    }

    .avh-phone-step-title {
        margin-bottom: 4px;
        font-size: 19px;
    }

    .avh-phone-step-description {
        font-size: 12px;
    }

    #avh-send-otp {
        margin-top: 11px;
    }

    .avh-phone-privacy {
        margin-top: 10px;
    }

}

/* ==========================================================
   Mobile OTP Step Optimization
   ========================================================== */

@media (max-width: 767px) {

    .avh-otp-header {
        margin-bottom: 20px;
    }

    .avh-otp-header-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 12px;
        font-size: 25px;
    }

    .avh-otp-heading {
        margin-bottom: 5px;
        font-size: 21px;
    }

    .avh-otp-description {
        margin-bottom: 3px;
        font-size: 13px;
    }

    .avh-otp-phone-number {
        font-size: 15px;
    }

    .avh-otp-boxes {
        gap: 8px;
    }

    .avh-otp-timer {
        margin-top: 16px;
        font-size: 13px;
    }

    #avh-verify-otp {
        min-height: 48px;
        margin-top: 16px;
    }

    .avh-change-phone-wrap {
        margin-top: 13px;
    }

    .avh-otp-privacy {
        margin-top: 13px;
    }

}


/* ==========================================================
   Short Mobile OTP Optimization
   ========================================================== */

@media (max-width: 480px) and (max-height: 750px) {

    .avh-otp-header {
        margin-bottom: 15px;
    }

    .avh-otp-header-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 8px;
        font-size: 22px;
    }

    .avh-otp-heading {
        font-size: 20px;
    }

    .avh-otp-boxes input,
    .avh-otp-digit {
        height: 48px;
        line-height: 48px;
    }

    .avh-otp-timer {
        margin-top: 12px;
    }

    #avh-verify-otp {
        margin-top: 12px;
    }

    .avh-change-phone-wrap,
    .avh-otp-privacy {
        margin-top: 10px;
    }

}

/* ==========================================================
   Account Details — Mobile Number
   ========================================================== */

.avh-account-phone {
    width: 100%;
}

.avh-account-phone .form-group {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 0 22px;
    padding: 0;
}


/* ==========================================================
   Account Details — Label
   ========================================================== */

.avh-account-phone .avh-account-phone-label {
    position: static !important;
    display: block !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    transform: none !important;
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    font-weight: 400;
    line-height: 1.4 !important;
}


/* ==========================================================
   Current Verified Phone Card
   ========================================================== */

.avh-account-current-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 50px;
    padding: 10px 14px;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    background: #fff;
}

.avh-account-current-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.avh-account-phone-number {
    display: inline-block;
    margin: 0;
    padding: 0;
    color: #333;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}


/* ==========================================================
   Verified Badge
   ========================================================== */

.avh-account-phone-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: auto;
    margin: 0;
    padding: 3px 8px;
    border-radius: 20px;
    background: #eef9f1;
    color: #218838 !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.avh-account-phone-status .mi {
    color: #28a745 !important;
    font-size: 15px;
    line-height: 1;
}


/* ==========================================================
   Main Text Actions
   Change / Send OTP / Verify & Update
   ========================================================== */

.avh-account-text-action {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex: 0 0 auto;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 4px 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #5b2cff !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.avh-account-text-action:hover,
.avh-account-text-action:focus {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #5b2cff !important;
    text-decoration: underline !important;
    outline: none !important;
}

.avh-account-text-action .mi {
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
}

.avh-account-text-action:disabled {
    color: #a8a8a8 !important;
    opacity: .65;
    cursor: not-allowed;
    text-decoration: none !important;
}


/* ==========================================================
   Change Phone Flow
   ========================================================== */

#avh-account-phone-new,
#avh-account-phone-otp {
    width: 100%;
    margin-top: 4px;
}

.avh-account-phone-helper,
.avh-account-otp-description {
    margin: 0 0 12px;
    color: #7b8190;
    font-size: 13px;
    line-height: 1.5;
}


/* ==========================================================
   New Phone Row
   ========================================================== */

.avh-account-new-phone-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}


/* ==========================================================
   New Phone Field
   ========================================================== */

.avh-account-new-phone-field {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    width: 0;
    height: 48px;
    overflow: hidden;
    border: 1px solid #d9dce5;
    border-radius: 8px;
    background: #fff;
    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.avh-account-new-phone-field:focus-within {
    border-color: #5b2cff;
    box-shadow: 0 0 0 3px rgba(91, 44, 255, .10);
}


/* ==========================================================
   Country Code
   ========================================================== */

.avh-account-country-code {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    min-width: 72px;
    height: 100%;
    padding: 0 10px;
    border-right: 1px solid #e5e7eb;
    background: #f8f9fa;
    color: #333;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.avh-account-country-flag {
    flex-shrink: 0;
    font-size: 14px;
    line-height: 1;
}

.avh-account-country-prefix {
    flex-shrink: 0;
    line-height: 1;
}


/* ==========================================================
   New Phone Input
   ========================================================== */

#avh-account-new-phone.avh-account-new-phone-input {
    display: block !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: 0 !important;
    height: 46px !important;
    margin: 0 !important;
    padding: 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #333 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: normal !important;
    text-align: left !important;
}

#avh-account-new-phone.avh-account-new-phone-input:focus {
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

#avh-account-new-phone.avh-account-new-phone-input::placeholder {
    color: #9a9faa !important;
    font-size: 13px !important;
    opacity: 1;
}


/* ==========================================================
   Send OTP Action
   ========================================================== */

#avh-account-send-otp {
    flex: 0 0 auto;
}


/* ==========================================================
   Secondary Actions
   Cancel / Use a Different Number
   ========================================================== */

.avh-account-secondary-row {
    margin-top: 11px;
}

.avh-account-secondary-action {
    display: inline-block !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 2px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #6b7280 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
    text-transform: none !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.avh-account-secondary-action:hover,
.avh-account-secondary-action:focus {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #5b2cff !important;
    text-decoration: underline !important;
    outline: none !important;
}


/* ==========================================================
   OTP + Verify Row
   ========================================================== */

.avh-account-verify-row {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}


/* ==========================================================
   OTP Boxes
   ========================================================== */

.avh-account-otp-boxes {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    margin: 0;
}

.avh-account-otp-digit {
    flex: 0 0 44px;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d9dce5 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #1f2937 !important;
    font-family: inherit !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 48px !important;
    text-align: center !important;
}

.avh-account-otp-digit:focus {
    border-color: #5b2cff !important;
    box-shadow: 0 0 0 3px rgba(91, 44, 255, .10) !important;
    outline: none !important;
}


/* ==========================================================
   Verify & Update Action
   ========================================================== */

#avh-account-verify-phone {
    flex: 0 0 auto;
}

#avh-account-verify-phone .mi {
    font-size: 16px;
}


/* ==========================================================
   Account Phone Notice
   ========================================================== */

.avh-account-phone-notice {
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.5;
}

.avh-account-phone-notice.success {
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.avh-account-phone-notice.error {
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}


/* ==========================================================
   Account Phone — Tablet
   ========================================================== */

@media (max-width: 900px) {

    .avh-account-new-phone-row,
    .avh-account-verify-row {
        gap: 12px;
    }

    .avh-account-country-code {
        min-width: 68px;
        padding: 0 8px;
        gap: 5px;
    }

    #avh-account-new-phone.avh-account-new-phone-input {
        padding: 0 10px !important;
        font-size: 14px !important;
    }

    #avh-account-new-phone.avh-account-new-phone-input::placeholder {
        font-size: 12px !important;
    }

    .avh-account-otp-boxes {
        gap: 6px;
    }

    .avh-account-otp-digit {
        flex-basis: 42px;
        width: 42px !important;
        min-width: 42px !important;
        max-width: 42px !important;
        height: 46px !important;
        line-height: 46px !important;
    }

}


/* ==========================================================
   Account Phone — Mobile
   ========================================================== */

@media (max-width: 600px) {

    .avh-account-current-card {
        gap: 10px;
        padding: 10px 12px;
    }

    .avh-account-current-info {
        gap: 7px;
    }

    .avh-account-phone-number {
        font-size: 14px;
    }


    /* New Phone Row */

    .avh-account-new-phone-row {
        gap: 8px;
    }

    .avh-account-new-phone-field {
        flex: 1 1 0;
        min-width: 0;
        width: 0;
        height: 46px;
    }


    /* Compact Country Code */

    .avh-account-country-code {
        flex: 0 0 58px;
        min-width: 58px;
        width: 58px;
        padding: 0 4px;
        gap: 3px;
        font-size: 11px;
    }

    .avh-account-country-flag {
        font-size: 12px;
    }

    .avh-account-country-prefix {
        font-size: 11px;
    }


    /* Maximize Phone Input Space */

    #avh-account-new-phone.avh-account-new-phone-input {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        width: 0 !important;
        height: 44px !important;
        padding: 0 5px !important;
        font-size: 14px !important;
    }

    #avh-account-new-phone.avh-account-new-phone-input::placeholder {
        font-size: 14px !important;
    }


    /* Send OTP */

    #avh-account-send-otp {
        padding: 2px 0 !important;
        font-size: 12px !important;
    }


    /* OTP + Verify Row */

    .avh-account-verify-row {
        gap: 9px;
    }

    .avh-account-otp-boxes {
        gap: 5px;
    }

    .avh-account-otp-digit {
        flex: 0 0 38px;
        width: 38px !important;
        min-width: 38px !important;
        max-width: 38px !important;
        height: 44px !important;
        line-height: 44px !important;
        border-radius: 7px !important;
        font-size: 17px !important;
    }


    /* Verify & Update */

    #avh-account-verify-phone {
        gap: 4px;
        padding: 2px 0 !important;
        font-size: 11px !important;
    }

    #avh-account-verify-phone .mi {
        font-size: 14px;
    }

}


/* ==========================================================
   Account Phone — Very Small Mobile
   ========================================================== */

@media (max-width: 380px) {

    .avh-account-new-phone-row {
        gap: 6px;
    }

    .avh-account-country-code {
        flex-basis: 54px;
        min-width: 54px;
        width: 54px;
        padding: 0 3px;
        gap: 2px;
        font-size: 10px;
    }

    .avh-account-country-flag {
        font-size: 11px;
    }

    .avh-account-country-prefix {
        font-size: 10px;
    }

    #avh-account-new-phone.avh-account-new-phone-input {
        padding: 0 3px !important;
        font-size: 12px !important;
    }

    #avh-account-new-phone.avh-account-new-phone-input::placeholder {
        font-size: 9px !important;
    }

    #avh-account-send-otp {
        font-size: 11px !important;
    }


    /* OTP */

    .avh-account-verify-row {
        gap: 7px;
    }

    .avh-account-otp-boxes {
        gap: 4px;
    }

    .avh-account-otp-digit {
        flex: 0 0 34px;
        width: 34px !important;
        min-width: 34px !important;
        max-width: 34px !important;
        height: 42px !important;
        line-height: 42px !important;
        font-size: 16px !important;
    }

    #avh-account-verify-phone {
        gap: 3px;
        font-size: 10px !important;
    }

    #avh-account-verify-phone .mi {
        font-size: 13px;
    }

}

/* ==========================================================
   END — Account Details Mobile Number
   ========================================================== */
   
   /* ==========================================================
   Registration Details — Complete Your Profile
   ========================================================== */

#avh-register-details {
    width: 100%;
    animation: avhFade .25s ease;
}


/* ==========================================================
   Verified Mobile Number
   ========================================================== */

.avh-register-verified-phone {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin-bottom: 26px;
    padding: 15px 17px;
    border: 1px solid #e6e1ff;
    border-radius: 10px;
    background: #f8f6ff;
}

.avh-register-verified-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ece7ff;
    color: #5b2cff;
}

.avh-register-verified-icon .mi {
    font-size: 21px;
    line-height: 1;
}

.avh-register-verified-content {
    min-width: 0;
}

.avh-register-verified-label {
    margin-bottom: 3px;
    color: #7b8190;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.avh-register-verified-number {
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}


/* ==========================================================
   Complete Profile Intro
   ========================================================== */

.avh-register-intro {
    margin-bottom: 28px;
    text-align: center;
}

.avh-register-title {
    margin: 0 0 8px;
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.avh-register-description {
    margin: 0;
    color: #7b8190;
    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================================
   Registration Role Selection
   ========================================================== */

.avh-register-role-selection {
    margin-bottom: 24px;
}

.avh-register-role-selection .choose-role-text {
    margin: 0 0 10px;
    color: #3f4652;
    font-size: 14px;
    font-weight: 600;
}

.avh-register-role-selection .role-tabs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}


/* ==========================================================
   Dynamic MyListing Registration Fields
   ========================================================== */

.avh-register-role-fields {
    width: 100%;
}

.avh-register-field {
    width: 100%;
}

.avh-register-role-fields .form-group {
    margin-bottom: 22px;
}


/* ==========================================================
   Terms & Privacy Agreement
   ========================================================== */

.avh-register-legal {
    width: 100%;
    margin: 5px 0 22px;
}

.avh-register-legal-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin: 0;
    color: #6b7280;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
    cursor: pointer;
}

.avh-register-legal-label input[type="checkbox"] {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    padding: 0;
    cursor: pointer;
    accent-color: #5b2cff;
}

.avh-register-legal-text {
    flex: 1;
    min-width: 0;
}

.avh-register-legal-text a {
    color: #5b2cff;
    font-weight: 600;
    text-decoration: none;
}

.avh-register-legal-text a:hover,
.avh-register-legal-text a:focus {
    color: #5b2cff;
    text-decoration: underline;
}


/* ==========================================================
   Create Account Button
   ========================================================== */

#avh-create-account.avh-create-account-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin: 0;
    border-radius: 8px;
}

.avh-create-account-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: auto;
}

.avh-create-account-content .mi {
    flex: 0 0 auto;
    margin: 0;
    font-size: 19px;
    line-height: 1;
}

.avh-create-account-content span {
    line-height: 1.2;
}


/* ==========================================================
   Registration Privacy Reassurance
   ========================================================== */

.avh-register-privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 17px;
    color: #9a9faa;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

.avh-register-privacy-note .mi {
    flex: 0 0 auto;
    color: #a4a8b1;
    font-size: 17px;
}


/* ==========================================================
   Complete Profile — Mobile
   ========================================================== */

@media (max-width: 767px) {

    /*
     * The branding panel remains controlled by the existing
     * mobile authentication layout above.
     * These rules only optimize the profile-completion step.
     */

    .avh-register-verified-phone {
        gap: 11px;
        margin-bottom: 20px;
        padding: 12px 14px;
        border-radius: 9px;
    }

    .avh-register-verified-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .avh-register-verified-icon .mi {
        font-size: 19px;
    }

    .avh-register-verified-label {
        margin-bottom: 2px;
        font-size: 11px;
    }

    .avh-register-verified-number {
        font-size: 14px;
    }


    /* Profile intro */

    .avh-register-intro {
        margin-bottom: 22px;
        text-align: left;
    }

    .avh-register-title {
        margin-bottom: 6px;
        font-size: 22px;
    }

    .avh-register-description {
        font-size: 13px;
        line-height: 1.5;
    }


    /* Dynamic fields */

    .avh-register-role-fields .form-group {
        margin-bottom: 18px;
    }


    /* Role selection */

    .avh-register-role-selection {
        margin-bottom: 20px;
    }


    /* Terms */

    .avh-register-legal {
        margin-top: 3px;
        margin-bottom: 18px;
    }

    .avh-register-legal-label {
        gap: 9px;
        font-size: 11px;
        line-height: 1.5;
    }

    .avh-register-legal-label input[type="checkbox"] {
        flex-basis: 16px;
        width: 16px;
        height: 16px;
    }


    /* Create Account */

    #avh-create-account.avh-create-account-button {
        min-height: 48px;
    }

    .avh-create-account-content {
        gap: 7px;
    }

    .avh-create-account-content .mi {
        font-size: 18px;
    }


    /* Privacy note */

    .avh-register-privacy-note {
        margin-top: 13px;
        font-size: 11px;
    }

}


/* ==========================================================
   Complete Profile — Small / Short Mobile
   ========================================================== */

@media (max-width: 480px) {

    .avh-register-verified-phone {
        margin-bottom: 18px;
    }

    .avh-register-intro {
        margin-bottom: 19px;
    }

    .avh-register-title {
        font-size: 21px;
    }

    .avh-register-description {
        font-size: 12px;
    }

    .avh-register-role-fields .form-group {
        margin-bottom: 16px;
    }

    .avh-register-legal {
        margin-bottom: 16px;
    }

}

/* ==========================================================
   AVH AUTH — Registration Details
   Premium Account Creation Step
   ========================================================== */

#avh-register-details {
    width: 100%;
    animation: avhFade .25s ease;
}


/* ==========================================================
   Registration Progress
   ========================================================== */

#avh-register-details .avh-register-progress {
    display: flex;
    align-items: flex-start;
    width: 100%;
    margin: 0 0 34px;
}

#avh-register-details .avh-register-progress-step {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    min-width: 72px;
    text-align: center;
}

#avh-register-details .avh-register-progress-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 auto 8px;
    border: 2px solid #d9dce5;
    border-radius: 50%;
    background: #fff;
    color: #9a9faa;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

#avh-register-details .avh-register-progress-circle .mi {
    font-size: 18px;
    line-height: 1;
}

#avh-register-details .avh-register-progress-label {
    color: #9a9faa;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}


/* Completed Step */

#avh-register-details .avh-register-progress-step.is-complete
.avh-register-progress-circle {
    border-color: #5b2cff;
    background: #5b2cff;
    color: #fff;
}

#avh-register-details .avh-register-progress-step.is-complete
.avh-register-progress-label {
    color: #5b2cff;
}


/* Active Step */

#avh-register-details .avh-register-progress-step.is-active
.avh-register-progress-circle {
    border-color: #5b2cff;
    background: #f1edff;
    color: #5b2cff;
}

#avh-register-details .avh-register-progress-step.is-active
.avh-register-progress-label {
    color: #5b2cff;
    font-weight: 700;
}


/* Progress Connecting Lines */

#avh-register-details .avh-register-progress-line {
    flex: 1 1 auto;
    height: 2px;
    min-width: 20px;
    margin: 16px 4px 0;
    background: #e3e5ea;
}

#avh-register-details .avh-register-progress-line.is-complete {
    background: #5b2cff;
}


/* ==========================================================
   Verified Phone Card
   ========================================================== */

#avh-register-details .avh-register-verified-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 26px;
    padding: 13px 15px;
    border: 1px solid #dcefe2;
    border-radius: 10px;
    background: #f5fbf7;
}

#avh-register-details .avh-register-verified-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #e1f5e7;
    color: #28a745;
}

#avh-register-details .avh-register-verified-icon .mi {
    font-size: 21px;
}

#avh-register-details .avh-register-verified-content {
    flex: 1 1 auto;
    min-width: 0;
}

#avh-register-details .avh-register-verified-label {
    margin: 0 0 2px;
    color: #637067;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

#avh-register-details .avh-register-verified-number {
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}


/* ==========================================================
   Registration Intro
   ========================================================== */

#avh-register-details .avh-register-intro {
    margin: 0 0 26px;
    text-align: center;
}

#avh-register-details .avh-register-title {
    margin: 0 0 7px;
    color: #1f2937;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
}

#avh-register-details .avh-register-description {
    margin: 0;
    color: #7b8190;
    font-size: 13px;
    line-height: 1.55;
}


/* ==========================================================
   Role Selection
   ========================================================== */

#avh-register-details .avh-register-role-selection {
    margin: 0 0 22px;
}

#avh-register-details .choose-role-text {
    margin: 0 0 9px;
    color: #3f4652;
    font-size: 13px;
    font-weight: 600;
}

#avh-register-details .role-tabs {
    margin-bottom: 0;
}


/* ==========================================================
   Dynamic MyListing Registration Fields
   ========================================================== */

#avh-register-details .avh-register-role-fields {
    width: 100%;
}

#avh-register-details .avh-register-field {
    width: 100%;
    margin: 0 0 18px;
}


/*
 * MyListing places each generated field inside a .form-group.
 * Reset the floating-label/underline appearance here.
 */

#avh-register-details .avh-register-field .form-group {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================================
   Dynamic Field Labels
   ========================================================== */

#avh-register-details .avh-register-field .form-group > label {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    order: -1;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    transform: none !important;
    color: #3f4652 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    pointer-events: auto !important;
}


/* ==========================================================
   Dynamic Boxed Text Fields
   ========================================================== */

#avh-register-details .avh-register-field input[type="text"],
#avh-register-details .avh-register-field input[type="email"],
#avh-register-details .avh-register-field input[type="tel"],
#avh-register-details .avh-register-field input[type="url"],
#avh-register-details .avh-register-field input[type="number"],
#avh-register-details .avh-register-field input[type="date"],
#avh-register-details .avh-register-field input[type="password"],
#avh-register-details .avh-register-field select,
#avh-register-details .avh-register-field textarea {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border: 1px solid #d9dce5 !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #1f2937 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    transition:
        border-color .2s ease,
        box-shadow .2s ease !important;
}

#avh-register-details .avh-register-field input[type="text"],
#avh-register-details .avh-register-field input[type="email"],
#avh-register-details .avh-register-field input[type="tel"],
#avh-register-details .avh-register-field input[type="url"],
#avh-register-details .avh-register-field input[type="number"],
#avh-register-details .avh-register-field input[type="date"],
#avh-register-details .avh-register-field input[type="password"],
#avh-register-details .avh-register-field select {
    height: 50px !important;
    padding: 0 14px !important;
}

#avh-register-details .avh-register-field textarea {
    min-height: 100px !important;
    padding: 12px 14px !important;
    resize: vertical;
}


/* Field Focus */

#avh-register-details .avh-register-field input:focus,
#avh-register-details .avh-register-field select:focus,
#avh-register-details .avh-register-field textarea:focus {
    border-color: #5b2cff !important;
    box-shadow: 0 0 0 3px rgba(91, 44, 255, .10) !important;
    outline: none !important;
}


/* Field Placeholder */

#avh-register-details .avh-register-field input::placeholder,
#avh-register-details .avh-register-field textarea::placeholder {
    color: #a5a9b2 !important;
    opacity: 1 !important;
}


/* Field Description */

#avh-register-details .avh-register-field .form-group > p {
    margin: 7px 0 0 !important;
    color: #8b909c;
    font-size: 12px;
    line-height: 1.45;
}


/* ==========================================================
   Legal Agreement
   ========================================================== */

#avh-register-details .avh-register-legal {
    width: 100%;
    margin: 5px 0 20px;
}

#avh-register-details .avh-register-legal-label {
    display: flex !important;
    align-items: flex-start;
    gap: 9px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
}

#avh-register-details #avh-register-terms {
    flex: 0 0 16px;
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    cursor: pointer;
}

#avh-register-details .avh-register-legal-text {
    flex: 1 1 auto;
    min-width: 0;
    color: #737986;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.55;
}

#avh-register-details .avh-register-legal-text a {
    color: #5b2cff;
    font-weight: 600;
    text-decoration: none;
}

#avh-register-details .avh-register-legal-text a:hover,
#avh-register-details .avh-register-legal-text a:focus {
    color: #5b2cff;
    text-decoration: underline;
}


/* ==========================================================
   Create Account Button
   ========================================================== */

#avh-register-details #avh-create-account {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    min-height: 50px;
    margin: 0 !important;
    padding: 0 18px !important;
    border-radius: 8px !important;
}

#avh-register-details .avh-create-account-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
}

#avh-register-details .avh-create-account-content .mi {
    flex: 0 0 auto;
    margin: 0 !important;
    font-size: 18px;
    line-height: 1;
}

#avh-register-details .avh-create-account-content span {
    flex: 0 0 auto;
    line-height: 1.2;
}


/* ==========================================================
   Privacy Reassurance
   ========================================================== */

#avh-register-details .avh-register-privacy-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    margin: 15px 0 0;
    color: #9a9faa;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
}

#avh-register-details .avh-register-privacy-note .mi {
    flex-shrink: 0;
    color: #a4a8b1;
    font-size: 16px;
}


/* ==========================================================
   Registration Details — Tablet
   ========================================================== */

@media (max-width: 900px) {

    #avh-register-details .avh-register-progress {
        margin-bottom: 30px;
    }

    #avh-register-details .avh-register-title {
        font-size: 22px;
    }

}


/* ==========================================================
   Registration Details — Mobile
   ========================================================== */

@media (max-width: 600px) {

    /* Progress */

    #avh-register-details .avh-register-progress {
        margin-bottom: 24px;
    }

    #avh-register-details .avh-register-progress-step {
        min-width: 64px;
    }

    #avh-register-details .avh-register-progress-circle {
        width: 30px;
        height: 30px;
        margin-bottom: 6px;
        font-size: 12px;
    }

    #avh-register-details .avh-register-progress-circle .mi {
        font-size: 16px;
    }

    #avh-register-details .avh-register-progress-label {
        font-size: 10px;
    }

    #avh-register-details .avh-register-progress-line {
        min-width: 10px;
        margin-top: 14px;
    }


    /* Verified Phone */

    #avh-register-details .avh-register-verified-phone {
        gap: 10px;
        margin-bottom: 20px;
        padding: 10px 12px;
        border-radius: 8px;
    }

    #avh-register-details .avh-register-verified-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
    }

    #avh-register-details .avh-register-verified-icon .mi {
        font-size: 19px;
    }

    #avh-register-details .avh-register-verified-label {
        font-size: 11px;
    }

    #avh-register-details .avh-register-verified-number {
        font-size: 14px;
    }


    /* Intro */

    #avh-register-details .avh-register-intro {
        margin-bottom: 20px;
    }

    #avh-register-details .avh-register-title {
        margin-bottom: 5px;
        font-size: 20px;
    }

    #avh-register-details .avh-register-description {
        font-size: 12px;
    }


    /* Dynamic Fields */

    #avh-register-details .avh-register-field {
        margin-bottom: 15px;
    }

    #avh-register-details .avh-register-field .form-group > label {
        margin-bottom: 6px !important;
        font-size: 12px !important;
    }

    #avh-register-details .avh-register-field input[type="text"],
    #avh-register-details .avh-register-field input[type="email"],
    #avh-register-details .avh-register-field input[type="tel"],
    #avh-register-details .avh-register-field input[type="url"],
    #avh-register-details .avh-register-field input[type="number"],
    #avh-register-details .avh-register-field input[type="date"],
    #avh-register-details .avh-register-field input[type="password"],
    #avh-register-details .avh-register-field select {
        height: 46px !important;
        padding: 0 12px !important;
        font-size: 13px !important;
    }


    /* Legal */

    #avh-register-details .avh-register-legal {
        margin-top: 3px;
        margin-bottom: 17px;
    }

    #avh-register-details .avh-register-legal-text {
        font-size: 11px;
        line-height: 1.5;
    }


    /* Create Account */

    #avh-register-details #avh-create-account {
        min-height: 48px;
    }

    #avh-register-details .avh-create-account-content {
        gap: 6px;
    }

    #avh-register-details .avh-create-account-content .mi {
        font-size: 17px;
    }


    /* Privacy */

    #avh-register-details .avh-register-privacy-note {
        margin-top: 12px;
        font-size: 10px;
    }

}


/* ==========================================================
   Registration Details — Very Small Mobile
   ========================================================== */

@media (max-width: 380px) {

    #avh-register-details .avh-register-progress-step {
        min-width: 58px;
    }

    #avh-register-details .avh-register-progress-label {
        font-size: 9px;
    }

    #avh-register-details .avh-register-progress-line {
        margin-right: 2px;
        margin-left: 2px;
    }

    #avh-register-details .avh-register-title {
        font-size: 19px;
    }

}

/* Registration — Change Verified Phone */

#avh-register-change-phone.avh-register-change-phone {
    display: inline-block !important;
    flex: 0 0 auto;
    width: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 0 0 auto !important;
    padding: 3px 2px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #5b2cff !important;
    font-family: inherit;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-decoration: none;
    cursor: pointer !important;
    appearance: none;
    -webkit-appearance: none;
}

#avh-register-change-phone.avh-register-change-phone:hover,
#avh-register-change-phone.avh-register-change-phone:focus {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #5b2cff !important;
    text-decoration: underline;
    outline: none;
}

/*
==========================================
Terms & Conditions Validation Error
==========================================
*/

.avh-terms-error {
    animation: avhTermsShake 0.4s ease;
}

.avh-terms-error,
.avh-terms-error a {
    color: #dc2626 !important;
}

.avh-terms-error input[type="checkbox"] {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
}

@keyframes avhTermsShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-3px);
    }

}

/* ==========================================================
   END — Registration Details / Complete Your Profile
   ========================================================== */
   /* ==========================================================
   AVH AUTH — Mobile Security Visual
   ========================================================== */

.avh-security-visual {
    display: none;
}


/* Mobile only */

@media (max-width: 767px) {

    .avh-wave {
        display: inline-block;
        margin-left: 4px;
    }

    .avh-security-visual {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 105px;
        margin-top: 24px;
        border-radius: 18px 18px 0 0;
        background:
            linear-gradient(
                135deg,
                rgba(91, 44, 255, .05),
                rgba(130, 76, 255, .14)
            );
    }

    .avh-security-shield {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 68px;
        height: 76px;
        background: linear-gradient(
            145deg,
            #a78bfa 0%,
            #7c3aed 100%
        );
        color: #fff;
        clip-path: polygon(
            50% 0,
            92% 16%,
            88% 66%,
            72% 84%,
            50% 100%,
            28% 84%,
            12% 66%,
            8% 16%
        );
        filter: drop-shadow(
            0 8px 14px rgba(91, 44, 255, .22)
        );
    }

    .avh-security-shield .mi {
        color: #fff;
        font-size: 29px;
        line-height: 1;
    }

    .avh-security-spark {
        position: absolute;
        color: #b69cff;
        font-size: 24px;
        line-height: 1;
    }

    .avh-security-spark-left {
        left: calc(50% - 80px);
        bottom: 24px;
    }

    .avh-security-spark-right {
        right: calc(50% - 82px);
        top: 20px;
        font-size: 18px;
    }

}


/* Short mobile screens */

@media (max-width: 480px) and (max-height: 750px) {

    .avh-security-visual {
        height: 82px;
        margin-top: 16px;
    }

    .avh-security-shield {
        width: 54px;
        height: 61px;
    }

    .avh-security-shield .mi {
        font-size: 24px;
    }

    .avh-security-spark {
        font-size: 18px;
    }

}
