/* ========== RESET / BASE ========== */
body {
    margin: 0;
    padding: 0;
    background-color: #0d0d0d;
    color: #fff;
    font-family: Arial, sans-serif;
}

/* ========== PAGE DE LOGIN ========== */

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-wrapper {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(167, 136, 255, 0.2);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.login-logo {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
}

.login-title {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 25px;
}

.login-error {
    color: #ff5c5c;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 0.95rem;
}

/* FORMULAIRE */

.login-form {
    text-align: left;
}

.login-form label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #ccc;
}

.login-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #444;
    border-radius: 5px;
    background-color: #1f1f1f;
    color: #fff;
    font-size: 1rem;
}

.login-form input::placeholder {
    color: #888;
}

.login-form button {
    background-color: #a788ff;
    color: #000;
    padding: 12px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.login-form button:hover {
    background-color: #c2a6ff;
}

/* ========== RESPONSIVE MOBILE ========== */

@media (max-width: 600px) {
    body, html {
        padding: 0;
        margin: 0;
        height: 100%;
        background-color: #0a0a0a;
    }

    .login-wrapper {
        height: 100vh;
        width: 100%;
        padding: 30px 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .login-box {
        width: 100%;
        max-width: 100%;
        padding: 30px 20px;
        box-shadow: 0 0 15px #a988ff33;
        border-radius: 16px;
        background-color: #161616;
    }

    .login-logo {
        width: 80px;
        margin: 0 auto 20px auto;
        display: block;
    }

    .login-title {
        text-align: center;
        font-size: 1.5rem;
        margin-bottom: 25px;
        color: #fff;
    }

    .login-form label {
        color: #ccc;
        font-size: 0.9rem;
        margin-bottom: 6px;
        display: block;
    }

    .login-form input {
        width: 100%;
        padding: 14px;
        margin-bottom: 20px;
        background-color: #222;
        border: none;
        border-radius: 8px;
        color: #fff;
        font-size: 1rem;
    }

    .login-form button {
        width: 100%;
        padding: 14px;
        background-color: #a788ff;
        border: none;
        color: #000;
        font-weight: bold;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

    .login-form button:hover {
        background-color: #c2a6ff;
    }
}

