/* =========================
   BASE
========================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: #020817;
    color: #f4f8ff;
    font-family: Arial, sans-serif;
}


/* =========================
   PAGE CONNEXION
========================= */

.auth-page {
    min-height: 100vh;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================
   CONTENU
========================= */

.auth-layout {
    width: 980px;
    min-height: 620px;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}


/* =========================
   PERSONNAGE
========================= */

.character-side {
    position: relative;
    height: 620px;

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.character {
    width: 500px;
    height:570px;
    object-fit: contain;
    object-position: left;
}


/* =========================
   BULLE
========================= */

.speech {
    position: absolute;
    top: 50px;
    left: 160px;

    width: 300px;
    padding: 15px;

    background: #07182f;
    border: 1px solid #36b9ff;
    border-radius: 14px;

    box-shadow: 0 0 20px rgba(54, 185, 255, 0.15);
}

.speech strong {
    display: block;
    margin-bottom: 7px;
    font-size: 20px;
}

.speech span {
    display: block;
    color: #9db3d2;
    font-size: 15px;
    line-height: 1.5;
}


/* =========================
   FORMULAIRE
========================= */

.auth-card {
    width: 460px;
    padding: 30px;

    background: #061832;
    border: 1px solid #365c86;
    border-radius: 10px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.eyebrow {
    display: block;
    margin-bottom: 12px;

    color: #36b9ff;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
}

.auth-card h2 {
    margin: 0;
    font-size: 30px;
}

.card-subtitle {
    margin: 7px 0 25px;

    color: #8fa5c4;
    font-size: 12px;
}


/* =========================
   CHAMPS
========================= */

form {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

form > label > span {
    display: block;
    margin-bottom: 6px;

    color: #8fa7c7;
    font-size: 10px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    height: 43px;

    padding: 0 13px;

    color: white;
    background: #020d20;

    border: 1px solid #315276;
    border-radius: 7px;

    outline: none;
}

input:focus {
    border-color: #36b9ff;
}

input::placeholder {
    color: #49617f;
}


/* =========================
   SOUVENIR / MOT DE PASSE
========================= */

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #8097b7;
    font-size: 9px;
}

.checkbox input {
    accent-color: #36b9ff;
}

.small-link {
    color: #36b9ff;
    font-size: 9px;
    text-decoration: none;
}


/* =========================
   BOUTONS
========================= */

.button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 43px;

    border-radius: 7px;

    font-size: 12px;
    font-weight: bold;
    text-decoration: none;

    cursor: pointer;
}

.button.primary {
    color: white;
    background: linear-gradient(100deg, #36b9ff, #7048ff);
    border: none;
}

.button.outline {
    color: #36b9ff;
    background: transparent;
    border: 1px solid #315276;
}


/* =========================
   SÉPARATEUR
========================= */

.divider {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #7389a8;
    font-size: 10px;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #29415f;
}



/*
Navbar
*/
/* =========================
   HEADER
========================= */

.navbar {
    position: relative;
    z-index: 10;

    width: 90%;
    max-width: 1200px;
    height: 80px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================
   LOGO
========================= */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;

    color: white;
    text-decoration: none;

    font-size: 20px;
    font-weight: 800;
    letter-spacing: 5px;
}

.logo-circle {
    width: 30px;
    height: 30px;

    border: 2px solid #36b5ff;
    border-radius: 50%;

    box-shadow:
        0 0 10px #168cff,
        inset 0 0 10px #168cff;
}


/* =========================
   NAVIGATION
========================= */

.menu {
    display: flex;
    gap: 40px;
}

.menu a {
    color: #c2cee8;
    text-decoration: none;

    font-size: 13px;

    transition: .3s;
}

.menu a:hover {
    color: #42baff;
}


/* =========================
   BOUTONS
========================= */

.buttons {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-block;

    padding: 12px 22px;

    border-radius: 30px;

    color: white;
    text-decoration: none;

    font-size: 12px;

    border: 1px solid rgba(80, 180, 255, .6);

    background: rgba(4, 20, 45, .55);

    backdrop-filter: blur(10px);

    transition: .3s;
}

.btn:hover {
    border-color: #42baff;
    color: #42baff;
}

.btn.primary {
    border: none;

    background: linear-gradient(
        90deg,
        #32b8ff,
        #8050ff
    );

    box-shadow:
        0 0 25px rgba(81, 108, 255, .4);
}

.btn.primary:hover {
    color: white;
    box-shadow:
        0 0 30px rgba(81, 108, 255, .65);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .menu {
        display: none;
    }

    .navbar {
        width: 92%;
    }
}

@media (max-width: 600px) {

    .navbar {
        height: 70px;
    }

    .logo {
        font-size: 16px;
        letter-spacing: 3px;
    }

    .logo-circle {
        width: 25px;
        height: 25px;
    }

    .buttons .btn:first-child {
        display: none;
    }

    .btn {
        padding: 10px 16px;
    }
}