*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    min-height: 100vh;
    background: linear-gradient(to bottom, #000000 0%, #05001d 40%, #3b2fff 100%);
    color: white;
}

/* HEADER */

header{
    padding: 30px 50px;
}

header h1{
    font-size: 30px;
    font-weight: bold;
}

/* CENTRE PAGE */

main{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 50px;
}

/* SECTION LOGIN */

section{
    text-align: center;
    width: 100%;
}

section h2{
    font-size: 30px;
    margin-bottom: 15px;
}

section p{
    color: #d3d3d3;
    margin-bottom: 40px;
}

/* BOX */

section form:first-of-type{
    width: 550px;
    margin: auto;
    background: rgba(20,20,20,0.85);
    padding: 40px;
    border-radius: 20px;
    text-align: left;
}

/* LABEL */

label{
    display: block;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

/* INPUT */

input{
    width: 100%;
    padding: 18px;
    margin-bottom: 35px;
    border: none;
    border-radius: 10px;
    background: #2b2b2b;
    color: white;
    font-size: 18px;
}

/* BOUTON CONNEXION */

button{
    border: none;
    padding: 16px 28px;
    border-radius: 12px;
    background: #189cff;
    color: white;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover{
    background: #008cff;
}

/* BOUTON CREER COMPTE */

form:last-of-type{
    margin-top: 20px;
}

form:last-of-type button{
    background: transparent;
    border: 2px solid white;
    font-size: 18px;
}

form:last-of-type button:hover{
    background: white;
    color: black;
}/* ===================================================================
BOUTON COMMUN DE RETOUR À L'ACCUEIL
=================================================================== */

.global-home-navigation {
    width: 100%;
    max-width: 1200px;
    margin: 15px auto 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start; /* Aligne le bouton à gauche */
}

.btn-global-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffd700; /* Rappel de ton jaune or */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
}

.btn-global-home .icon {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

/* Effets au survol */
.btn-global-home:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: #ffd700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-global-home:hover .icon {
    transform: translateX(-4px); /* Petit effet de flèche qui glisse à gauche */
}