/* ==========================================================
   AVH AUTH
   MyListing Authentication — Layout
   ========================================================== */


/* ==========================================================
   Authentication Page
   ========================================================== */

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


/* ==========================================================
   Authentication Shell
   ========================================================== */

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


/* ==========================================================
   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 48px;
    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            var(--avh-wallpaper-primary) 0%,
            var(--avh-wallpaper-secondary) 52%,
            var(--avh-wallpaper-accent) 100%
        );

    color: var(--avh-wallpaper-text);
}


/* ==========================================================
   Branding Wallpaper Decorations
   ========================================================== */

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

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


/* ==========================================================
   Branding Inner
   ========================================================== */

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


/* ==========================================================
   Branding Logo
   ========================================================== */

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

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

.avh-auth-site-name {
    color: var(--avh-wallpaper-text);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}


/* ==========================================================
   Branding Copy
   ========================================================== */

.avh-branding-copy {
    width: 100%;
}


/* ==========================================================
   Security Illustration
   ========================================================== */

.avh-security-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    margin: 0 0 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: var(--avh-wallpaper-text);
}

.avh-security-shield {
    display: flex;
    align-items: center;
    justify-content: center;
}

.avh-security-shield .mi {
    margin: 0;
    color: inherit;
    font-size: 36px;
    line-height: 1;
}

.avh-security-spark {
    position: absolute;
    color: var(--avh-wallpaper-text);
    line-height: 1;
}

.avh-security-spark-left {
    top: 5px;
    right: -5px;
    font-size: 18px;
}

.avh-security-spark-right {
    top: 25px;
    right: -14px;
    font-size: 10px;
}


/* ==========================================================
   Branding Title
   ========================================================== */

.avh-brand-title {
    margin: 0 0 14px;
    color: var(--avh-wallpaper-text);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.avh-wave {
    display: inline-block;
}


/* ==========================================================
   Branding Description
   ========================================================== */

.avh-brand-description {
    max-width: 100%;
    margin: 0;
    color: var(--avh-wallpaper-muted-text);
    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   Authentication Trust Indicators
   Desktop / Tablet Layout
   ========================================================== */

.avh-auth-trust {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    width: 100%;
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}


/* ==========================================================
   Individual Trust Indicator
   ========================================================== */

.avh-auth-trust-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    width: 100%;
    min-width: 0;
    text-align: left;
}


/* ==========================================================
   Trust Indicator Icons
   ========================================================== */

.avh-auth-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--avh-feature-background);
    color: var(--avh-feature-icon-color);
}

.avh-auth-trust-icon .mi {
    margin: 0;
    color: inherit;
    font-size: 25px;
    line-height: 1;
}


/* ==========================================================
   Trust Indicator Content
   ========================================================== */

.avh-auth-trust-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}


/* ==========================================================
   Trust Indicator Label
   ========================================================== */

.avh-auth-trust-label {
    display: block;
    color: var(--avh-feature-text-color);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
}


/* ==========================================================
   Trust Indicator Description
   ========================================================== */

.avh-auth-trust-description {
    display: block;
    max-width: 220px;
    color: var(--avh-wallpaper-muted-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}


/* ==========================================================
   Trust Badge
   ========================================================== */

.avh-auth-trust-badge {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    max-width: 100%;
    margin-top: 34px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    color: var(--avh-wallpaper-text);
}

.avh-auth-trust-badge .mi {
    flex-shrink: 0;
    margin: 0;
    color: inherit;
    font-size: 18px;
    line-height: 1;
}

.avh-auth-trust-badge-text {
    color: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}


/* ==========================================================
   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: var(--avh-surface);
}

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


/* ==========================================================
   Authentication Tabs
   ========================================================== */

.avh-auth-tabs {
    display: flex;
    width: 100%;
    margin: 0 0 36px;
    padding: 0;
    border-bottom:
        1px solid
        var(--avh-border-color);
    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: var(--avh-text-muted);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition:
        color
        var(--avh-transition-normal);
}


/* ==========================================================
   Authentication Tab Interaction
   ========================================================== */

.avh-auth-tabs li a:hover {
    color: var(--avh-primary-color);
}

.avh-auth-tabs li.active a {
    color: var(--avh-primary-color);
}

.avh-auth-tabs li.active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--avh-primary-color);
}


/* ==========================================================
   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;
}


/* ==========================================================
   Mobile Trust Indicators
   Hidden by Default — Enabled in responsive.css
   ========================================================== */

.avh-mobile-trust {
    display: none;
    width: 100%;
}


/* ==========================================================
   Mobile Trust Indicator Item
   ========================================================== */

.avh-mobile-trust-item {
    min-width: 0;
}


/* ==========================================================
   Mobile Trust Indicator Icon
   ========================================================== */

.avh-mobile-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto;
    border-radius: 50%;
    background: var(--avh-feature-background);
    color: var(--avh-feature-icon-color);
}

.avh-mobile-trust-icon .mi {
    margin: 0;
    color: inherit;
    font-size: 25px;
    line-height: 1;
}


/* ==========================================================
   Mobile Trust Indicator Label
   ========================================================== */

.avh-mobile-trust-label {
    display: block;
    color: var(--avh-text-primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}


/* ==========================================================
   Mobile Trust Indicator Description
   ========================================================== */

.avh-mobile-trust-description {
    display: block;
    color: var(--avh-text-secondary);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}


/* ==========================================================
   Mobile Trust Badge
   Hidden by Default — Enabled in responsive.css
   ========================================================== */

.avh-mobile-trust-badge {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border-radius: 999px;
    background: var(--avh-brand-soft);
    color: var(--avh-primary-color);
}

.avh-mobile-trust-badge .mi {
    flex-shrink: 0;
    margin: 0;
    color: inherit;
    font-size: 18px;
    line-height: 1;
}

.avh-mobile-trust-badge-text {
    color: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
}