/* Variables */
:root {
    /* Couleurs principales */
    --primary-color: #0056b3;
    --secondary-color: #004494;
    --accent-color: #ffa500;
    --text-color: #212529;
    --light-gray: #f5f5f5;
    --border-color: #dee2e6;
    --success-color: #27ae60;
    --error-color: #c0392b;
    --warning-color: #f1c40f;
    --header-footer-bg: #2c3e50;
    --light-color: #f8f9fa;
    --dark-color: #343a40;

    /* Tailles et espacements */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Typographie */
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --font-size-sm: 0.875rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;

    /* Transitions */
    --transition-speed: 0.3s;

    --dropdown-shadow: 0 4px 6px rgba(0,0,0,0.1);
    --toast-shadow: 0 4px 12px rgba(0,0,0,0.15);
    --btn-hover-scale: 1.02;
    --btn-active-scale: 0.98;
    --avatar-size-sm: 32px;
    --avatar-size-md: 48px;
    --avatar-size-lg: 64px;
    --tag-padding: 0.25rem 0.75rem;
    --stepper-size: 32px;
    --slider-height: 4px;
    --switch-width: 50px;
    --switch-height: 24px;
    --rating-size: 24px;
    --skeleton-bg: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    --context-menu-shadow: 0 4px 12px rgba(0,0,0,0.15);
    --popover-shadow: 0 4px 12px rgba(0,0,0,0.15);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --chip-height: 32px;
    --status-badge-size: 12px;
    --metric-card-padding: 1.5rem;
    --profile-card-width: 300px;
    --product-card-width: 280px;
    --testimonial-card-width: 350px;
    --pricing-card-width: 300px;
    --feature-card-width: 250px;
    --blog-card-width: 350px;
    --gallery-gap: 1rem;
    --container-width: 1200px;
    --container-padding: 2rem;

    /* Nouvelles variables */
    --primary: #0056b3;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --primary-light: #e6f0ff;
}

/* Reset et styles de 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: #f5f5f5;
}

/* Conteneur principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header et Navigation */
header {
    background-color: var(--primary-color);
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo:hover {
    color: white;
    opacity: 0.9;
}

.menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    color: white;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: white;
    padding: 0.5rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    color: white;
    opacity: 0.8;
}

.nav-links a.active {
    color: white;
    font-weight: 600;
    border-bottom: 2px solid white;
}

/* Styles pour le menu mobile */
@media (max-width: 768px) {
    .menu-button {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary-color);
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        flex-direction: column;
        gap: 0.5rem;
        z-index: 1000;
    }

    .nav-links.show {
        display: flex;
    }

    .nav-links a {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }
}

/* Main Content */
main {
    margin-top: 3rem;
    padding: 0;
    min-height: calc(100vh - 3rem);
    background-color: var(--background-color);
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,86,179,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.hero h2 {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all var(--transition-speed);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: transparent;
    color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Formulaires */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-control {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: var(--font-size-base);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 62, 80, 0.2);
}

/* Messages */
.message {
    padding: var(--spacing-md);
    border-radius: 4px;
    margin-bottom: var(--spacing-md);
}

.message-error {
    background-color: var(--error-color);
    color: white;
}

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

.message-warning {
    background-color: var(--warning-color);
    color: var(--text-color);
}

/* Cartes */
.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
}

/* Footer */
footer {
    background-color: var(--header-footer-bg);
    color: white;
    padding: 2rem 0 0 0;
    margin-top: 2rem;
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom p {
    margin: 0.5rem 0;
}

.footer-bottom .signature {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.footer-bottom .signature a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-bottom .signature a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-links a {
    color: white;
    font-size: var(--font-size-lg);
    transition: color var(--transition-speed);
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--header-footer-bg);
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links.show {
        display: flex;
    }

    .menu-button {
        display: block;
        background: none;
        border: none;
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.5rem;
        cursor: pointer;
        margin-right: 1rem;
    }

    main {
        margin-top: 2.5rem;
        padding: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Page de création de communauté */
.create-community {
    padding: 120px 0 60px;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

.form-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-bottom: 3rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color var(--transition-speed);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.form-control.error {
    border-color: var(--error-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Section informations */
.info-section {
    text-align: center;
    margin-top: 4rem;
}

.info-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.info-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform var(--transition-speed);
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .create-community {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .form-container {
        padding: 1.5rem;
    }

    .form-section h2 {
        font-size: 1.3rem;
    }

    .form-actions {
        flex-direction: column;
    }

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

/* Page de rejoindre une communauté */
.join-community {
    padding: 120px 0 60px;
}

/* Section de recherche */
.search-section {
    margin-bottom: 3rem;
}

.search-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
}

.search-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.search-input-group .form-control {
    flex: 1;
}

.search-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

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

.filter-group label {
    font-weight: 600;
    color: var(--text-color);
}

/* Section des résultats */
.results-section {
    margin-top: 3rem;
}

.results-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.communities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.community-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1.5rem;
    transition: transform var(--transition-speed);
}

.community-card:hover {
    transform: translateY(-5px);
}

.community-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.community-header h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.community-badge {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.community-info {
    margin-bottom: 1.5rem;
}

.community-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.community-info i {
    color: var(--secondary-color);
}

.community-actions {
    display: flex;
    gap: 1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

.modal-body {
    padding: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .join-community {
        padding: 100px 0 40px;
    }

    .search-input-group {
        flex-direction: column;
    }

    .community-actions {
        flex-direction: column;
    }

    .community-actions .btn {
        width: 100%;
    }

    .modal-content {
        width: 95%;
    }
}

/* Page de représentation */
.representation {
    padding: 120px 0 60px;
}

.representation-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

/* Section processus */
.process-info {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
    height: fit-content;
}

.process-info h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    background: var(--secondary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-color);
    line-height: 1.6;
}

/* Formulaire de représentation */
.representation-form {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
}

.representation-form .form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.representation-form .form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.representation-form .form-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .representation-content {
        grid-template-columns: 1fr;
    }

    .process-info {
        order: 2;
    }

    .form-container {
        order: 1;
    }
}

@media (max-width: 768px) {
    .representation {
        padding: 100px 0 40px;
    }

    .process-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .step-number {
        margin-bottom: 1rem;
    }
}

/* Page À propos */
.about {
    padding: 5rem 0;
}

.about h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.about .subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-section {
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-list {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-section {
    text-align: center;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about h1 {
        font-size: 2rem;
    }

    .about .subtitle {
        font-size: 1rem;
    }

    .about-section {
        padding: 1.5rem;
    }

    .process-steps,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}

/* Page de connexion */
.login {
    padding: 120px 0 60px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.login-container {
    max-width: 450px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 2.5rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--text-color);
}

.login-form {
    margin-bottom: 2rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1rem;
    color: var(--text-color);
}

.input-group .form-control {
    padding-left: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remember-me input[type="checkbox"] {
    margin: 0;
}

.forgot-password {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
}

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

.btn-block {
    width: 100%;
    text-align: center;
}

.login-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: var(--border-color);
}

.login-divider::before {
    left: 0;
}

.login-divider::after {
    right: 0;
}

.login-divider span {
    background: white;
    padding: 0 1rem;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.login-footer p {
    color: var(--text-color);
}

.login-footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    .login {
        padding: 100px 0 40px;
    }

    .login-container {
        padding: 2rem;
    }

    .login-header h1 {
        font-size: 1.8rem;
    }

    .form-options {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* Page d'inscription */
.register {
    padding: 120px 0 60px;
}

.register-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 2.5rem;
}

.register-header {
    text-align: center;
    margin-bottom: 2rem;
}

.register-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.register-header p {
    color: var(--text-color);
}

.register-form {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group i {
    position: absolute;
    left: 1rem;
    color: var(--text-color);
}

.input-group .form-control {
    padding-left: 3rem;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-group a {
    color: var(--secondary-color);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .register {
        padding: 100px 0 40px;
    }

    .register-container {
        padding: 2rem;
    }

    .register-header h1 {
        font-size: 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

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

/* Page de récupération de mot de passe */
.forgot-password {
    padding: 120px 0 60px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.forgot-password-container {
    max-width: 450px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 2.5rem;
}

.forgot-password-header {
    text-align: center;
    margin-bottom: 2rem;
}

.forgot-password-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.forgot-password-header p {
    color: var(--text-color);
}

.forgot-password-form {
    margin-bottom: 2rem;
}

.forgot-password-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.forgot-password-footer p {
    color: var(--text-color);
}

.forgot-password-footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    .forgot-password {
        padding: 100px 0 40px;
    }

    .forgot-password-container {
        padding: 2rem;
    }

    .forgot-password-header h1 {
        font-size: 1.8rem;
    }
}

/* Reset Password Page Styles */
.reset-password {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
}

.reset-password-container {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.reset-password-header {
    text-align: center;
    margin-bottom: 2rem;
}

.reset-password-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.reset-password-header p {
    color: var(--text-color);
    font-size: 1rem;
}

.reset-password-form {
    margin-top: 2rem;
}

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

.reset-password-form .input-group {
    position: relative;
}

.reset-password-form .input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
}

.reset-password-form .form-control {
    padding-left: 3rem;
    width: 100%;
}

.reset-password-form .toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0;
}

.reset-password-form small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-color);
    font-size: 0.875rem;
}

.reset-password-footer {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.reset-password-footer p {
    color: var(--text-color);
    font-size: 0.875rem;
}

.reset-password-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .reset-password {
        padding: 1rem;
    }

    .reset-password-container {
        padding: 1.5rem;
    }

    .reset-password-header h1 {
        font-size: 1.5rem;
    }
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.stat-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-right: 1rem;
}

.stat-info h3 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.stat-info p {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

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

.dashboard-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
}

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

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background-color: var(--light-color);
    font-weight: 600;
}

/* Activities List */
.activities-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: var(--light-color);
    border-radius: 4px;
}

.activity-icon {
    margin-right: 1rem;
    color: var(--secondary-color);
}

.activity-content {
    flex: 1;
}

.activity-description {
    margin-bottom: 0.25rem;
}

.activity-date {
    font-size: 0.875rem;
    color: #666;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: capitalize;
}

.status-badge.active {
    background-color: #e6f4ea;
    color: #1e8e3e;
}

.status-badge.inactive {
    background-color: #fce8e6;
    color: #d93025;
}

/* Styles pour la page de déconnexion */
.logout-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: var(--light-gray);
}

.logout-content {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
}

.logout-content h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.logout-content p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* Services Section */
.services {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-gray);
    width: 100%;
    overflow: hidden;
}

.services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
}

.services h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.service-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.service-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.statuts-container {
    position: relative;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background-color: #f8f9fa;
}

.statuts-container .upload-section {
    margin-bottom: 1rem;
}

.statuts-container .download-section {
    margin-top: 1rem;
}

.statuts-container .loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.statuts-container .loading.active {
    display: flex;
}

@media (max-width: 768px) {
    .statuts-container {
        padding: 0.5rem;
    }
    
    .statuts-container .upload-section,
    .statuts-container .download-section {
        margin: 0.5rem 0;
    }
    
    .statuts-container .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Notifications */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert i {
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .alert {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .alert i {
        font-size: 1rem;
    }
}

/* Styles spécifiques à la page d'accueil */
.features {
    background-color: var(--light);
    padding: 5rem 0;
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.card {
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 2rem;
}

.about {
    padding: 5rem 0;
}

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

.btn-primary:hover {
    background-color: #004494;
    border-color: #004494;
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .features, .about {
        padding: 3rem 0;
    }
} 