/* style.css */

body {
    font-family: Arial, sans-serif;
    background-color: #f3f4f6;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    direction: rtl; /* Définit la direction de la page en RTL */
}

.login-container {
    background-color: #fff;
    padding: 2rem;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.input-group {
    margin-bottom: 1.25rem;
    text-align: right; /* Aligne le contenu à droite */
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
    text-align: right; /* Aligne le label à droite */
}

.input-group input[type="text"],
.input-group input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
}

.remember-me {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 0.5rem; /* Espace entre la case à cocher et le texte */
    font-size: 0.95rem;
    color: #555;
}

.button {
    background-color: #4CAF50;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 1rem;
}

.button:hover {
    background-color: #45a049;
}

.message {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #e74c3c;
}

.message.success {
    color: #2ecc71;
}

.admin-info {
    background-color: #f8f9fa;
    padding: 10px;
    text-align: center;
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
}

.admin-container {
    padding-top: 20px; /* Espacement pour séparer du message de connexion */
}

