/* Sidebar */
.sts-sidebar {
    width: 220px;
    min-width: 220px;
    background-color: #1a1a2e;
}

    .sts-sidebar .nav-link {
        color: rgba(255,255,255,0.7);
        border-radius: 6px;
        padding: 8px 12px;
        transition: background-color 0.15s;
        background-color: transparent; /* ← neutralise le bg blanc Bootstrap */
    }

    .sts-sidebar .nav-link:hover,
    .sts-sidebar .nav-link.active {
        color: #fff !important;
        background-color: rgba(255,255,255,0.1) !important;
    }

/* Layout principal */
.sts-main {
    background-color: #f8f9fa;
}

.rules-page .card {
    --bs-card-cap-bg: #1a1a2e;
    --bs-card-cap-color: #fff;
    --bs-card-border-color: rgba(255,255,255,0.1);
}

/* Modals sans JS Bootstrap */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1040;
}

.modal.d-block {
    z-index: 1050;
}

/* Tables */
.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Badges jobs */
.badge-job {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Liste effets */
.effect-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 8px;
}

/* Blazor error */
#blazor-error-ui {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
}


