/* ------------------------------
   RESET + BASE
------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

/* ------------------------------
   CONTAINER + GLASS CARD
------------------------------ */
.container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.glass {
    width: 380px;
    padding: 35px;
    border-radius: 18px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

    text-align: center;
}

/* ------------------------------
   TITRE
------------------------------ */
h2 {
    margin-bottom: 20px;
    font-weight: 600;
}

/* ------------------------------
   INPUT
------------------------------ */
input[type="email"],
input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 20px;

    border-radius: 10px;
    border: none;
    outline: none;

    font-size: 16px;

    background: rgba(255, 255, 255, 0.15);
    color: #fff;

    transition: 0.2s;
}

input:focus {
    background: rgba(255, 255, 255, 0.22);
}

/* ------------------------------
   BOUTON PRINCIPAL
------------------------------ */
.btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: none;

    background: #3b82f6;
    color: white;

    font-size: 16px;
    cursor: pointer;

    transition: 0.2s;
}

.btn:hover {
    background: #2563eb;
}

/* ------------------------------
   ALERTES
------------------------------ */
.alert {
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-error {
    background: rgba(255, 0, 0, 0.25);
    border-left: 3px solid #ff4d4d;
}