﻿/* =========================
   PAGE LAYOUT
========================= */
.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 38% 62%;
    position: relative;
    overflow: hidden;
}

/* =========================
   LEFT COLUMN (HERO)
========================= */
.hero-column {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* =========================
   RIGHT COLUMN (AUTH)
========================= */
.auth-panel {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(94,114,228,.10), transparent 35%), radial-gradient(circle at bottom left, rgba(130,94,228,.08), transparent 30%), linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
}

    /* floating background decorations */
    .auth-panel::before,
    .auth-panel::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        filter: blur(80px);
        z-index: 0;
    }

    .auth-panel::before {
        width: 260px;
        height: 260px;
        top: -60px;
        right: -80px;
        background: rgba(94,114,228,.15);
    }

    .auth-panel::after {
        width: 300px;
        height: 300px;
        bottom: -90px;
        left: -80px;
        background: rgba(130,94,228,.14);
    }

/* =========================
   AUTH CARD
========================= */
.auth-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 640px;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: 0 30px 80px rgba(15,23,42,.10), 0 8px 30px rgba(15,23,42,.05);
}

/* =========================
   INNER CONTENT
========================= */
.form-side {
    width: 100%;
    position: relative;
}

.form-container {
    width: 100%;
}

/* =========================
   CONTENT WIDTH
========================= */
.auth-content {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
}

/* =========================
   TABLET
========================= */
@media (max-width: 1200px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .hero-column {
        min-height: 420px;
    }

    .auth-panel {
        min-height: auto;
        padding: 30px;
    }

    .auth-card {
        max-width: 100%;
    }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
    .auth-panel {
        padding: 18px;
    }

    .auth-card {
        padding: 20px;
        border-radius: 22px;
    }

    .hero-column {
        min-height: 320px;
    }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 576px) {
    .auth-panel {
        padding: 12px;
    }

    .auth-card {
        padding: 16px;
        border-radius: 18px;
    }
}


.error-message {
    color: #ff4d4f;
    display: none;
    font-size: 14px;
    font-weight: 600;
}

    .error-message i {
        margin-left: 6px;
    }