/* Auth / Login – clean glassmorphism (no image background) */

.auth-page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(180deg, #3b82c4 0%, #6eb3e8 38%, #a8d4f5 62%, #d4ebfa 82%, #eef6fc 100%);
}

.auth-page__bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        /* soft cloud highlights */
        radial-gradient(ellipse 90% 55% at 15% 20%, rgba(255, 255, 255, 0.55) 0%, transparent 55%),
        radial-gradient(ellipse 70% 45% at 85% 15%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 100% 60% at 50% 100%, rgba(255, 255, 255, 0.75) 0%, transparent 55%),
        radial-gradient(ellipse 80% 50% at 70% 75%, rgba(255, 255, 255, 0.35) 0%, transparent 45%),
        /* main sky */
        linear-gradient(
            180deg,
            #2563a8 0%,
            #3b82c4 12%,
            #5ba3dc 30%,
            #7ec0ef 50%,
            #a8d8f8 68%,
            #cce9fb 84%,
            #e8f4fd 100%
        );
}

.auth-page__brand {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1.75rem;
}

.auth-page__brand-logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.auth-page__brand-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.65rem;
    background: #111827;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-page__brand-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.15);
}

.auth-page__main {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 5rem);
    min-height: calc(100dvh - 5rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.25rem 2rem;
}

.auth-glass {
    width: 100%;
    max-width: 24rem;
    padding: 2rem 1.75rem 1.75rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    box-shadow:
        0 4px 6px rgba(15, 23, 42, 0.04),
        0 20px 50px rgba(30, 64, 120, 0.12);
}

.auth-glass__logo {
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1.25rem;
    border-radius: 1rem;
    background: #ffffff;
    border: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.auth-glass__logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.65rem;
}

.auth-glass__icon {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 1.25rem;
    border-radius: 0.75rem;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-glass__title {
    margin: 0;
    text-align: center;
    font-size: 1.375rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.03em;
}

.auth-glass__subtitle {
    margin: 0.5rem 0 1.5rem;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6b7280;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-field {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-field__icon {
    position: absolute;
    left: 0.95rem;
    color: #9ca3af;
    display: flex;
    pointer-events: none;
}

.auth-field__input {
    width: 100%;
    height: 3rem;
    padding: 0 2.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    background: #ffffff;
    color: #111827;
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field__input::placeholder {
    color: #9ca3af;
}

.auth-field__input:focus {
    border-color: #d1d5db;
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}

.auth-field__toggle {
    position: absolute;
    right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    border: none;
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
}

.auth-field__toggle:hover {
    color: #6b7280;
}

.auth-submit {
    margin-top: 0.5rem;
    width: 100%;
    height: 3rem;
    border: none;
    border-radius: 0.75rem;
    background: #111827;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease;
}

.auth-submit:hover {
    background: #000000;
}

.auth-submit:active {
    transform: scale(0.99);
}

.auth-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.auth-remember__input {
    width: 1rem;
    height: 1rem;
    accent-color: #111827;
    cursor: pointer;
}

.auth-remember__label {
    font-size: 0.875rem;
    color: #4b5563;
}

.auth-glass .mb-4 {
    margin-bottom: 1rem;
}

.auth-glass .rounded-xl {
    border-radius: 0.75rem;
}

.brand-logo {
    object-fit: cover;
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .auth-glass {
        padding: 1.5rem 1.25rem 1.25rem;
    }

    .auth-page__brand {
        padding: 1.25rem;
    }
}
