/* Variables */
:root {
    --color-accent: #D77D7D;
    --color-accent-light: #F3E1DD;
    --color-bg: #F9F6F4;
    --color-text: #2d2d2d;
    --color-footer: #20284e;
    --font-base: 'Open Sans', sans-serif;
    --font-title: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-base);
    background: var(--color-bg);
    color: var(--color-text);
}

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

/* Header */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    z-index: 100;
    transition: background 0.3s;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header img {
    max-height: 50px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-section .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    max-width: 600px;
    margin: 0 auto;
}

/* Mission Section */
.mission-section {
    padding: 80px 20px;
    text-align: center;
}

.mission-section h2 {
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 20px;
}

.mission-section p {
    max-width: 700px;
    margin: 0 auto;
}

/* Engagements Section */
.engagements-section {
    padding: 60px 20px;
    background: var(--color-accent-light);
}

.engagements-section .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.engagements-section .card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1 1 250px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.engagements-section .card img {
    max-width: 100px;
    margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials-section {
    padding: 60px 20px;
    background: white;
}

.testimonials-section .testimonial {
    margin-bottom: 20px;
    font-style: italic;
}

/* Latest News Section */
.latest-news-section {
    padding: 60px 20px;
}

.latest-news-section .news {
    display: flex;
    gap: 20px;
}

.latest-news-section .news-item {
    flex: 1;
    background: white;
    padding: 20px;
    border-radius: 10px;
}

.latest-news-section .news-item img {
    width: 100%;
    border-radius: 10px;
}

/* Footer */
.site-footer {
    background: var(--color-footer);
    color: white;
    padding: 40px 20px;
}

.footer-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo img {
    max-width: 120px;
}

.footer-social a,
.footer-contact p {
    display: block;
    margin-bottom: 8px;
    color: white;
}

.footer-partners .partners-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-partners .partners-logos img {
    max-width: 80px;
}

/* Responsive */
@media (max-width: 768px) {
    .site-header .container,
    .footer-flex {
        flex-direction: column;
        align-items: center;
    }

    .latest-news-section .news {
        flex-direction: column;
    }

    .engagements-section .cards {
        flex-direction: column;
    }
}


.mission-section {
    padding: 80px 20px;
    background: var(--color-accent-light);
    text-align: center;
    border-bottom: 5px solid var(--color-accent);
}

.mission-section h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.mission-section p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--color-text);
}

.engagements-section {
    padding: 80px 20px;
    background: #ffffff;
    text-align: center;
    border-bottom: 5px solid var(--color-accent);
}

.engagements-section h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--color-accent);
}

.engagements-section p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--color-text);
}

.engagements-section .cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.engagements-section .card {
    background: var(--color-accent-light);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1 1 250px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.engagements-section .card img {
    max-width: 80px;
    margin-bottom: 20px;
}

.engagements-section .card h3 {
    margin-bottom: 7px;
    color: var(--color-accent);
}

.testimonials-section {
    padding: 80px 20px;
    background: var(--color-accent-light);
    text-align: center;
}

.testimonials-section h2 {
    font-family: var(--font-title);
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--color-accent);
}

.testimonial-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}

.testimonial-card span {
    display: block;
    font-weight: bold;
    color: var(--color-accent);
}


.latest-news-section {
    padding: 80px 20px;
    background: #f9f9fb;
    text-align: center;
}

.latest-news-section h2 {
    color: var(--color-accent);
    margin-bottom: 40px;
}

.latest-news-section .news {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.latest-news-section .news-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 350px;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.latest-news-section .news-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.latest-news-section .news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.latest-news-section .news-item h3 {
    padding: 15px 15px 0;
    color: var(--color-accent);
}

.latest-news-section .news-item p {
    padding: 0 15px;
    color: #6e6e6e;
    line-height: 1.5;
    display: -webkit-box;
    max-height: 9rem ;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-item .news-date {
    margin: 10px 15px 0;
    font-size: 0.9rem;
    color: var(--color-accent) !important;
    font-style: italic;
}

/* Bouton Lire plus */
.latest-news-section .news-item a.btn {
    display: inline-block;
    margin: 15px;
    padding: 10px 20px;
    background: var(--color-accent);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.latest-news-section .news-item a.btn:hover {
    background: #b95c5c;
}


.btn {
    display: inline-block;
    margin: 15px;
    padding: 10px 20px;
    background: var(--color-accent);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
}

.btn:hover {
    background: #b95c5c;
}




/* CSS Footer */
.site-footer {
    background: var(--color-footer);
    color: white;
    padding: 40px 20px;
}

.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo-contact {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-logo-contact img {
    width: 150px;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.footer-contact-social {
    display: flex;
    align-items: center;
    gap: 40px;
}

.footer-contact h4, .footer-social-block h4, .footer-bottom h4 {
    margin-bottom: 10px;
    text-align: center;
}

.footer-separator {
    width: 2px;
    background: white;
    height: 100px;
}

.footer-social-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
}

.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.partners-logos img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: white;
    padding: 5px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .footer-contact-social {
        flex-direction: column;
        align-items: center;
    }
    .footer-separator {
        display: none;
    }
}

.footer-legal {
    margin-top: 20px;
    text-align: center;
}

.footer-legal a {
    color: white;
    text-decoration: underline;
    font-size: 0.9rem;
    transition: opacity 0.3s;
}

.footer-legal a:hover {
    opacity: 0.7;
}

.page-association {
    background: var(--color-bg);
}

/* Section Hero */
.association-hero {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.association-hero h1 {
    font-family: var(--font-title);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.association-hero p {
    font-size: 1.2rem;
}

/* Section Intro */
.association-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
}

.association-intro h2 {
    color: var(--color-accent);
    text-align: center;
}

.association-intro .intro-text {
    flex: 1;
}

.association-intro .intro-img {
    flex: 1;
}

.association-intro .intro-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Section Valeurs */
.association-values {
    padding: 60px 20px;
}

.association-values h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-accent);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.value-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.value-card h3 {
    color: var(--color-accent);
    margin-bottom: 10px;
}

/* Section Missions */
.association-missions {
    padding: 60px 20px;
}

.association-missions h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-accent);
}

.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.mission-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.mission-card h3 {
    color: var(--color-accent);
    margin-bottom: 10px;
}

/* Responsive Ajustements */
@media (max-width: 768px) {
    .association-intro {
        flex-direction: column;
    }
}


.page-soutenir {
    background: var(--color-bg);
}

/* Section Hero */
.soutenir-hero {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.soutenir-hero h1 {
    font-family: var(--font-title);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.soutenir-hero p {
    font-size: 1.2rem;
}

/* Options */
.soutenir-options {
    padding: 60px 20px;
}

.soutenir-options h2 {
    text-align: center;
    margin-bottom: 40px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.option-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.option-card h3 {
    color: var(--color-accent);
    margin-bottom: 10px;
}

.option-card p {
    margin-bottom: 20px;
}

.option-card .btn {
    background: var(--color-accent);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.option-card .btn:hover {
    background: #b95c5c;
}

/* Impact */
.soutenir-impact {
    padding: 60px 20px;
}

.soutenir-impact h2 {
    text-align: center;
    margin-bottom: 40px;
}

.impact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.impact-item {
    background: white;
    flex: 1 1 150px;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.impact-item span {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-accent);
    display: block;
    margin-bottom: 10px;
}

/* Responsive ajustements */
@media (max-width: 768px) {
    .impact-grid {
        flex-direction: column;
        align-items: center;
    }
}


.page-contact {
    background: var(--color-bg);
}

/* Section Hero */
.contact-hero {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.contact-hero h1 {
    font-family: var(--font-title);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.contact-hero p {
    font-size: 1.2rem;
}

/* Formulaire */
.contact-form-section {
    padding: 60px 20px;
}

.contact-form-section h2 {
    text-align: center;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-family: var(--font-base);
}

.form-group textarea {
    resize: vertical;
}

.form-group .btn {
    width: 100%;
    padding: 12px;
    background: var(--color-accent);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-group .btn:hover {
    background: #b95c5c;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }
}


.page-actualites {
    background: var(--color-bg);
}

.actualites-hero {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.actualites-list {
    padding: 60px 20px;
}

.actualites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.actu-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.actu-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.actu-card h3 {
    margin-top: 10px;
    color: var(--color-accent);
}

.actu-card .actu-date {
    font-size: 0.9rem;
    color: var(--color-accent);
    margin: 10px 0;
}

.actu-card p {
    margin: 10px 0;
}

.actu-card .btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-accent);
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

.actu-card .btn:hover {
    background: #b95c5c;
}



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

.actu-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.actu-card img {
    width: 100%;
    height: 30%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.actu-card h3 {
    font-size: 1.6rem;
    margin-top: 10px;
    color: var(--color-accent);
}

.actu-card .actu-date {
    font-size: 0.9rem;
    color: blue;
    margin: 10px 0;
}

.actu-body {
    line-height: 1.6;
}

.realisations-section {
    padding: 80px 20px;
}

.realisation-detail {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 60px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.realisation-detail.reverse {
    flex-direction: row-reverse;
}

.realisation-image img {
    width: 100%;
    max-width: 600px;
    object-fit: cover;
}

.realisation-content {
    flex: 1;
    padding: 40px;
}

.realisation-content h2 {
    color: var(--color-accent);
    margin-bottom: 20px;
    font-size: 2rem;
}

.realisation-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.realisation-date {
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .realisation-detail {
        flex-direction: column;
    }
}

 .admin-dashboard {
            padding: 80px 20px;
            background: var(--color-bg);
            min-height: 67vh;
        }
        .admin-dashboard .container {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }
        .admin-dashboard h2 {
            font-family: var(--font-title);
            font-size: 2.5rem;
            margin-bottom: 40px;
            color: var(--color-accent);
        }
        .admin-stats {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }
        .admin-stat {
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            text-align: center;
        }
        .admin-stat span {
            display: block;
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--color-accent);
        }
        .admin-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 20px;
        }
        .admin-card {
            background: white;
            padding: 30px;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            text-align: center;
            transition: transform 0.3s ease;
        }
        .admin-card:hover {
            transform: translateY(-5px);
        }
        .admin-card a {
            display: block;
            text-decoration: none;
            color: var(--color-text);
            font-weight: 600;
        }

        .pastille {
            display: inline-block;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.9rem;
            color: white;
            font-weight: 600;
        }
        .pastille.enattente { background: #f2994a; }
        .pastille.enlecture { background: #6fcf97; }
        .pastille.encontact { background: #3b4a8b; }
        .pastille.accepte { background: #27ae60; }
        .pastille.refuse { background: #eb5757; }

        .pastille-lu {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            display: inline-block;
            margin-right: 8px;
        }
        .pastille-lu.nonlu {
            background: #eb5757;
        }
        .pastille-lu.lu {
            background: #6fcf97;
        }

        .stats-page {
            padding: 80px 20px;
        }
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
        }
        .stats-card {
            background: white;
            padding: 20px;
            border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
        }
        .stats-card:hover {
            transform: translateY(-5px);
        }
        .stats-card h3 {
            margin-bottom: 15px;
            color: var(--color-accent);
        }
        .stats-detail {
            margin-top: 10px;
            font-size: 0.9rem;
            color: var(--color-text);
        }
        canvas {
            width: 100% !important;
            max-height: 400px;
        }

        /* --- MENTIONS LEGALES --- */

.page-association {
    background: var(--color-bg);
}

/* Section Titre Hero */
.association-hero {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.association-hero h1 {
    font-family: var(--font-title);
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.association-hero p {
    font-size: 1.2rem;
}

/* Blocs Intro */
.association-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 60px 20px;
    justify-content: center;
    text-align: center;
}

.association-intro h2 {
    color: var(--color-accent);
    font-family: var(--font-title);
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Blocs Mentions légales */
.association-values {
    padding: 60px 20px;
    margin-bottom: 40px;
}

.association-values h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--color-accent);
    font-family: var(--font-title);
    font-size: 2rem;
}

.value-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .association-hero h1 {
        font-size: 2.2rem;
    }

    .value-card {
        padding: 20px 15px;
        font-size: 1rem;
    }
}

/* --- Connexion Admin Page --- */

.contact-hero {
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
    color: white;
    padding: 100px 20px;
    text-align: center;
    animation: fadeInDown 0.6s ease-out;
}

.animate-form {
    animation: fadeInUp 0.6s ease-out;
}

/* Message d'erreur */
.form-error {
    background: #ffe0e0;
    color: #b40000;
    padding: 10px 15px;
    margin-bottom: 20px;
    border-left: 5px solid #b40000;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

/* Contact retour */
.alert {
    padding: 15px 20px;
    margin: 20px auto;
    border-radius: 8px;
    max-width: 600px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.alert.success {
    background-color: #e6fff4;
    color: #007c5c;
    border: 2px solid #00b894;
    border-left: 6px solid #00b894;
    box-shadow: 0 4px 12px rgba(0, 184, 148, 0.2);
    font-family: 'Montserrat', sans-serif;
}

.alert.error {
    background-color: #ffe0e0;
    color: #d60000;
    border: 2px solid #d60000;
}

/* Benevoles meerci_benevole.php */
.contact-confirmation {
    padding: 80px 20px;
    background: #f4fdfb;
    /*border-top: 4px solid #00b894;*/
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

.contact-confirmation p {
    font-size: 1.2rem;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #2c3e50;
}

.contact-confirmation .btn {
    background-color: var(--color-accent);
    color: white;
    font-weight: bold;
    font-size: 1rem;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.contact-confirmation .btn:hover {
    background-color: var(--color-accent);
}

/* Tri Candidature */
.filtre-statut-form {
    text-align: center;
    margin-bottom: 30px;
}

.filtre-statut-form select {
    padding: 12px 16px;
    font-size: 1rem;
    font-family: 'Open Sans', sans-serif;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    color: #2d2d2d;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: border-color 0.3s, box-shadow 0.3s;
    max-width: 300px;
    width: 100%;
}

.filtre-statut-form select:focus {
    border-color: #00b894;
    box-shadow: 0 0 0 3px rgba(0, 184, 148, 0.2);
    outline: none;
}

@media (max-width: 600px) {
    .filtre-statut-form select {
        font-size: 0.95rem;
    }
}

/* Masquer par défaut le formulaire d'ajout */
.hidden {
    display: none;
}

/* Tableau des réalisations */
.styled-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 0.95rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.styled-table th,
.styled-table td {
    padding: 16px 20px;
    text-align: left;
    vertical-align: middle;
}

.styled-table th {
    background-color: var(--color-accent-light);
    color: var(--color-text);
    font-weight: bold;
    border-bottom: 2px solid var(--color-accent);
}

.styled-table tr {
    border-bottom: 1px solid #ddd;
}

.styled-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.styled-table tr:hover {
    background-color: #f1f1f1;
}

.styled-table td img {
    max-height: 70px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Boutons d'action */
.btn-danger {
    background-color: #eb5757;
    color: white;
}

.btn-danger:hover {
    background-color: #c0392b;
}
/* Actions mieux espacées */
.styled-table td .btn {
    margin: 5px 5px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Colonne actions centrée */
.styled-table td:last-child {
    white-space: nowrap;
    text-align: center;
}

.styled-table tbody tr {
    border-bottom: 1px solid #eee;
    transition: background 0.2s ease;
}

.styled-table tbody tr:hover {
    background-color: #fdf7f7;
}

.btn-add-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.btn-add-wrapper .btn {
    padding: 12px 24px;
    font-size: 1rem;
    border-radius: 8px;
}
