/* Split auth layout: form column + hero (login / register) */

.auth-split-shell {
    display: flex;
    flex-direction: row;
    min-height: 100dvh;
    width: 100%;
}

.auth-form-column {
    padding: 2rem 2.5rem 3rem;
}

.auth-logo-link-img {
    width: 7.5rem;
    height: auto;
}

.auth-form-inner {
    max-width: 30rem;
    margin: auto;
}

.auth-subheading {
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.login-input {
    padding-right: 2.5rem;
}

.auth-input-icon {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-lighter);
    pointer-events: none;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.25rem 0;
    color: var(--text-lighter);
    font-size: 0.8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: 100%;
    height: 2.5625rem;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-12);
    border: 1px solid var(--border-platform);
    background: var(--primary-foreground);
    color: var(--header-dark);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.auth-google-btn:hover {
    background: var(--muted-bg);
    border-color: var(--border-color);
}

.auth-google-btn img {
    width: 1rem;
    height: 1rem;
}

.auth-primary-btn {
    height: 2.5625rem;
}

.auth-primary-btn.disabled {
    opacity: .6;
    pointer-events: none;
}

.auth-flip-link {
    color: var(--primary);
    font-weight: 600;
}

.auth-hero-column {
    flex: 0 0 50%;
    max-width: 50%;
    min-height: 100dvh;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2.5rem 2rem;
    overflow: hidden;
    color: #fff;
}

.auth-hero-bg {
    position: absolute;
    inset: 0;
    background-color: hsl(265 45% 18%);
    background-image:
        linear-gradient(135deg, hsl(278 75% 35% / 0.88) 0%, hsl(265 50% 18% / 0.82) 45%, hsl(250 45% 12% / 0.9) 100%),
        url("../images/auth_hero.png");
    background-size: cover;
    background-position: center;
    filter: brightness(1.1);
}

.auth-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
    min-height: 0;
}

.auth-hero-cards-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.auth-hero-cards {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
    max-width: 24rem;
    width: 100%;
}

.auth-hero-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-lg);
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    box-shadow: var(--shadow-medium);
    width: 100%;
}

.auth-hero-card-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: var(--radius);
    background: var(--badge-background);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-hero-card-body {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.auth-hero-card-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--header-dark);
    line-height: 1.25;
}

.auth-hero-card-sub {
    font-size: 0.72rem;
    color: var(--sub-header);
    line-height: 1.3;
}

.auth-hero-card-check {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 9999px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    flex-shrink: 0;
}

.auth-hero-bottom {
    padding-top: 0;
}

.auth-hero-tagline {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.65rem;
    text-shadow: 0 1px 2px rgb(0 0 0 / 0.2);
}

.auth-hero-desc {
    font-size: 0.9rem;
    line-height: 1.55;
    opacity: 0.95;
    max-width: 28rem;
}

.auth-hero-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.78rem;
}

.auth-hero-strip-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    opacity: 0.95;
}

.auth-hero-strip-item i {
    opacity: 0.9;
}

.auth-hero-strip-sep {
    width: 1px;
    height: 1rem;
    background: rgba(255, 255, 255, 0.25);
}

.login-block.auth-form-card {
    position: static;
    transform: none;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    box-shadow: none;
    background: transparent;
    border: none;
    align-items: stretch;
}

.login-block.auth-form-card > .auth-input-wrap {
    width: 100%;
}

.login-block.auth-form-card .login-title {
    display: none;
}

.auth-form-card .flip-pages-span {
    margin-top: 1.25rem;
}

.forgot-password-link {
    font-size: .8125rem;
    color: var(--primary);
    font-weight: 500;
    width: auto;
}

.auth-verify-block {
    text-align: center;
    padding: 0.5rem 0;
}

.auth-verify-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: var(--badge-background);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.auth-verify-title {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.auth-verify-text {
    font-size: 0.95rem;
    color: var(--text-darker);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.auth-verify-text strong {
    color: var(--header-dark);
}

.auth-verify-hint {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
}

.auth-verify-status {
    font-size: 0.8rem;
    color: var(--sub-header);
    margin-top: 0.5rem;
}

.auth-flip-link {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    width: auto;
}

.auth-verify-notice {
    background: var(--badge-background-half);
    border: 1px solid var(--badge-border);
    border-radius: var(--radius-12);
    color: var(--text-darker);
    line-height: 1.4;
    padding: 0.75rem 0.9rem;
    margin: 0.75rem 0 0.25rem;
}

.auth-verify-notice-row {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.auth-verify-notice-row i {
    color: var(--primary);
    margin-top: 0.15rem;
}

.auth-verify-resend {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.auth-verify-resend.disabled {
    color: var(--sub-header);
    pointer-events: none;
    text-decoration: none;
}

@media (max-width: 56.25rem) {
    .auth-split-shell {
        flex-direction: column;
    }

    .auth-form-column {
        padding: 2rem 1rem;
    }

    .auth-logo-link-img {
        margin-bottom: 1.5rem;
    }

    .auth-hero-column {
        display: none;
    }

    .auth-hero-cards-wrap {
        flex: none;
        padding: 0.5rem 0 1.25rem;
    }

    .auth-hero-cards {
        max-width: none;
    }

    .auth-hero-bottom {
        padding-top: 0;
    }
}
