/* ==========================================
   VARIABLES ET COULEURS
   ========================================== */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --info-color: #16a085;
    --light-bg: #ecf0f1;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #bdc3c7;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* ==========================================
   RESET ET BASE
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==========================================
   HEADER
   ========================================== */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    width: 100%;
}

header h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(1rem, 5.5vw, 5rem);
    font-weight: 400;
    letter-spacing: 0;
    margin: 0 auto;
    color: #f8f9fa;
    text-transform: lowercase;
    line-height: 1.2;
    width: 90%;
    max-width: 90%;
    white-space: nowrap;
}

/* ==========================================
   NAVBAR BURGER
   ========================================== */
.barre {
    background-color: var(--white);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
}

.barre > .element,
.barre > .menu {
    padding: 1rem 1.5rem;
    position: relative;
}

.rubrique {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    display: block;
    transition: var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.barre > .element.rubrique:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Menu déroulant */
.menu {
    position: relative;
}

.menu:hover .sousMenu {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.sousMenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-hover);
    min-width: 220px;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.sousMenu .element {
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid var(--light-bg);
}

.sousMenu .element:last-child {
    border-bottom: none;
}

.sousMenu .rubrique:hover {
    background-color: var(--light-bg);
    padding-left: 1.75rem;
}

/* Boutons dans la navbar */
.barre form {
    margin: 0;
    padding: 0;
}

.barre button.dropdown-item {
    background: none;
    border: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
    font-family: inherit;
    width: 100%;
    text-align: left;
}

.barre > .element form button.dropdown-item:hover {
    color: var(--white);
}

.sousMenu button.dropdown-item:hover {
    background-color: transparent;
}

/* Lien Aide à droite */
.aide-link {
    margin-left: auto !important;
}

/* Burger menu pour mobile */
.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 1rem;
    background: none;
    border: none;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
    display: block;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Animation du sous-menu */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive navbar - BURGER MOBILE */
@media (max-width: 768px) {
    .burger-menu {
        display: flex;
        margin-left: auto;
    }

    .barre {
        flex-direction: column;
        align-items: stretch;
    }

    .barre > .element,
    .barre > .menu {
        display: none;
        width: 100%;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid var(--light-bg);
    }

    .barre.active > .element,
    .barre.active > .menu {
        display: block;
    }

    .menu .sousMenu {
        position: static;
        box-shadow: none;
        background-color: var(--light-bg);
        padding-left: 1rem;
        display: none;
    }

    .menu:hover .sousMenu,
    .menu.active .sousMenu {
        display: block;
    }

    .sousMenu .element {
        padding: 0.5rem 1rem;
    }

    .rubrique {
        font-size: 0.9rem;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .barre > .element,
    .barre > .menu {
        padding: 0.75rem 1rem;
    }
}

/* ==========================================
   MAIN CONTENT - 90% LARGEUR
   ========================================== */
main {
    flex: 1;
    padding: 2rem 0;
    width: 90%;
    max-width: 90%;
    margin: 0 auto;
}

/* Titres centrés sur 100% */
main > .container.text-center,
main > h1,
main > h2 {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

/* ==========================================
   CARDS - 90% LARGEUR
   ========================================== */
.card {
    background: var(--white);
    border: none;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 100%;
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--info-color) 100%);
    color: var(--white);
    border: none;
    padding: 1.5rem;
}

.card-header h2 {
    color: var(--white);
    margin-bottom: 0;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.card-text {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.card-body {
    padding: 1.5rem;
}

/* Badge pour participants inscrits */
.badge {
    padding: 0.35rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 20px;
    margin-left: 0.5rem;
    display: inline-block;
    white-space: nowrap;
}

.badge.bg-success {
    background-color: var(--success-color) !important;
}

.badge.bg-warning {
    background-color: var(--warning-color) !important;
}

.badge.bg-info {
    background-color: var(--info-color) !important;
    color: var(--white) !important;
}

.badge.bg-primary {
    background-color: var(--secondary-color) !important;
    color: var(--white) !important;
}

/* Responsive badges */
@media (max-width: 768px) {
    .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        display: block;
        width: fit-content;
        margin: 0.25rem 0 0 0;
    }
}

/* ==========================================
   FORMULAIRES
   ========================================== */
form {
    margin-top: 1rem;
}

form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: var(--transition);
}

form label:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--secondary-color);
}

input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

/* Zone de commentaire auto-save */
.commentaire-auto-save {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
}

.commentaire-auto-save:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.save-status {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.save-status .saving {
    color: var(--warning-color);
}

.save-status .saved {
    color: var(--success-color);
}

/* ==========================================
   BOUTONS
   ========================================== */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    margin: 0.25rem;
}

.btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-success {
    background-color: var(--success-color);
    color: var(--white);
}

.btn-success:hover:not(:disabled) {
    background-color: #229954;
}

.btn-danger {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-warning {
    background-color: var(--warning-color);
    color: var(--white);
}

.btn-secondary {
    background-color: #95a5a6;
    color: var(--white);
}

.btn-info {
    background-color: var(--info-color);
    color: var(--white);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* ==========================================
   ALERTES
   ========================================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: none;
    font-size: 0.95rem;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid var(--info-color);
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid var(--success-color);
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-left: 4px solid var(--warning-color);
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid var(--accent-color);
}

.alert-link {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
}

.alert-link:hover {
    opacity: 0.8;
}

/* ==========================================
   PAGINATION
   ========================================== */
.step-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
    flex-wrap: wrap;
}

.step-links a {
    color: var(--secondary-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: var(--transition);
    font-weight: 500;
}

.step-links a:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.step-links .current {
    color: var(--text-light);
    font-weight: 500;
}

/* ==========================================
   TEXTES ET TYPOGRAPHIE
   ========================================== */
h1, h2 {
    color: var(--primary-color);
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-align: center;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.text-muted {
    color: var(--text-light) !important;
    font-size: 0.9rem;
}

small {
    font-size: 0.875rem;
}

/* ==========================================
   TABLES - 90% LARGEUR
   ========================================== */
.table-responsive-sm {
    overflow-x: auto;
    width: 100%;
}

.table {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 100%;
}

.table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.table thead th {
    padding: 1rem;
    font-weight: 500;
    border: none;
}

.table tbody tr {
    transition: var(--transition);
}

.table tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.table tbody td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    word-wrap: break-word;
    max-width: 200px;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

/* Responsive tables - format carte sur mobile */
@media (max-width: 768px) {
    .table-responsive {
        overflow-x: visible;
    }

    .table {
        border: none;
        box-shadow: none;
    }

    .table thead {
        display: none;
    }

    .table tbody tr {
        display: block;
        background: var(--white);
        margin-bottom: 1rem;
        border-radius: 8px;
        box-shadow: var(--shadow);
        padding: 1rem;
    }

    .table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--light-bg);
        max-width: none;
        font-size: 0.9rem;
    }

    .table tbody td:last-child {
        border-bottom: none;
    }

    .table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-dark);
        margin-right: 1rem;
        flex-shrink: 0;
    }
}

/* ==========================================
   CONTENEURS - 90% LARGEUR
   ========================================== */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.row {
    width: 100%;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.p-4 {
    padding: 1.5rem;
}

/* ==========================================
   FORMULAIRES SPÉCIAUX (création/édition)
   ========================================== */
#adherent,
.col-md-6 {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* ==========================================
   FOOTER
   ========================================== */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 1.5rem 1rem;
    margin-top: auto;
    font-size: 0.9rem;
    width: 100%;
}

footer p {
    margin: 0;
}

/* ==========================================
   MESSAGES FLASH
   ========================================== */
.messages {
    width: 90%;
    margin: 1rem auto;
}

.messages .alert {
    animation: fadeIn 0.3s ease-out;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    header h1 {
        font-size: clamp(0.9rem, 5vw, 1.8rem);
        letter-spacing: 0;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.4rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-text {
        font-size: 0.85rem;
    }

    .card-body p {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .step-links {
        font-size: 0.85rem;
        gap: 0.5rem;
    }

    main {
        padding: 1rem 0;
        width: 95%;
    }
}

@media (max-width: 576px) {
    header {
        padding: 1rem 0.5rem;
    }

    header h1 {
        font-size: clamp(0.7rem, 4.5vw, 1.2rem);
        letter-spacing: 0;
    }

    h2 {
        font-size: 1.2rem;
    }

    .card-header,
    .card-body {
        padding: 0.75rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.8rem;
    }

    form label {
        font-size: 0.85rem;
        padding: 0.4rem;
    }

    main {
        width: 95%;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* ==========================================
   FORMULAIRE DE FILTRE
   ========================================== */
.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.filter-form .filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.filter-form .filter-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
    margin: 0;
    padding: 0;
}

.filter-form .filter-group label:hover {
    background-color: transparent;
}

.filter-form select {
    min-width: 150px;
    padding: 0.5rem 0.75rem;
}

@media (max-width: 576px) {
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-form .filter-group {
        width: 100%;
    }

    .filter-form select {
        width: 100%;
    }

    .filter-form .btn {
        width: 100%;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeIn 0.5s ease-out;
}

/* ==========================================
   AMÉLIORATION DES LIENS
   ========================================== */
a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--info-color);
    text-decoration: underline;
}

.card a:not(.btn) {
    font-weight: 500;
}

/* ==========================================
   ESPACEMENT DES ÉLÉMENTS
   ========================================== */
.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-between {
    justify-content: space-between;
}

.align-items-center {
    align-items: center;
}

/* ==========================================
   PLACES RESTANTES
   ========================================== */
.card-body p {
    font-size: 1rem;
    line-height: 1.8;
}

.card-body > p:has(+ form),
.card-body > p:has(+ .alert) {
    font-weight: 600;
    color: var(--info-color);
    background-color: rgba(22, 160, 133, 0.05);
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 4px solid var(--info-color);
}

/* ==========================================
   DASHBOARD
   ========================================== */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.dashboard-title {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Grille des statistiques */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Couleurs des cartes statistiques */
.stat-card.stat-primary {
    border-left: 4px solid var(--secondary-color);
}

.stat-card.stat-success {
    border-left: 4px solid var(--success-color);
}

.stat-card.stat-warning {
    border-left: 4px solid var(--warning-color);
}

.stat-card.stat-info {
    border-left: 4px solid var(--info-color);
}

.stat-card.stat-secondary {
    border-left: 4px solid #9b59b6;
}

.stat-card.stat-light {
    border-left: 4px solid var(--text-light);
}

/* Sections du dashboard */
.dashboard-section {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-bg);
    text-align: left;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-footer {
    margin-top: 1.5rem;
    text-align: center;
}

/* Table du dashboard */
.table-responsive {
    overflow-x: auto;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.dashboard-table thead {
    background-color: var(--primary-color);
    color: var(--white);
}

.dashboard-table th {
    padding: 1rem 0.75rem;
    text-align: left;
    font-weight: 500;
}

.dashboard-table td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.dashboard-table tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.05);
}

.dashboard-table tbody tr:last-child td {
    border-bottom: none;
}

/* Barre de progression */
.progress-bar-container {
    width: 100%;
    min-width: 100px;
    height: 24px;
    background-color: var(--light-bg);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    border-radius: 12px;
    transition: width 0.3s ease;
}

.progress-bar.low {
    background-color: var(--success-color);
}

.progress-bar.medium {
    background-color: var(--warning-color);
}

.progress-bar.high {
    background-color: #e67e22;
}

.progress-bar.full {
    background-color: var(--accent-color);
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Messages vides */
.empty-message {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-style: italic;
}

.empty-message.success {
    color: var(--success-color);
    font-style: normal;
    font-weight: 500;
}

/* Grille de résumé */
.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background-color: var(--light-bg);
    border-radius: 6px;
}

.summary-label {
    color: var(--text-light);
}

.summary-value {
    font-weight: 600;
    color: var(--primary-color);
}

/* Boutons petits */
.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

/* Responsive dashboard */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-icon {
        font-size: 1.8rem;
    }

    .stat-value {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .dashboard-table {
        border: none;
        box-shadow: none;
    }

    .dashboard-table thead {
        display: none;
    }

    .dashboard-table tbody tr {
        display: block;
        background: var(--white);
        margin-bottom: 1rem;
        border-radius: 8px;
        box-shadow: var(--shadow);
        padding: 1rem;
    }

    .dashboard-table tbody tr:hover {
        background: var(--white);
    }

    .dashboard-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--light-bg);
        font-size: 0.9rem;
    }

    .dashboard-table td:last-child {
        border-bottom: none;
    }

    .dashboard-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-dark);
        margin-right: 1rem;
        flex-shrink: 0;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .progress-bar-container {
        min-width: 80px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-container {
        padding: 1rem 0.5rem;
    }

    .dashboard-section {
        padding: 1rem;
    }
}