/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8f9fa;
    color: #212529;
    line-height: 1.6;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #ffc107;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.logo h1 {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    margin: 0;
}

.logo span {
    font-size: 11px;
    color: #555;
    display: block;
    margin-top: 2px;
}

.header-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.header-link {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.2s;
}

.header-link:hover {
    background: rgba(0,0,0,0.05);
}

.btn-primary {
    background: #dc3545;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* Search */
.search-section {
    max-width: 650px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.search-input {
    flex: 1;
    border: none;
    padding: 14px 20px;
    font-size: 15px;
    outline: none;
}

.search-btn {
    background: #007bff;
    border: none;
    color: #fff;
    padding: 14px 30px;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.search-btn:hover {
    background: #0056b3;
}

/* Categories Bar */
.categories-bar {
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s;
    min-width: 90px;
}

.cat-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.cat-icon {
    font-size: 24px;
}

/* Banner */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0;
    margin: 20px 0;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.banner-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.banner-text p {
    font-size: 15px;
    opacity: 0.95;
}

.banner-badge {
    background: rgba(255,255,255,0.2);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 40px;
    margin-bottom: 5px;
}

.banner-badge span {
    font-weight: 700;
    font-size: 18px;
}

/* Main Content */
.main-content {
    padding: 30px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #212529;
}

.link-voir-plus {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.link-voir-plus:hover {
    text-decoration: underline;
}

/* Annonces Grid - 3 par ligne */
.annonces-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Card */
.annonce-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
}

.annonce-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transform: translateY(-4px);
}

.card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 10;
    transition: transform 0.2s;
}

.card-badge:hover {
    transform: scale(1.1);
}

.card-image {
    width: 100%;
    height: 200px;
    background: #f1f3f5;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.annonce-card:hover .card-image img {
    transform: scale(1.05);
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #dee2e6;
}

.card-body {
    padding: 16px;
}

.card-body h3 {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-desc {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 12px;
    line-height: 1.4;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.meta-item {
    font-size: 12px;
    color: #6c757d;
}

.card-date {
    font-size: 11px;
    color: #adb5bd;
    margin-bottom: 12px;
}

.btn-card {
    display: block;
    background: #007bff;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-card:hover {
    background: #0056b3;
}

/* Footer */
.footer {
    background: #212529;
    color: #adb5bd;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-col a {
    display: block;
    color: #adb5bd;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #fff;
}

.social {
    display: flex;
    gap: 10px;
}

.social a {
    background: #343a40;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 12px;
}

.social a:hover {
    background: #495057;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #343a40;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 992px) {
    .annonces-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .annonces-grid {
        grid-template-columns: 1fr;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

/* Messages */
.status-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.status-message.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.status-message.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}
/* ... (gardez tout le CSS précédent) ... */

/* No annonces message */
.no-annonces {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.no-annonces-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.no-annonces h3 {
    font-size: 24px;
    color: #212529;
    margin-bottom: 10px;
}

.no-annonces p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 25px;
}

/* Couleurs Coin Europe */
.logo h1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* ... (gardez tout le CSS précédent) ... */

/* Active category */
.cat-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.cat-item.active .cat-icon {
    transform: scale(1.1);
}

/* Card category badge */
.card-category {
    position: absolute;
    top: 50px;
    left: 10px;
    background: rgba(255, 193, 7, 0.95);
    color: #000;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
}

/* Form moderne */
.form-container {
    max-width: 800px;
    margin: 40px auto;
}

.form-moderne {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-moderne h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #212529;
    font-size: 24px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #495057;
}

.form-group input,
.form-group select,
.form-groupe textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: block;
    padding: 12px 15px;
    background: #f8f9fa;
    border: 2px dashed #ced4da;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload-label:hover {
    background: #e9ecef;
    border-color: #667eea;
}

.file-name {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: #6c757d;
    font-style: italic;
}

.photo-preview {
    margin-top: 15px;
    display: none;
}

.photo-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Details page */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    font-size: 14px;
}

.breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.details-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.details-image {
    width: 100%;
    height: 450px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.details-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image-large {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
}

.no-image-icon {
    font-size: 100px;
    margin-bottom: 15px;
}

.details-description {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    margin-bottom: 20px;
}

.details-description h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #212529;
}

.details-description p {
    line-height: 1.8;
    color: #495057;
}

.details-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    font-size: 12px;
    color: #6c757d;
    font-weight: 600;
}

.info-value {
    font-size: 14px;
    color: #212529;
    font-weight: 500;
}

.details-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 20px;
}

.details-title {
    font-size: 24px;
    color: #212529;
    margin-bottom: 15px;
}

.details-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.badge-category {
    background: #ffc107;
    color: #000;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.details-views {
    font-size: 14px;
    color: #6c757d;
}

.seller-info,
.contact-section {
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.seller-info h3,
.contact-section h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #212529;
}

.seller-name {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 5px;
}

.seller-location {
    font-size: 14px;
    color: #6c757d;
}

.btn-contact-email {
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.btn-contact-email:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.contact-email {
    font-size: 13px;
    color: #6c757d;
    text-align: center;
}

.actions-section {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-favori-details,
.btn-partager {
    padding: 10px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-favori-details {
    background: #667eea;
    color: #fff;
}

.btn-favori-details:hover {
    background: #5568d3;
}

.btn-partager {
    background: #f8f9fa;
    color: #212529;
    border: 1px solid #dee2e6;
}

.btn-partager:hover {
    background: #e9ecef;
}

.similar-section {
    margin-top: 60px;
}

.similar-section h2 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #212529;
}

/* Responsive details */
@media (max-width: 992px) {
    .details-container {
        grid-template-columns: 1fr;
    }
    
    .details-card {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
/* Mettre en évidence le lien inscription */
.header-link-inscription {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
}

.header-link-inscription:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive - menu mobile */
@media (max-width: 768px) {
    .header-right {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .header-link {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .btn-primary {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}
/* ... (gardez tout le CSS précédent) ... */

/* ============================================
   AUTH PAGES (Connexion & Inscription)
   ============================================ */

.auth-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.header-simple {
    background: transparent;
    padding: 20px 0;
}

.logo-simple h1 {
    color: #fff;
    font-size: 28px;
    margin: 0;
}

.auth-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 100px);
    padding: 40px 20px;
}

.auth-container-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1100px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-left {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.illustration-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    backdrop-filter: blur(10px);
}

.auth-illustration h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.auth-illustration p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.features-list {
    list-style: none;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
}

.features-list li {
    padding: 12px 0;
    font-size: 15px;
    opacity: 0.95;
}

.auth-right {
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 450px;
}

.auth-header {
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 28px;
    color: #212529;
    margin-bottom: 8px;
}

.auth-header p {
    color: #6c757d;
    font-size: 14px;
}

.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.auth-form-modern {
    /* Formulaire */
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group-modern {
    margin-bottom: 20px;
}

.form-group-modern label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #495057;
}

.form-group-modern input,
.form-group-modern select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.form-group-modern input:focus,
.form-group-modern select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-hint {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #6c757d;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
}

.checkbox-label input {
    cursor: pointer;
}

.link-forgot {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.link-forgot:hover {
    text-decoration: underline;
}

.btn-submit-modern {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.auth-divider span {
    background: #fff;
    padding: 0 15px;
    position: relative;
    color: #6c757d;
    font-size: 13px;
}

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

.auth-footer p {
    color: #6c757d;
    font-size: 14px;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Responsive Auth */
@media (max-width: 992px) {
    .auth-container-modern {
        grid-template-columns: 1fr;
    }
    
    .auth-left {
        display: none;
    }
}

/* ============================================
   DASHBOARD
   ============================================ */

.dashboard-main {
    background: #f8f9fa;
    min-height: calc(100vh - 100px);
    padding: 30px 0;
}

.dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar */
.dashboard-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.user-profile-card {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 32px;
    font-weight: 700;
    color: #fff;
}

.user-profile-card h3 {
    font-size: 18px;
    color: #212529;
    margin-bottom: 5px;
}

.user-email {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 10px;
}

.user-badge {
    display: inline-block;
    background: #f8f9fa;
    color: #6c757d;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.dashboard-nav {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

.nav-item:hover {
    background: #f8f9fa;
    color: #667eea;
}

.nav-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.nav-item .icon {
    font-size: 20px;
}

.nav-item .badge {
    margin-left: auto;
    background: #dc3545;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

/* Main Dashboard Content */
.dashboard-content {
    /* Contenu */
}

.dashboard-header {
    margin-bottom: 30px;
}

.dashboard-header h1 {
    font-size: 32px;
    color: #212529;
    margin-bottom: 8px;
}

.dashboard-header p {
    color: #6c757d;
    font-size: 15px;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.stat-content h3 {
    font-size: 28px;
    color: #212529;
    margin-bottom: 5px;
}

.stat-content p {
    font-size: 13px;
    color: #6c757d;
}

/* Quick Actions */
.quick-actions {
    margin-bottom: 40px;
}

.quick-actions h2 {
    font-size: 22px;
    color: #212529;
    margin-bottom: 20px;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.action-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}

.action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.action-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.action-card h3 {
    font-size: 16px;
    color: #212529;
    margin-bottom: 8px;
}

.action-card p {
    font-size: 13px;
    color: #6c757d;
}

/* Recent Section */
.recent-section {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section-header-dash {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header-dash h2 {
    font-size: 20px;
    color: #212529;
}

/* Table */
.annonces-table {
    overflow-x: auto;
}

.annonces-table table {
    width: 100%;
    border-collapse: collapse;
}

.annonces-table thead {
    background: #f8f9fa;
}

.annonces-table th {
    padding: 15px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.annonces-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    color: #495057;
}

.annonce-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.annonce-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.no-thumb {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.badge-cat {
    background: #ffc107;
    color: #000;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.table-actions {
    display: flex;
    gap: 8px;
}

.btn-action {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
}

.btn-action:hover {
    background: #e9ecef;
    transform: scale(1.1);
}

.btn-delete:hover {
    background: #dc3545;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 22px;
    color: #212529;
    margin-bottom: 10px;
}

.empty-state p {
    color: #6c757d;
    margin-bottom: 25px;
}

/* Responsive Dashboard */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .dashboard-container {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
/* Formulaires d'inscription et connexion */
.form-container,
.form-container-small {
    max-width: 600px;
    margin: 40px auto;
}

.form-container-small {
    max-width: 500px;
}

.form-moderne {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-moderne h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #212529;
    font-size: 28px;
}

.form-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 30px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
}

.checkbox-label input {
    cursor: pointer;
}

.link-forgot {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.link-forgot:hover {
    text-decoration: underline;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.form-footer p {
    color: #6c757d;
    font-size: 14px;
}

.form-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Responsive formulaires */
@media (max-width: 768px) {
    .form-moderne {
        padding: 25px 20px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
/* ============================================
   ADMIN DASHBOARD
   ============================================ */

.admin-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.admin-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-left: 10px;
}

.admin-main {
    background: #f8f9fa;
    min-height: calc(100vh - 150px);
    padding: 30px 0;
}

.admin-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Admin Sidebar */
.admin-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.admin-profile-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.admin-avatar {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 40px;
    backdrop-filter: blur(10px);
}

.admin-profile-card h3 {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-name {
    font-size: 18px;
    font-weight: 700;
}

.admin-nav {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: #495057;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    font-weight: 500;
}

.admin-nav-item:hover {
    background: #f8f9fa;
    color: #1e3a8a;
}

.admin-nav-item.active {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
}

.admin-nav-item .icon {
    font-size: 20px;
}

.admin-nav-item .badge {
    margin-left: auto;
    background: #dc3545;
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
}

/* Admin Content */
.admin-content {
    /* Contenu */
}

.admin-header-page {
    margin-bottom: 30px;
}

.admin-header-page h1 {
    font-size: 32px;
    color: #212529;
    margin-bottom: 8px;
}

.admin-header-page p {
    color: #6c757d;
    font-size: 15px;
}

/* Admin Stats Grid */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.admin-stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
}

.admin-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.stat-detail {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
    display: block;
}

/* Admin Quick Actions */
.admin-quick-actions {
    margin-bottom: 40px;
}

.admin-quick-actions h2 {
    font-size: 22px;
    color: #212529;
    margin-bottom: 20px;
}

.admin-actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.admin-action-card {
    background: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
    border: 2px solid transparent;
}

.admin-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #3b82f6;
}

/* Admin Two Columns */
.admin-two-cols {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* Admin Section Card */
.admin-section-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.admin-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
}

.admin-section-header h2 {
    font-size: 18px;
    color: #212529;
    margin: 0;
}

/* Admin List */
.admin-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.admin-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.2s;
}

.admin-list-item:hover {
    background: #e9ecef;
}

.item-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.item-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-content {
    flex: 1;
}

.item-content h4 {
    font-size: 15px;
    color: #212529;
    margin-bottom: 5px;
}

.item-content p {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 5px;
}

.item-meta {
    font-size: 11px;
    color: #adb5bd;
}

.item-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.badge-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-status.active {
    background: #d4edda;
    color: #155724;
}

.badge-status.inactive {
    background: #f8d7da;
    color: #721c24;
}

.btn-admin-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
    border: 1px solid #dee2e6;
}

.btn-admin-icon:hover {
    background: #e9ecef;
    transform: scale(1.1);
}

.btn-admin-icon.btn-delete:hover {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
}

/* Admin Table */
.admin-table-wrapper {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table thead {
    background: #f8f9fa;
}

.admin-table th {
    padding: 15px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    color: #495057;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #dee2e6;
}

.admin-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
    color: #495057;
}

.admin-table tbody tr:hover {
    background: #f8f9fa;
}

.btn-admin-small {
    padding: 6px 12px;
    background: #3b82f6;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
}

.btn-admin-small:hover {
    background: #2563eb;
}

/* Admin Footer */
.admin-footer {
    background: #1e3a8a;
    color: #fff;
    padding: 20px 0;
    margin-top: 60px;
}

.admin-footer .copyright {
    color: #fff;
    text-align: center;
}

/* Responsive Admin */
@media (max-width: 1200px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-actions-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-two-cols {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .admin-container {
        grid-template-columns: 1fr;
    }
    
    .admin-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: 1fr;
    }
}
/* ... (gardez tout le CSS précédent) ... */

/* Admin Filters */
.admin-filters {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
}

.btn-admin-primary {
    padding: 10px 20px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-admin-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.3);
}

.btn-admin-secondary {
    padding: 10px 20px;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn-admin-secondary:hover {
    background: #5a6268;
}

/* Table Annonce Cell */
.table-annonce-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.table-thumb.no-thumb {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.table-location {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

/* Button Edit Vues */
.btn-edit-vues {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-edit-vues:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(240, 147, 251, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    color: #adb5bd;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.modal-close:hover {
    color: #dc3545;
}

.modal-content h2 {
    margin-bottom: 10px;
    color: #212529;
    font-size: 24px;
}

.modal-subtitle {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 25px;
    font-weight: 500;
}

.modal-form {
    /* Formulaire dans la modal */
}

.modal-form .form-group {
    margin-bottom: 20px;
}

.modal-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #495057;
}

.modal-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s;
}

.modal-form input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.modal-actions button {
    flex: 1;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-filters {
        flex-direction: column;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .modal-content {
        padding: 25px 20px;
    }
}
/* ... (gardez tout le CSS précédent) ... */

/* Alert Section */
.alert-section {
    border: 2px solid #ffc107;
    background: #fff9e6;
}

.alert-card {
    border: 2px solid #ffc107;
}

.stat-link {
    display: inline-block;
    margin-top: 8px;
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.stat-link:hover {
    text-decoration: underline;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-left: 4px solid #ffc107;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 14px;
}
/* ... (gardez tout le CSS précédent) ... */

/* Favori Card */
.favori-card {
    position: relative;
}

.card-badge-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    text-decoration: none;
}

.card-badge-remove:hover {
    background: #dc3545;
    transform: scale(1.1);
}

/* Coming Soon Section */
.coming-soon-section {
    /* Section principale */
}

.coming-soon-card {
    background: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.coming-soon-icon {
    font-size: 100px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.coming-soon-card h2 {
    font-size: 28px;
    color: #212529;
    margin-bottom: 15px;
}

.coming-soon-card > p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 40px;
}

.features-preview {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.features-preview h3 {
    font-size: 20px;
    color: #212529;
    margin-bottom: 20px;
}

.features-list-preview {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.features-list-preview li {
    padding: 12px 0;
    font-size: 16px;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
}

.features-list-preview li:last-child {
    border-bottom: none;
}

.temporary-contact {
    background: #fff3cd;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
    margin-bottom: 30px;
}

.temporary-contact h3 {
    font-size: 18px;
    color: #856404;
    margin-bottom: 15px;
}

.temporary-contact p {
    color: #856404;
    margin-bottom: 20px;
}

/* Messages List */
.messages-list-section {
    margin-top: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.messages-list-section h3 {
    font-size: 20px;
    color: #212529;
    margin-bottom: 20px;
}

.messages-list {
    display*


    /* ... (gardez tout le CSS précédent) ... */

/* Profile Section */
.profile-section {
    /* Conteneur principal */
}

.profile-form {
    /* Formulaire */
}

.profile-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}

.profile-card h2 {
    font-size: 20px;
    color: #212529;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-cancel {
    padding: 14px 30px;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
}

.btn-cancel:hover {
    background: #5a6268;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.info-item-profile {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item-profile .info-label {
    font-size: 13px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item-profile .info-value {
    font-size: 16px;
    color: #212529;
    font-weight: 500;
}

.badge-admin {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.badge-user {
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

/* Info Card */
.info-card {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
}

/* Danger Card */
.danger-card {
    background: #fff5f5;
    border-left: 4px solid #dc3545;
}

.danger-card h2 {
    color: #dc3545;
}

.danger-actions {
    margin-top: 20px;
}

.btn-danger {
    padding: 12px 24px;
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-danger:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

/* Responsive Profile */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .btn-cancel {
        text-align: center;
    }
}
/* ... (gardez tout le CSS précédent) ... */

/* Stats Grid Mini */
.stats-grid-mini {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card-mini {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-mini-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.stat-mini-content h3 {
    font-size: 24px;
    color: #212529;
    margin-bottom: 5px;
}

.stat-mini-content p {
    font-size: 13px;
    color: #6c757d;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    font-weight: 600;
    transition: all 0.2s;
}

.filter-tab:hover {
    background: #f8f9fa;
    border-color: #667eea;
}

.filter-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-color: #667eea;
}

/* Annonces List Section */
.annonces-list-section {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.annonces-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.annonce-list-item {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s;
}

.annonce-list-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.annonce-list-image {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.annonce-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image-list {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: #adb5bd;
}

.annonce-list-content {
    flex: 1;
}

.annonce-list-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 10px;
}

.annonce-list-header h3 {
    font-size: 18px;
    color: #212529;
    margin: 0;
}

.annonce-list-badges {
    display: flex;
    gap: 8px;
}

.badge-cat-small {
    background: #ffc107;
    color: #000;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.annonce-list-desc {
    color: #495057;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.annonce-list-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.annonce-list-meta .meta-item {
    font-size: 13px;
    color: #6c757d;
}

.annonce-list-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-action-list {
    padding: 10px 15px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
    text-align: center;
    white-space: nowrap;
}

.btn-action-list:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.btn-delete-list:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.btn-secondary {
    padding: 12px 24px;
    background: #6c757d;
    color: #fff;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Responsive Mes Annonces */
@media (max-width: 992px) {
    .stats-grid-mini {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .annonce-list-item {
        grid-template-columns: 1fr;
    }
    
    .annonce-list-image {
        width: 100%;
        height: 200px;
    }
    
    .annonce-list-actions {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .stats-grid-mini {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        flex-direction: column;
    }
    
    .filter-tab {
        width: 100%;
        text-align: center;
    }
}
/* ... (gardez tout le CSS précédent) ... */

/* Favori Card */
.favori-card {
    position: relative;
}

.card-badge-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    text-decoration: none;
}

.card-badge-remove:hover {
    background: #dc3545;
    transform: scale(1.1);
}

/* Coming Soon Section */
.coming-soon-section {
    /* Section principale */
}

.coming-soon-card {
    background: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.coming-soon-icon {
    font-size: 100px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.coming-soon-card h2 {
    font-size: 28px;
    color: #212529;
    margin-bottom: 15px;
}

.coming-soon-card > p {
    font-size: 16px;
    color: #6c757d;
    margin-bottom: 40px;
}

.features-preview {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.features-preview h3 {
    font-size: 20px;
    color: #212529;
    margin-bottom: 20px;
}

.features-list-preview {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
}

.features-list-preview li {
    padding: 12px 0;
    font-size: 16px;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
}

.features-list-preview li:last-child {
    border-bottom: none;
}

.temporary-contact {
    background: #fff3cd;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #ffc107;
    margin-bottom: 30px;
}

.temporary-contact h3 {
    font-size: 18px;
    color: #856404;
    margin-bottom: 15px;
}

.temporary-contact p {
    color: #856404;
    margin-bottom: 20px;
}

/* Messages List */
.messages-list-section {
    margin-top: 40px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.messages-list-section h3 {
    font-size: 20px;
    color: #212529;
    margin-bottom: 20px;
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e9ecef;
    transition: all 0.2s;
}

.message-item:hover {
    background: #e9ecef;
    border-left-color: #667eea;
}

.message-unread {
    background: #e7f3ff;
    border-left-color: #667eea;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.message-from {
    font-size: 14px;
    color: #212529;
    font-weight: 600;
}

.message-date {
    font-size: 12px;
    color: #6c757d;
}

.message-subject {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 10px;
}

.message-content {
    font-size: 14px;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 10px;
}

.message-annonce {
    font-size: 13px;
    color: #6c757d;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .coming-soon-card {
        padding: 40px 20px;
    }
    
    .coming-soon-icon {
        font-size: 60px;
    }
    
    .features-preview {
        padding: 20px;
    }
}
/* ... (gardez tout le CSS précédent) ... */

/* User Cell */
.user-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

.badge-admin-small {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #000;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 8px;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.category-stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s;
}

.category-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.category-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.category-stat-card h3 {
    font-size: 18px;
    color: #212529;
    margin-bottom: 15px;
}

.category-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.category-stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
}

.btn-category {
    display: inline-block;
    padding: 8px 16px;
    background: #667eea;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-category:hover {
    background: #5568d3;
}

/* Chart Container */
.chart-container {
    position: relative;
    height: 400px;
    margin-top: 20px;
}

/* Top List */
.top-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.top-rank {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.top-name {
    flex: 1;
    font-weight: 600;
    color: #212529;
}

.top-value {
    font-weight: 700;
    color: #667eea;
}

/* System Info */
.system-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.system-info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Maintenance */
.maintenance-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.btn-maintenance {
    padding: 15px 25px;
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-maintenance:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

.btn-maintenance .icon {
    font-size: 20px;
}

.platform-info {
    margin-top: 20px;
}

.platform-info p {
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.platform-info p:last-child {
    border-bottom: none;
}
/* ... (gardez tout le CSS précédent) ... */

.inline-edit-vues {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    text-decoration: underline;
    font: inherit;
    padding: 0;
    transition: color 0.2s;
}

.inline-edit-vues:hover {
    color: #5568d3;
}
/* ... (gardez tout le CSS précédent) ... */

/* User Solde Card */
.user-solde-card {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 12px rgba(67, 233, 123, 0.3);
}

.solde-icon {
    font-size: 32px;
    background: rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.solde-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.solde-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.solde-amount {
    font-size: 24px;
    color: #fff;
    font-weight: 700;
}
/* Current Solde Display */
.current-solde-display {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 12px rgba(67, 233, 123, 0.3);
}

.current-solde-display .solde-label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.solde-current {
    display: block;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}

/* Quick Amounts */
.quick-amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.quick-amount-btn {
    padding: 12px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
}

.quick-amount-btn:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
}

@media (max-width: 768px) {
    .quick-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ... (gardez tout le CSS précédent) ... */

/* Recharge Container */
.recharge-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.recharge-form-section,
.recharge-history-section {
    /* Sections */
}

.history-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 20px;
}

.history-card h2 {
    font-size: 18px;
    margin-bottom: 20px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #e9ecef;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.history-amount {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
}

.history-date,
.history-traitement {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 5px;
}

.history-comment {
    font-size: 13px;
    color: #495057;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e9ecef;
}

.empty-state-small {
    text-align: center;
    padding: 20px;
    color: #6c757d;
}

.amount-highlight {
    color: #43e97b;
    font-size: 16px;
}

.montant-display {
    font-size: 28px;
    font-weight: 700;
    color: #43e97b;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

@media (max-width: 992px) {
    .recharge-container {
        grid-template-columns: 1fr;
    }
    
    .history-card {
        position: static;
    }
}
/* ... (gardez tout le CSS précédent) ... */

/* Edit Buttons */
.btn-edit-vues,
.btn-edit-date {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    text-decoration: underline;
    font: inherit;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-edit-vues:hover,
.btn-edit-date:hover {
    background: #f8f9fa;
    color: #5568d3;
}

.btn-edit-vues strong,
.btn-edit-date strong {
    font-weight: 600;
}