/* _content/QwirkleWebAdmin/Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ylegspea80] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ylegspea80] {
    flex: 1;
}

.sidebar[b-ylegspea80] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ylegspea80] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ylegspea80]  a, .top-row[b-ylegspea80]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ylegspea80]  a:hover, .top-row[b-ylegspea80]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ylegspea80]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ylegspea80] {
        justify-content: space-between;
    }

    .top-row[b-ylegspea80]  a, .top-row[b-ylegspea80]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ylegspea80] {
        flex-direction: row;
    }

    .sidebar[b-ylegspea80] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ylegspea80] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ylegspea80]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ylegspea80], article[b-ylegspea80] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-ylegspea80] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-ylegspea80] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/QwirkleWebAdmin/Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-obnkzyhey7] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
    z-index: 5;
}

    .navbar-toggler:checked[b-obnkzyhey7] {
        background-color: rgba(255, 255, 255, 0.5);
    }

.top-row[b-obnkzyhey7] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
}

.navbar-brand[b-obnkzyhey7] {
    font-size: 1.2rem; 
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-icon[b-obnkzyhey7] {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    opacity: 0.8;
    vertical-align: middle;
    transition: opacity 0.2s;
}

.nav-item[b-obnkzyhey7] {
    font-size: 1.1rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-obnkzyhey7] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-obnkzyhey7] {
        padding-bottom: 1rem;
    }

    .nav-item[b-obnkzyhey7]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3.5rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
        transition: all 0.2s;
        padding-left: 1rem;
    }

    .nav-item[b-obnkzyhey7]  a.active {
        background-color: rgba(255,255,255,0.37);
        color: white;
        font-weight: 600;
    }

        .nav-item[b-obnkzyhey7]  a.active .nav-icon {
            opacity: 1;
        }

    .nav-item[b-obnkzyhey7]  .nav-link:hover {
        background-color: rgba(255,255,255,0.1);
        color: white;
    }

        .nav-item[b-obnkzyhey7]  .nav-link:hover .nav-icon {
            opacity: 1;
        }

.nav-scrollable[b-obnkzyhey7] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-obnkzyhey7] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-obnkzyhey7] {
        display: none;
    }

    .nav-scrollable[b-obnkzyhey7] {
        display: block;
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
.nav-icon[b-obnkzyhey7] {
    display: inline-block;
    width: 2rem; /* Largeur fixe pour l'alignement */
    font-size: 1.25rem; /* Taille un peu plus grande pour l'emoji */
    text-align: center;
    margin-right: 0.5rem;
}

/* vite que l'email fasse sauter la mise en page dans la marque */
.navbar-brand[b-obnkzyhey7] {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}
/* _content/QwirkleWebAdmin/Components/Pages/Connexion/Connexion.razor.rz.scp.css */
.status-alert[b-qpd7wb3hnw] {
    max-width: 360px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0.5rem 0.75rem !important;
}

.connexion-avatar[b-qpd7wb3hnw] {
    font-size: 1.5rem;
}

.connexion-title[b-qpd7wb3hnw] {
    letter-spacing: 0.02em;
}

.mud-paper .mud-button[b-qpd7wb3hnw] {
    border-radius: 999px;
}
/* _content/QwirkleWebAdmin/Components/Pages/Monitoring/Monitoring.razor.rz.scp.css */
/* Change le curseur en main pour indiquer que c'est cliquable */
.cursor-pointer[b-unqc2o4o5a] {
    cursor: pointer;
}

/* Carte de serveur avec fond blanc et bordure */
.stat-card[b-unqc2o4o5a] {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 16px; /* Bords arrondis */
    transition: all 0.2s ease-in-out; /* Animation douce sur toutes les propriétés */
}

/* Effet au survol : la carte remonte légèrement avec une ombre plus importante */
.stat-card:hover[b-unqc2o4o5a] {
    transform: translateY(-3px); /* Décale vers le haut */
    box-shadow: 0 10px 15px rgba(0,0,0,0.05); /* Ombre plus prononcée */
    border-color: #b0b0b0;
    cursor: pointer;
}

/* Style spécial quand un serveur est sélectionné */
.stat-card.selected[b-unqc2o4o5a] {
    border: 2px solid #0d6efd; /* Bordure bleue pour indiquer la sélection */
    background-color: #f0f7ff; /* Fond légèrement bleu */
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1); /* Halo bleu autour */
}


/* Contient l'icône emoji (🖥️) du serveur */
.stat-icon[b-unqc2o4o5a] {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

/* Propriété CSS personnalisée pour animer la barre de progression du cercle */
@property --p {
    syntax: '<number>'; /* Type : nombre */
    inherits: false; /* N'est pas hérité par les enfants */
    initial-value: 0; /* Commence à 0 */
}


/* Cercle de progression pour afficher l'usage CPU ou mémoire avec une animation */
.progress-circle[b-unqc2o4o5a] {
    --value: 0; /* Pourcentage de remplissage (0-100), défini en ligne */
    --color: #007bff; /* Couleur de la barre, définie en ligne */
    width: 160px;
    height: 160px;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: conic-gradient(var(--color) calc(var(--p) * 1%), #f3f4f6 0%); /* Dégradé circulaire pour créer l'anneau */
    animation: fillAnimation-b-unqc2o4o5a 1s ease-out forwards; /* Animation de remplissage */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Crée le cercle blanc au centre de la barre de progression */
.progress-circle[b-unqc2o4o5a]::after {
    content: ''; /* Pseudo-élément vide */
    position: absolute;
    width: 130px; /* Légèrement plus petit que le parent pour créer l'effet d'anneau */
    height: 130px;
    border-radius: 50%;
    background: white;
}

/* Conteneur pour le texte à l'intérieur du cercle de progression */
.progress-circle-inner[b-unqc2o4o5a] {
    position: relative;
    z-index: 2; /* Au-dessus du pseudo-élément ::after */
    text-align: center;
    display: flex;
    flex-direction: column;
}

/* Affiche la valeur numérique (ex: "75%") dans le cercle */
.progress-value[b-unqc2o4o5a] {
    font-size: 2rem;
    font-weight: 800; /* Très gras pour bien se voir */
    color: #333;
    line-height: 1.2;
}

/* Label pour décrire la valeur (ex: "CPU" ou "Mémoire") */
.progress-label[b-unqc2o4o5a] {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase; /* Texte en majuscules */
}

/* Animation qui fait remplir progressivement le cercle */
@keyframes fillAnimation-b-unqc2o4o5a {
    from { --p: 0; } /* Commence vide */
    to { --p: var(--value); } /* Remplit jusqu'à la valeur cible */
}

/* Animation d'apparition avec glissement vers le haut */
.animate-slide-up[b-unqc2o4o5a] {
    animation: slideUp-b-unqc2o4o5a 0.3s ease-out;
}

/* Keyframes pour glisser vers le haut et apparaître */
@keyframes slideUp-b-unqc2o4o5a {
    from { opacity: 0; transform: translateY(15px); } /* Commence invisible et décalé */
    to { opacity: 1; transform: translateY(0); } /* Devient visible à la position finale */
}

/* Fond vert pâle avec texte vert pour indiquer un statut OK */
.bg-success-subtle[b-unqc2o4o5a] { background-color: #d1e7dd !important; color: #0f5132 !important; }

/* Fond rouge pâle avec texte rouge pour indiquer un statut critique */
.bg-danger-subtle[b-unqc2o4o5a] { background-color: #f8d7da !important; color: #842029 !important; }





/* Fond semi-transparent qui s'affiche derrière une modale */
.modal-backdrop[b-unqc2o4o5a] {
    position: fixed; /* Couvre toute la fenêtre du navigateur */
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Noir semi-transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050; /* Très haut pour être au-dessus du contenu */
    backdrop-filter: blur(2px); /* Léger flou sur l'arrière-plan */
}

/* Contenu principal d'une fenêtre modale */
.modal-content-custom[b-unqc2o4o5a] {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); /* Ombre prononcée */
    display: flex;
    flex-direction: column;
    max-height: 80vh; /* Hauteur max pour laisser de la place */
    animation: modalPop-b-unqc2o4o5a 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animation d'apparition avec effet de "pop" */
}

/* Zone d'affichage des logs avec un style de terminal */
.log-viewer[b-unqc2o4o5a] {
    background-color: #1e1e1e; /* Fond sombre de terminal */
    color: #d4d4d4; /* Texte clair */
    font-family: 'Consolas', 'Monaco', monospace; /* Police à chasse fixe (monospace) */
    padding: 15px;
    border-radius: 6px;
    overflow-y: auto; /* Scroll si le contenu dépasse */
    max-height: 400px;
    font-size: 0.9rem;
    line-height: 1.5;
    white-space: pre-wrap; /* Conserve les sauts de ligne et espaces du texte */
}

/* Animation d'apparition "pop" pour les modales */
@keyframes modalPop-b-unqc2o4o5a {
    from { transform: scale(0.9); opacity: 0; } /* Commence petit et invisible */
    to { transform: scale(1); opacity: 1; } /* Finit à taille normale et visible */
}
