/* Configuration de base pour l'intranet */
html, body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding: 1.5rem;
}

/* Header COREVA */
header {
    background-color: white;
}

.main-title-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: #333;
}

/* Barre de navigation grise */
.bg-light-grey {
    background-color: #D6D6D6; /* Le gris de votre image */
    border-top: 1px solid #A0A0A0;
    border-bottom: 1px solid #A0A0A0;
}

.custom-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

    .custom-nav .nav-item {
        border-right: 1px solid #B0B0B0;
    }

        .custom-nav .nav-item:last-child {
            border-right: none;
        }

    .custom-nav .nav-link {
        display: block;
        padding: 10px 20px;
        text-decoration: none;
        color: #000 !important;
        font-weight: 600;
        font-size: 0.95rem;
        transition: background-color 0.2s;
    }

        .custom-nav .nav-link:hover {
            background-color: #C0C0C0;
        }

/* Affichage des erreurs Blazor en bas */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}
/* Style pour les dropdowns Bootstrap */
.dropdown-menu {
    background-color: #f8f9fa;
    border-radius: 0; /* Carré comme sur votre image */
    border: 1px solid #A0A0A0;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.dropdown-item:hover {
    background-color: #D6D6D6;
    color: #000;
}

/* Enlever la petite flèche si vous voulez coller à l'image */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}