.monitoring-container {
    width: 90%;
    max-width: 2400px; /* Maintient la largeur maximale pour les grands écrans */
    margin: 0 auto 40px;

    /* Styles directement appliqués de .login-container pour le look sobre et élégant */
    background: linear-gradient(145deg, var(--card-bg-color), rgba(15, 23, 46, 0.9));
    border-radius: 15px;
    padding: 40px 50px; /* Padding de base, sera écrasé par responsive.css sur petits écrans */
    box-shadow: 0 15px 35px var(--shadow-dark); /* Ombre principale comme sur login-container */
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    position: relative; /* Conservé car présent sur login-container (pour d'éventuels futurs éléments internes) */
    overflow: hidden; /* Conservé car présent sur login-container */
    animation: slideInUp 0.8s ease-out forwards; /* Animation d'entrée */
}

/* Pseudo-éléments décoratifs pour monitoring-container */
.monitoring-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    filter: blur(15px);
    z-index: -1;
}
.monitoring-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 70px;
    height: 70px;
    background: rgba(255, 215, 0, 0.08);
    border-radius: 50%;
    filter: blur(20px);
    z-index: -1;
}

/* Styles pour le lien de retour à l'accueil - DÉPLACÉ ICI */
.back-home {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 50px;
}

.back-home a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    background-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.back-home a:hover {
    color: #e6b800;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.back-home a .fas {
    font-size: 1.3em;
}

/* Styles pour les liens-images de la page d'accueil (image-links-container) */
.image-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px; /* Ajusté à 30px pour plus de compacité */
    margin-top: 50px;
    padding: 40px 50px; /* Padding comme login-container */
    background: linear-gradient(145deg, rgba(22, 33, 62, 0.95), rgba(15, 23, 46, 0.9));
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out forwards;
    width: 95%; /* Pour s'adapter à la largeur */
    max-width: 1400px; /* Une max-width pour ne pas être trop large, peut être ajustée pour 4K */
    margin: 50px auto; /* Centrer horizontalement */
}

/* Pseudo-éléments décoratifs pour image-links-container (comme login-container) */
.image-links-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 50%;
    filter: blur(15px);
    z-index: -1;
}
.image-links-container::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 70px;
    height: 70px;
    background: rgba(255, 215, 0, 0.08);
    border-radius: 50%;
    filter: blur(20px);
    z-index: -1;
}

.image-link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-color);
    padding: 20px; /* Padding interne comme le login-container */
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    background: linear-gradient(145deg, var(--card-bg-color), rgba(38, 60, 128, 0.9));
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.15);
    flex: 1 1 calc(33.333% - 40px); /* 3 éléments par ligne avec gap de 30px (40px pour le total des gaps) */
    max-width: calc(33.333% - 40px); /* Assure la flexibilité */
    min-width: 250px; /* Taille minimale pour éviter le rétrécissement excessif */
    box-sizing: border-box; /* Inclut padding et border dans la largeur */
}

.image-link-item:hover {
    transform: translateY(-8px) scale(1.02); /* Effet plus prononcé */
    background-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.4);
}

.image-link-item img {
    width: 250px; /* Taille par défaut */
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.image-link-item:hover img {
    transform: scale(1.05);
}

.image-link-item span {
    font-size: 1.5em; /* Ajusté à 1.5em */
    font-weight: bold;
    text-align: center;
    color: var(--accent-color);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.3);
}

/* NOUVEAUX STYLES POUR CENTRER LE TITRE ET LE LOGO ET REDIMENSIONNER LE LOGO */
.main-header-title {
    display: flex; /* Active Flexbox */
    flex-direction: column; /* Empile les éléments verticalement */
    align-items: center; /* Centre horizontalement les éléments enfants */
    justify-content: center; /* Centre verticalement les éléments enfants (si le conteneur a une hauteur définie) */
    text-align: center; /* Pour s'assurer que le texte du h1 est aussi centré */
    margin-bottom: 40px; /* Ajuste l'espace sous le titre */
}

.main-header-title .header-logo {
    width: 120px; /* Réduit la largeur de l'image. Ajustez cette valeur si nécessaire. */
    height: auto; /* Maintient le ratio d'aspect de l'image */
    margin-top: 20px; /* Ajoute un espace entre le h1 et l'image */
}