/* Global Styles */
* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f4f6f9;
    flex-direction: column; /* Important to stack title above login form */
}

/* Titre centré en haut */
.auth-title {
    font-size: 1.8rem; /* Titre plus petit */
    color: #16a085;
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: bold;
}

/* Container pour le bloc de connexion */
.container {
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin-top: 10px; /* Petite séparation entre le titre et le bloc */
}

/* Bloc de connexion */
.auth {
    width: 100%;
}

.auth h2 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.auth form {
    display: flex;
    flex-direction: column;
}

.auth form label {
    margin-bottom: 8px;
    color: #333;
    font-size: 1rem;
}

.auth form input {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.auth form button {
    padding: 12px;
    background-color: #16a085;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.auth form button:hover {
    background-color: #0056b3;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .container {
        width: 90%;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth form button {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .auth-title {
        font-size: 1.3rem;
    }

    .container {
        padding: 20px;
    }
}
