/* /Layout/MainLayout.razor.rz.scp.css */
.page[b-kkkaug5jjt] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-kkkaug5jjt] {
    flex: 1;
    min-width: 0;
    background-color: #f1f5f9;
}

.sidebar[b-kkkaug5jjt] {
    background-color: #111827;
}

/* ---------- Barre du haut ---------- */
.top-row[b-kkkaug5jjt] {
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 0 1.5rem;
    background-color: #111827;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-user[b-kkkaug5jjt] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-right: 0.5rem;
    color: #e2e8f0;
    font-size: 0.9rem;
}

.top-avatar[b-kkkaug5jjt] {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #1e3a5f, #3b82f6);
}

.top-name[b-kkkaug5jjt] {
    font-weight: 500;
    line-height: 1.15;
}

.top-role[b-kkkaug5jjt] {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.top-btn[b-kkkaug5jjt] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 2.2rem;
    padding: 0 0.9rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.top-btn-ghost[b-kkkaug5jjt] {
    background: none;
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.12);
}

    .top-btn-ghost:hover[b-kkkaug5jjt] {
        background-color: rgba(255, 255, 255, 0.07);
        color: #fff;
        text-decoration: none;
    }

.top-btn-primary[b-kkkaug5jjt] {
    background-color: #3b82f6;
    color: #fff;
}

    .top-btn-primary:hover[b-kkkaug5jjt] {
        background-color: #2563eb;
        color: #fff;
        text-decoration: none;
    }

/* ---------- Petits �crans ---------- */
@media (max-width: 640.98px) {
    .top-row[b-kkkaug5jjt] {
        padding: 0 1rem;
    }

    .top-name[b-kkkaug5jjt],
    .top-btn span[b-kkkaug5jjt] {
        display: none;
    }
}

/* ---------- Grands �crans : menu � gauche, contenu � droite ---------- */
@media (min-width: 641px) {
    .page[b-kkkaug5jjt] {
        flex-direction: row;
    }

    .sidebar[b-kkkaug5jjt] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-kkkaug5jjt] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    article[b-kkkaug5jjt] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* ---------- Bandeau d'erreur Blazor ---------- */
#blazor-error-ui[b-kkkaug5jjt] {
    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-kkkaug5jjt] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* nom de la compagnie courante : à gauche, en gros */
.top-company[b-kkkaug5jjt] {
    margin-right: auto;          /* pousse l'utilisateur et la déconnexion à droite */
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

    .top-company i[b-kkkaug5jjt] {
        font-size: 1.3rem;
        color: #60a5fa;
    }

    .top-company span[b-kkkaug5jjt] {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-company[b-kkkaug5jjt] {
        font-size: 1.1rem;
    }

        .top-company i[b-kkkaug5jjt] {
            font-size: 1rem;
        }
}

/* logo de la compagnie dans la barre du haut (remplace l'icône) */
.top-logo[b-kkkaug5jjt] {
    height: 2.3rem;
    max-width: 7rem;
    object-fit: contain;
    padding: 0.2rem 0.35rem;
    border-radius: 0.4rem;
    background: #fff;
}

@media (max-width: 640.98px) {
    .top-logo[b-kkkaug5jjt] {
        height: 1.8rem;
        max-width: 4.5rem;
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
.top-row[b-r8vt2fvbm9] {
    height: 3.5rem;
    background-color: #111827;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-brand[b-r8vt2fvbm9] {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #fff;
}

    .navbar-brand i[b-r8vt2fvbm9] {
        color: #60a5fa;
        margin-right: 0.5rem;
    }

    .navbar-brand span[b-r8vt2fvbm9] {
        color: #60a5fa;
        font-weight: 500;
    }

.navbar-toggler[b-r8vt2fvbm9] {
    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);
}

    .navbar-toggler:checked[b-r8vt2fvbm9] {
        background-color: rgba(255, 255, 255, 0.5);
    }

/* ---------- Panneau de navigation ---------- */
.nav-scrollable[b-r8vt2fvbm9] {
    background-color: #111827;
    padding: 0.5rem 0.75rem 1rem;
}

.nav-section-title[b-r8vt2fvbm9] {
    margin: 1.1rem 0.5rem 0.4rem;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.nav-item[b-r8vt2fvbm9],
.nav-group[b-r8vt2fvbm9] {
    margin-bottom: 0.15rem;
}

/* Liens et boutons de groupe */
.nav-scrollable[b-r8vt2fvbm9]  .nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    height: 2.6rem;
    padding: 0 0.85rem;
    border: none;
    border-radius: 0.5rem;
    background: none;
    text-align: left;
    font-size: 0.92rem;
    line-height: 1;
    color: #cbd5e1;
    transition: background-color 0.15s, color 0.15s;
}

    .nav-scrollable[b-r8vt2fvbm9]  .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.07);
        color: #fff;
    }

.nav-scrollable[b-r8vt2fvbm9]  a.nav-link.active {
    background-color: rgba(59, 130, 246, 0.18);
    color: #fff;
    box-shadow: inset 3px 0 0 #3b82f6;
}

.nav-link i.bi[b-r8vt2fvbm9] {
    font-size: 1.1rem;
    width: 1.25rem;
    text-align: center;
}

/* ---------- Groupes et sous-menus ---------- */
.nav-group-toggle[b-r8vt2fvbm9] {
    cursor: pointer;
}

.nav-group.active > .nav-group-toggle[b-r8vt2fvbm9] {
    color: #fff;
}

    .nav-group.active > .nav-group-toggle i.bi:first-child[b-r8vt2fvbm9] {
        color: #60a5fa;
    }

.chevron[b-r8vt2fvbm9] {
    margin-left: auto;
    font-size: 0.75rem !important;
    transition: transform 0.25s ease;
}

.nav-group.open .chevron[b-r8vt2fvbm9] {
    transform: rotate(180deg);
}

.submenu[b-r8vt2fvbm9] {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.25s ease;
}

.nav-group.open .submenu[b-r8vt2fvbm9] {
    grid-template-rows: 1fr;
}

.submenu-inner[b-r8vt2fvbm9] {
    overflow: hidden;
    visibility: hidden;
    margin-left: 1.45rem;
    padding-left: 0.6rem;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    transition: visibility 0.25s;
}

.nav-group.open .submenu-inner[b-r8vt2fvbm9] {
    visibility: visible;
}

.submenu-inner[b-r8vt2fvbm9]  .nav-link {
    height: 2.3rem;
    margin-top: 0.1rem;
    font-size: 0.86rem;
    color: #94a3b8;
}

/* ---------- Affichage selon la taille d'�cran ---------- */
@media (min-width: 641px) {
    .navbar-toggler[b-r8vt2fvbm9] {
        display: none;
    }

    .collapse[b-r8vt2fvbm9] {
        display: block;
    }

    .nav-scrollable[b-r8vt2fvbm9] {
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Pages/Compagnies/CompanyCreate.razor.rz.scp.css */
.form-card[b-a4nal6xeon] {
    max-width: 760px;
    margin: 2rem auto;
    padding: 2rem 2.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    box-shadow: 0 4px 16px rgba(17, 24, 39, 0.08);
}

    .form-card h1[b-a4nal6xeon] {
        margin: 0 0 1.5rem;
        font-size: 1.6rem;
        font-weight: 700;
        color: #111827;
    }

.form-grid[b-a4nal6xeon] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}

.field[b-a4nal6xeon] {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

    .field.full[b-a4nal6xeon] {
        grid-column: 1 / -1;
    }

    .field label[b-a4nal6xeon] {
        font-size: 0.85rem;
        font-weight: 500;
        color: #475569;
    }

.input[b-a4nal6xeon] {
    height: 2.4rem;
    padding: 0 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

    .input:focus[b-a4nal6xeon] {
        outline: none;
        border-color: #3b82f6;
        box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    }

.form-error[b-a4nal6xeon] {
    margin-top: 1rem;
    padding: 0.7rem 0.9rem;
    border-radius: 0.5rem;
    background: #fef2f2;
    color: #b91c1c;
    font-size: 0.9rem;
}

.form-actions[b-a4nal6xeon] {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.btn-primary[b-a4nal6xeon],
.btn-secondary[b-a4nal6xeon] {
    display: inline-flex;
    align-items: center;
    height: 2.4rem;
    padding: 0 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary[b-a4nal6xeon] {
    background: #3b82f6;
    color: #fff;
    border: 1px solid transparent;
}

    .btn-primary:hover:not(:disabled)[b-a4nal6xeon] {
        background: #2563eb;
    }

    .btn-primary:disabled[b-a4nal6xeon] {
        opacity: 0.6;
        cursor: default;
    }

.btn-secondary[b-a4nal6xeon] {
    background: none;
    color: #475569;
    border: 1px solid #cbd5e1;
}

    .btn-secondary:hover[b-a4nal6xeon] {
        background: #f1f5f9;
    }

@media (max-width: 640.98px) {
    .form-grid[b-a4nal6xeon] {
        grid-template-columns: 1fr;
    }
}
/* /Pages/Home.razor.rz.scp.css */
.home[b-lgri3m7t49] {
    max-width: 960px;
    margin: 2rem auto;
}

.home-hero[b-lgri3m7t49] {
    padding: 2.5rem 2.5rem 2.75rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #111827 0%, #1e3a5f 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.25);
}

    .home-hero h1[b-lgri3m7t49] {
        margin: 0 0 0.5rem;
        font-size: 2rem;
        font-weight: 700;
        color: #fff;
    }

    .home-hero p[b-lgri3m7t49] {
        margin: 0 0 1.75rem;
        max-width: 38rem;
        font-size: 1.05rem;
        color: #cbd5e1;
    }

.home-btn[b-lgri3m7t49] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 2.6rem;
    padding: 0 1.25rem;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.home-btn-primary[b-lgri3m7t49] {
    background-color: #3b82f6;
    color: #fff;
}

    .home-btn-primary:hover[b-lgri3m7t49] {
        background-color: #2563eb;
        color: #fff;
        text-decoration: none;
    }

.home-btn-icon[b-lgri3m7t49] {
    font-size: 1.25rem;
    line-height: 1;
}

@media (max-width: 640.98px) {
    .home[b-lgri3m7t49] {
        margin: 1rem auto;
    }

    .home-hero[b-lgri3m7t49] {
        padding: 1.5rem;
    }

        .home-hero h1[b-lgri3m7t49] {
            font-size: 1.5rem;
        }
}
