/* CREPP — Styles */

:root {
    --crepp-blue:       #0d3b6e;
    --crepp-blue-light: #1a5a9a;
}

body {
    background-color: #f8f9fa;
    font-size: 0.92rem;
}

.navbar {
    background-color: var(--crepp-blue) !important;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

.navbar-brand {
    font-size: 1.1rem;
    letter-spacing: .05em;
}

/* Cards */
.card {
    border: 1px solid #dee2e6;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.card-header {
    background-color: #f1f3f5;
    font-weight: 600;
    font-size: 0.88rem;
    padding: .5rem .75rem;
    border-bottom: 1px solid #dee2e6;
}

/* Table */
.table-hover tbody tr:hover {
    background-color: #eef4fb;
}

.table th {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #6c757d;
    font-weight: 600;
}

/* Badges */
.badge { font-size: 0.72rem; }

/* Stats cards */
.card .fs-1 { line-height: 1.1; }

/* Form switches */
.form-check-input:checked {
    background-color: var(--crepp-blue);
    border-color: var(--crepp-blue);
}

/* Code ID */
code.text-primary {
    font-size: 0.8rem;
    background: #e8f0fb;
    padding: 1px 5px;
    border-radius: 3px;
}

/* Ateliers card (formulaire public) */
.atelier-card {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: .6rem .9rem;
    cursor: pointer;
    transition: border-color .15s, background .15s;
}
.atelier-card:has(input:checked) {
    background: #e8f0ff;
    border-color: #0d6efd;
}

/* Responsive table */
@media (max-width: 768px) {
    .table-responsive { font-size: 0.8rem; }
}

/* Nav pills actifs */
.nav-pills .nav-link.active {
    background-color: var(--crepp-blue);
}

/* Progress bars dans anciens membres */
.progress { border-radius: 6px; }
