.auth-page {
    position: relative;
    overflow: hidden;
    background:
            radial-gradient(circle at 12% 10%, rgba(255,255,255,0.70) 0%, transparent 28%),
            radial-gradient(circle at 86% 16%, rgba(241,178,77,0.08) 0%, transparent 18%),
            linear-gradient(180deg, #edf3f8 0%, #e4ecf5 100%);
    padding-top: 1rem;
    padding-bottom: 3rem;
    margin-top: 0;
}

.auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.24) 0%, rgba(255,255,255,0) 28%);
}

.auth-container {
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    padding-left: 12px;
    padding-right: 12px;
}

.auth-main-row {
    margin-top: 0.25rem;
}

.auth-hero-row {
    margin-top: 0.25rem;
    margin-bottom: 0.9rem;
}

.auth-page-title {
    color: #1f2d44;
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.15px;
    margin-bottom: 0.8rem;
}

.auth-page-title-login {
    margin-bottom: 0.9rem;
}

.auth-page-subtitle {
    color: #6f8097;
    font-size: 1.02rem;
    font-style: italic;
    line-height: 1.55;
    margin-bottom: 0.75rem;
}

.auth-page-subtitle strong {
    color: #1f2d44;
    font-weight: 700;
    font-style: normal;
}

.auth-page-subtitle-login {
    font-size: 1rem;
    font-style: normal;
    max-width: 740px;
    margin-left: auto;
    margin-right: auto;
}

.auth-page-note {
    color: #93a0b2;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.auth-card {
    max-width: 520px;
    border-radius: 10px !important;
    border: 1px solid rgba(43, 61, 91, 0.10) !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.84) 100%) !important;
    box-shadow: 0 18px 42px rgba(22, 34, 55, 0.12) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
}

.auth-card-header {
    background: linear-gradient(135deg, #34486a 0%, #2b3d5b 58%, #22314b 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.95rem 1.2rem;
}

.auth-card-title {
    color: #f7fbff;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.12px;
    margin: 0;
    text-align: center;
}

.auth-card-body {
    padding: 1.2rem 1.2rem 1.15rem !important;
}

.auth-alert {
    border-radius: 12px !important;
    margin-bottom: 1rem;
}

.auth-label {
    color: #6f8097;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.auth-input {
    min-height: 40px;
    border-radius: 12px !important;
    border: 1px solid rgba(43, 61, 91, 0.14) !important;
    background: rgba(255,255,255,0.92) !important;
    color: #1f2d44 !important;
    box-shadow: none !important;
    transition:
            border-color 0.18s ease,
            box-shadow 0.18s ease,
            background 0.18s ease;
}

.auth-input:focus {
    border-color: rgba(241,178,77,0.42) !important;
    box-shadow: 0 0 0 0.2rem rgba(241,178,77,0.14) !important;
    background: #ffffff !important;
}

.auth-input::placeholder {
    color: #9aa7b9;
}

.auth-input-error {
    border-color: rgba(220, 53, 69, 0.6) !important;
}

.auth-error-text {
    display: block;
    margin-top: 0.35rem;
    color: #c0392b;
    font-size: 0.82rem;
}

.auth-actions-row {
    margin-top: 1.35rem !important;
    margin-bottom: 0 !important;
    row-gap: 0.8rem;
}

.auth-submit-btn {
    min-width: 138px;
    border: 1px solid rgba(255, 235, 199, 0.32) !important;
    background: linear-gradient(180deg, #f2b95d 0%, #d89627 100%) !important;
    color: #182132 !important;
    border-radius: 10px !important;
    padding: 0.28rem 1.1rem !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08px;
    box-shadow:
            0 12px 24px rgba(216, 150, 39, 0.22),
            inset 0 1px 0 rgba(255,255,255,0.24);
    transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            filter 0.2s ease;
}

.auth-submit-btn:hover,
.auth-submit-btn:focus {
    color: #111827 !important;
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow:
            0 16px 30px rgba(216, 150, 39, 0.28),
            inset 0 1px 0 rgba(255,255,255,0.28);
}

.auth-submit-btn:disabled {
    opacity: 0.72;
    transform: none;
}

.auth-google-col {
    min-height: 40px;
}

.auth-google-wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.auth-forgot-link {
    color: #6f8097;
    text-decoration: none;
    font-size: 0.9rem;
    font-style: italic;
    transition: color 0.18s ease;
}

.auth-forgot-link:hover {
    color: #d89627;
    text-decoration: underline;
}

.auth-invited-by {
    color: #2f7d4a;
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .auth-page {
        padding-top: 0.85rem;
        padding-bottom: 2.2rem;
    }

    .auth-card {
        max-width: 100%;
        border-radius: 10px !important;
    }

    .auth-card-header {
        padding: 0.85rem 1rem;
    }

    .auth-card-body {
        padding: 1rem !important;
    }

    .auth-submit-btn {
        width: 100%;
        min-width: 0;
    }

    .auth-google-wrap {
        justify-content: flex-start;
    }

    .auth-page-subtitle,
    .auth-page-subtitle-login {
        font-size: 0.96rem;
    }
}