/* Ne centre que la page de login */
.login-logo {
    position: absolute;
    top: 40px;            /* distance du haut de la page */
    right: 40px;          /* Passe de left:50% à right:40px pour aligner à droite */
    left: auto;
/*    transform: none; */
    width: 640px;         /* adapte selon la taille de ton logo */
    right: 30px;          /* Passe de left:50% à right:40px pour aligner à droite */
    height: auto;
    z-index: 10;          /* pour s'assurer qu'il soit au-dessus de l'image de fond */
    pointer-events: none; /* optionnel : le logo ne capte pas les clics */
}
body.login {
    position: relative;   /* pour rendre le positionnement absolu du logo cohérent */
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-image: url('../img/datacenter_blanc.jpg');
    background-size: cover;        /* couvre tout l'écran */
    background-position: center;   /* centre l'image */
    background-repeat: no-repeat;  /* pas de répétition */
    background-color: #f0f2f5;     /* peut servir en fallback */
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f2f5;
}
.login-container {
    position: relative; /* Ajouté pour permettre la position absolue des enfants */
    width: 300px;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    width: 300px;

}
.back-button {  
    position: absolute;  
    top: 9px;  
    right: 15px; /* Positionné à droite */  
    width: 40px;  
    height: 40px;  
    background-color: rgba(255, 255, 255, 0.8);  
    border-radius: 50%;  
    display: flex;  
    justify-content: center;  
    align-items: center;  
    cursor: pointer;  
    z-index: 2;  
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  
}  
  
.back-button::before,  
.back-button::after {  
    content: '';  
    position: absolute;  
    width: 20px;  
    height: 2px;  
    background-color: #34495e;  
}  
  
.back-button::before {  
    transform: rotate(45deg);  
}  
  
.back-button::after {  
    transform: rotate(-45deg);  
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
}
.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.form-group button {
    width: 100%;
    padding: 10px;
/*    background-color: #4CAF50; */
    background-color: #5A6798;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1.3em;  
    cursor: pointer;
}
.form-group button:hover {
/*    background-color: #45a049; */
    background-color: #6C5A98;
}
.logout-btn {
    width: 150px; /* S'étendra sur la largeur du conteneur */
    padding: 10px;
    background-color: #5A6798;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.2em;
    margin-bottom: 10px;
}
.logout-btn:hover {
    background-color: #6C5A98;
    color: white;
}
.table-action-btn {
    padding: 8px 14px;
    background-color: #1976d2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
}

.table-action-btn:hover {
    background-color: #1565c0;
}
table tr:nth-child(even) {
    background-color: #f4f4f4;   /* Gris clair */
}
table tr:nth-child(odd) {
    background-color: #fff;      /* Blanc */
}
.version-info {
    font-size: 0.75em;
    color: #666;
    text-align: right;
    width: 100%;
    margin-top: 8px;
    overflow: hidden;
    position: relative;
    height: 1.2em;
}

.version-info .marquee {
    display: inline-block;
    white-space: nowrap;
    position: absolute;
    /* Animation plus lente (20s au lieu de 7s) */
    animation: marquee-rtl 15s linear infinite;
    /* Commence hors du conteneur à droite */
    right: -60%;
}

@keyframes marquee-rtl {
    0%   { right: -60%; }
    100% { right: 100%; }
}
