/* 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: #333;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header et Navigation */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav h1 {
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* Fil d'Ariane */
.breadcrumb {
    padding: 1rem 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Search Bar */
.search-container {
    margin: 2rem 0;
    text-align: center;
}

#search-input {
    width: 100%;
    max-width: 500px;
    padding: 1rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    font-size: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

/* Grid des associations */
.associations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.association-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.association-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.association-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.association-card:hover img {
    transform: scale(1.05);
}

.association-card .content {
    padding: 1.5rem;
}

.association-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.association-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Style Facebook pour les associations */
.association-detail {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.association-header {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.association-header.with-image {
    background: none;
}

.association-header img.grande-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Image par défaut pour grande image */
.association-header.default-image {
    background-image: url('../images/default-association.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.association-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 2rem;
}

.association-profile {
    position: relative;
    padding: 2rem;
    padding-top: 4rem;
}

.association-avatar {
    position: absolute;
    top: -50px;
    left: 2rem;
    width: 100px;
    height: 100px;
    border-radius: 15px;
    border: 4px solid white;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Avatar par défaut avec texte */
.association-avatar-default {
    position: absolute;
    top: -50px;
    left: 2rem;
    width: 100px;
    height: 100px;
    border-radius: 15px;
    border: 4px solid white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    padding: 0.5rem;
    overflow: hidden;
}

.association-avatar-default span {
    display: block;
    word-break: break-word;
    hyphens: auto;
}

/* Avatar dashboard */
.association-avatar-dashboard {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 3px solid white;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    margin-right: 1rem;
}

.association-avatar-dashboard-default {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 3px solid white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.7rem;
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    margin-right: 1rem;
    padding: 0.4rem;
    overflow: hidden;
}

.association-avatar-dashboard-default span {
    display: block;
    word-break: break-word;
    hyphens: auto;
}

.association-name {
    margin-left: 120px;
    font-size: 2rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.association-meta {
    margin-left: 120px;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Manifestation Cards */
.manifestation-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.manifestation-item:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    transform: translateX(5px);
}

.manifestation-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.manifestation-item .date {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.manifestation-item .lieu {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border-top: 4px solid #667eea;
}

.info-card h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102,126,234,0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-success {
    background: #28a745;
    color: white;
}

.btn-success:hover {
    background: #218838;
    transform: translateY(-2px);
}

.btn-danger {
    background: #dc3545;
    color: white;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Forms */
.form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.form-control:invalid {
    border-color: #dc3545;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
}

.alert-success {
    background: #d1edff;
    color: #0c5460;
    border-left-color: #28a745;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left-color: #dc3545;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left-color: #17a2b8;
}

/* Tables */
.table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 1.5rem 0;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.table tr:hover {
    background: #f8f9fa;
}

/* Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.manifestations-list {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.manifestations-list h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    text-align: center;
}

/* Manifestation Detail */
.manifestation-detail {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 2rem 0;
}

.manifestation-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
}

.manifestation-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.manifestation-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 2rem;
}

.manifestation-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.manifestation-sidebar .association-card {
    position: sticky;
    top: 100px;
}

/* Events Grid */
.related-events {
    margin: 3rem 0;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.event-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.event-card h3 a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
}

.event-card h3 a:hover {
    color: #667eea;
}

/* Checkbox styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .manifestation-content {
        grid-template-columns: 1fr;
    }
    
    .associations-grid {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .association-name {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .association-meta {
        margin-left: 0;
    }
    
    .association-avatar {
        position: static;
        margin: 0 auto 1rem;
        display: block;
    }
    
    .manifestation-header h1 {
        font-size: 2rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .association-header {
        height: 250px;
    }
    
    .manifestation-header {
        padding: 1.5rem;
    }
    
    .manifestation-header h1 {
        font-size: 1.5rem;
    }
    
    .form,
    .info-card,
    .manifestation-item {
        padding: 1rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.association-card,
.manifestation-item,
.info-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Manifestations Section */
.manifestations-section {
    margin: 3rem 0;
}

.manifestations-section h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    text-align: center;
    border-bottom: 3px solid #667eea;
    padding-bottom: 1rem;
}

.manifestations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.manifestation-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.manifestation-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #667eea;
}

.manifestation-item.current::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.manifestation-item.future::before {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.manifestation-item.past::before {
    background: linear-gradient(90deg, #6c757d, #495057);
}

.manifestation-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.manifestation-item h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.manifestation-item h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.manifestation-item h3 a:hover {
    color: #667eea;
}

.manifestation-item .date {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.manifestation-item.current .date {
    color: #28a745;
}

.manifestation-item.past .date {
    color: #6c757d;
}

.manifestation-item .lieu {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.manifestation-item .description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.manifestation-actions {
    margin-top: 1rem;
    text-align: right;
}

.manifestation-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #28a745;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* No events message */
.no-events {
    margin: 4rem 0;
}

.no-events .info-card {
    background: #f8f9fa;
    border-color: #e9ecef;
}

/* Dashboard Styles */
.association-header-dashboard {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.association-info-dashboard {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.association-avatar-dashboard {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    object-fit: cover;
}

.association-details h1 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.association-status {
    margin-bottom: 1rem;
    opacity: 0.9;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.active {
    background: #28a745;
    color: white;
}

.status-badge.inactive {
    background: #dc3545;
    color: white;
}

.quick-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    border-left: 4px solid #667eea;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.stat-card.total {
    border-left-color: #667eea;
}

.stat-card.approved {
    border-left-color: #28a745;
}

.stat-card.pending {
    border-left-color: #ffc107;
}

.stat-card.future {
    border-left-color: #17a2b8;
}

.stat-card.current {
    border-left-color: #dc3545;
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.8;
}

.stat-content h3 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    color: #333;
}

.stat-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Dashboard Manifestation Items */
.manifestation-header-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.manifestation-header-item h3 {
    margin: 0;
    flex: 1;
    margin-right: 1rem;
}

.status-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.badge-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.badge-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.badge-current {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.badge-past {
    background: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}

.manifestation-details {
    margin-bottom: 1rem;
}

.manifestation-details p {
    margin-bottom: 0.25rem;
    color: #666;
    font-size: 0.9rem;
}

.manifestation-details .submitted {
    font-style: italic;
    color: #999;
}

.pending-item {
    border-left: 4px solid #ffc107;
}

.recent-item {
    margin-bottom: 1.5rem;
}

.view-all-link {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.widget {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border-top: 4px solid #667eea;
}

.widget h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 0.75rem;
}

.quick-links a {
    color: #666;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 6px;
    display: block;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.quick-links a:hover {
    background: #f8f9fa;
    color: #667eea;
    transform: translateX(5px);
}

.help-content h4 {
    color: #333;
    font-size: 1rem;
    margin: 1.5rem 0 0.5rem 0;
}

.help-content h4:first-child {
    margin-top: 0;
}

.help-content ol {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}

.help-content li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
    color: #666;
}

.help-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Sections */
.pending-events {
    margin-bottom: 3rem;
}

.recent-events h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #667eea;
    padding-bottom: 0.5rem;
}

.pending-events h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 2px solid #ffc107;
    padding-bottom: 0.5rem;
}

.no-content {
    margin: 3rem 0;
}

/* Dashboard responsive */
@media (max-width: 768px) {
    .association-info-dashboard {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .association-details h1 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .manifestation-header-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .manifestation-actions {
        width: 100%;
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .quick-actions {
        justify-content: center;
    }
}

/* === GESTION DES UTILISATEURS === */
.utilisateurs-list {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.utilisateurs-list .table {
    margin: 0;
    border-radius: 0;
}

.utilisateurs-list .table th {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    border-top: none;
}

.utilisateurs-list .table td {
    vertical-align: middle;
    padding: 1rem;
}

/* Statuts des utilisateurs */
.status {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status.active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status.inactive {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Groupes de boutons */
.btn-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn-group .btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

/* Amélioration de la table responsive */
@media (max-width: 768px) {
    .utilisateurs-list .table {
        font-size: 0.875rem;
    }
    
    .utilisateurs-list .table th,
    .utilisateurs-list .table td {
        padding: 0.75rem 0.5rem;
    }
    
    .btn-group {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .btn-group .btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 576px) {
    /* Mode responsive complet pour très petits écrans */
    .utilisateurs-list .table,
    .utilisateurs-list .table thead,
    .utilisateurs-list .table tbody,
    .utilisateurs-list .table th,
    .utilisateurs-list .table td,
    .utilisateurs-list .table tr {
        display: block;
    }
    
    .utilisateurs-list .table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    
    .utilisateurs-list .table tr {
        border: 1px solid #e9ecef;
        border-radius: 8px;
        margin-bottom: 1rem;
        padding: 1rem;
        background: white;
    }
    
    .utilisateurs-list .table td {
        border: none;
        border-bottom: 1px solid #e9ecef;
        position: relative;
        padding-left: 35% !important;
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    
    .utilisateurs-list .table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 0.5rem;
        width: 30%;
        font-weight: bold;
        color: #666;
    }
    
    .utilisateurs-list .table td:last-child {
        border-bottom: none;
    }
}

/* Placeholder text styling */
.table td em {
    color: #999;
    font-style: italic;
} 