.auth-page {
    flex : 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 420px 1fr;
    background-color: #fff;
}

.auth-left {
    background: linear-gradient(135deg, var(--nav) 0%, #1a6fc4 100%);
    padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3.5rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    height : auto;
    min-height : 100%;
}

.auth-left::before {
    content: '';
    position: absolute;
    right: -30px;
    bottom: 80px;
    width: 260px;
    height: 260px;
    opacity: 0.07;
    pointer-events: none;
}
.auth-hero-text { position: relative; z-index: 1; }
.auth-hero-tagline {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.auth-hero-desc {
    font-size: clamp(0.75rem, 0.9vw, 0.85rem);
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    max-width: 280px;
}
.auth-stats { 
    display: flex; 
    gap: 0; position: relative; 
    z-index: 1; 
}
.auth-stat {
    text-align: left;
    padding-right: 1.8rem;
    margin-right: 1.8rem;
    border-right: 1px solid rgba(255,255,255,0.2);
}
.auth-stat:last-child { 
    border-right: none; 
    margin-right: 0; 
    padding-right: 0; 
}
.auth-stat-n {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    display: block;
}
.auth-stat-l {
    font-size: clamp(0.58rem, 0.72vw, 0.68rem);
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-top: 0.18rem;
}

.auth-form-col {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    box-shadow: 0 0 60px rgba(0,0,0,0.12);
    min-height : 100%;
    flex-direction : column;
}

.auth-form-inner {
    width: 100%;
    max-width: 340px;
}
.auth-form-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    font-weight: 700;
    color: var(--text);
    text-align: center;
    margin-bottom: 0.25rem;
}
.auth-form-sub {
    text-align: center;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 1.6rem;
}
.auth-form-sub a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.auth-form-sub a:hover { text-decoration: underline; }

.auth-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.auth-field { margin-bottom: 0rem; }
.auth-field:last-of-type { margin-bottom: 0; }

.auth-field label {
    display: block;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.32rem;
}
.auth-field-wrap { position: relative; }
.auth-field input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.58rem 0.85rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.84rem;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.auth-field input:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(63,145,226,0.12);
}
.auth-field input::placeholder { color: var(--muted); }

.eye-btn {
    position: absolute;
    right: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted);
    padding: 0;
    font-size: 0.88rem;
    line-height: 1;
    transition: color 0.15s;
}

.auth-cgu {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 1.1rem 0 0;
    font-size: 0.76rem;
    color: var(--muted);
    line-height: 1.4;
}
.auth-cgu input[type="checkbox"] {
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--accent);
    width: 14px;
    height: 14px;
    cursor: pointer;
}
.auth-cgu a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.auth-submit {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.2rem;
    transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
    box-shadow: 0 4px 16px rgba(63,145,226,0.25);
}
.auth-submit:hover {
    background: var(--nav-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(63,145,226,0.35);
}
.auth-submit:active { transform: translateY(0); }

.auth-right {
    background: linear-gradient(135deg, #1a6fc4 0%, var(--nav) 100%);
    padding: clamp(2.5rem, 5vw, 4rem) clamp(2rem, 4vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1.5rem;
    height : 100%;
    min-height : 100%;
}

.auth-right-title {
    font-family: 'Fredoka', sans-serif;
    font-size: clamp(0.85rem, 1.2vw, 1.05rem);
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    line-height: 1.35;
}
.auth-right-title strong {
    display: block;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin-top: 0.1rem;
}
.upcoming-list { display: flex; flex-direction: column; gap: 0.55rem; }
.upcoming-item {
    background: rgba(255,255,255,0.14);
    border: 1.5px solid rgba(255,255,255,0.22);
    border-radius: var(--radius);
    padding: 0.62rem 1rem;
    transition: background 0.15s, border-color 0.15s;
    text-decoration: none;
}

.upcoming-item-name {
    display: block;
    font-family: 'Fredoka', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
}
.upcoming-item-date {
    display: block;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.62);
    margin-top: 0.12rem;
}


/* Responsive adjustments */

.auth-page {
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    padding: 1.5rem 0.75rem;
}

.auth-left, .auth-right {
    display: none;
}

.auth-form-col {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-form-inner {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    padding: 2.5rem 1.75rem;
    border-radius: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

@media (min-width: 1024px) {
    .auth-page {
        display: grid;
        grid-template-columns: 1fr 520px 1fr;
        padding: 0;
        background-color: transparent;
    }

    .auth-left {
        display: flex;
        background: linear-gradient(135deg, var(--nav) 0%, #1a6fc4 100%);
        padding: 4rem;
        flex-direction: column;
        justify-content: space-between;
    }

    .auth-right {
        display: flex;
        background: linear-gradient(135deg, #1a6fc4 0%, var(--nav) 100%);
        padding: 4rem 3rem;
        flex-direction: column;
    }

    .auth-form-col {
        background: #fff;
        padding: 0;
        box-shadow: 0 0 60px rgba(0,0,0,0.1);
    }

    .auth-form-inner {
        box-shadow: none;
        padding: 2rem;
        border-radius: 0;
        width: 100%;
        max-width: 100%;
    }
}

.auth-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.auth-field label {
    display: block;
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.32rem;
}

.auth-field input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1.5px solid #f1f5f9;
    border-radius: 0.8rem;
    background: #f8fafc;
    margin-top: 0.4rem;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 0.84rem;
    color: var(--text);
    outline: none;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}

.auth-field input:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(63,145,226,0.12);
}

.auth-submit {
    width: 100%;
    padding: 1rem;
    background: #3f91e2;
    color: #fff;
    border: none;
    border-radius: 1rem;
    font-family: 'Fredoka', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
}

.auth-submit:hover {
    background: var(--nav-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(63,145,226,0.35);
}

.auth-cgu {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 1.1rem;
    font-size: 0.76rem;
    color: var(--muted);
}

.auth-cgu input[type="checkbox"] {
    margin-top: 0.15rem;
    accent-color: var(--accent);
    width: 14px;
    height: 14px;
}