/* =============================================
   NewParc - Thème Backpack personnalisé
   Palette neutre alignée sur l'app Angular
   ============================================= */

/* Header supprimé — tout est dans la sidebar */

/* Typographie générale */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
    color: #3c4043;
}

h1, h2, h3, h4, h5, h6 {
    color: #1e2022;
}

/* Liens */
a {
    color: #1a73e8;
}
a:hover {
    color: #1558c7;
}

/* Cards - bordures légères, sans ombre forte */
.card {
    border: 1px solid #e0e0e0;
    border-radius: 0.2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    font-weight: 600;
    color: #3c4043;
}

/* Boutons - border-radius minimal */
.btn {
    border-radius: 0.2rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Inputs */
.form-control,
.form-select,
.input-group-text {
    border-radius: 0.2rem;
    border-color: #c0c0c0;
    color: #3c4043;
}

.form-control:focus,
.form-select:focus {
    border-color: #858585;
    box-shadow: 0 0 0 2px rgba(133, 133, 133, 0.15);
}

/* Badges */
.badge.bg-primary {
    background-color: #858585 !important;
}

/* DataTable - thead sobre */
#crudTable thead th {
    background-color: #f8f9fa;
    color: #5f6368;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e0e0e0;
}

#crudTable tbody tr:hover {
    background-color: #f8f9ff;
}

/* Breadcrumbs */
.breadcrumb-item a {
    color: #1a73e8;
}

/* Textes secondaires */
.text-muted {
    color: #5f6368 !important;
}

/* Alerts */
.alert {
    border-radius: 0.2rem;
    border-left-width: 4px;
}

/* Sidebar scrollbar discret */
.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}