/* Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Container for the login box */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f1f1f1;
}

/* The login box itself */
.login-box {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

.input-group input:focus {
    outline: none;
    border-color: #4CAF50;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

/* Error message */
.error-message {
    color: #ff4d4d;
    font-size: 14px;
    margin-top: 15px;
}

/* Media query for responsiveness */
@media screen and (max-width: 500px) {
    .login-box {
        padding: 20px;
        width: 90%;
    }

    h2 {
        font-size: 20px;
    }

    .input-group input {
        font-size: 14px;
    }

    button {
        font-size: 14px;
    }
}
/* Conteneur de bannière */
#banner-container {
  position: fixed;
  top: 69px;
  left: 0;
  width: 100%;
  z-index: 10000;
  pointer-events: none;
}

/* Bannière pleine largeur */
#banner-container .banner {
  display: block;            /* pleine largeur */
  width: 100%;
  box-sizing: border-box;    /* padding inclus */
  padding: 0.75rem 1.5rem;
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  pointer-events: auto;
  animation: fadeOut 5s ease-out forwards;
}

/* États */
#banner-container .banner.success { background: #28a745; }
#banner-container .banner.error   { background: #dc3545; }

.hidden { display: none !important; }

