@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&display=swap');

/*==============================
Variables CSS
==============================*/
:root {
    --primary-color: #bb8fce;        /* Boutons principaux */
    --secondary-color: #9b59b6;      /* Hover / accents */
    --background-color: #030712;     /* Fond général */
    --container-bg: #0F172B;         /* Fond des conteneurs */
    --text-color: #FFFFFF;           /* Texte classique */
    --error-color: #e74c3c;          /* Erreurs */
    --success-color: #28b463;        /* Succès */
    --input-border: #dcdcdc;         /* Bordures input */
    --neon-color: #9b59b6;           /* Couleur néon / glow */
}

/*==============================
Styles globaux
==============================*/
* {
    box-sizing: border-box;
}

body {
    font-family: 'Funnel Display', Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    height: 100vh;
}

/* Textes généraux */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-color);
    margin: 10px 0;
    font-weight: 500;
}

p, span, label {
    color: var(--text-color);
    margin: 5px 0;
    font-weight: 400;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--neon-color);
}

.error {
    color: var(--error-color);
    font-size: 0.9em;
    margin-top: 10px;
}

.success {
    color: var(--success-color);
    font-size: 0.9em;
    margin-top: 10px;
}


/*==============================
Tous les boutons
==============================*/
button {
    padding: 10px 20px;
    border-radius: 25px; /* coins arrondis */
    border: none;
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: none; /* pas de glow par défaut */
    transition: all 0.3s ease;
}

button:hover, button:focus {
    background-color: var(--secondary-color);
    box-shadow: 0 0 15px var(--neon-color), 0 0 25px var(--secondary-color);
    transform: scale(1.05);
}

/*==============================
Tous les input
==============================*/
input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 25px; /* coins arrondis */
    border: 1px solid var(--input-border);
    background-color: #0f172b;
    color: var(--text-color);
    outline: none;
    font-weight: 600; /* police plus grasse */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--neon-color);
}

/*==============================
Login container
==============================*/
/* Parent pour centrer le login-container */
.login {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh; /* s'assure que ça prend toute la hauteur de la fenêtre */
}

/* Login container */
.login-container {
    background-color: var(--container-bg);
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 0 50px var(--neon-color);
    text-align: center;
    width: 350px;
}

/* Logo */
.login-logo {
    width: 200px;
    margin-bottom: 20px;
}

