/* Fichier CSS globale partagé */
html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}
body {
    font-family: Arial, sans-serif;
    background-image: url('../images/bannierekiva.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

p {
    color: #333;
    font-size: 18px;
    line-height: 1.6;
}

.navbar {
    background: transparent;
    color: white;
    box-shadow: none;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(1px);
}
.navbar a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    margin: 0 0.75rem;
    display: inline-block;
    text-align: center;
    padding: 0.25rem 0.5rem;
}
.brand img {
    height: 50px;
}

footer {
    margin-top: auto;
    position: relative;
}

.main-content {
    margin-top: 100px;
    text-align: center;
    flex: 1;
}
.main-content h1 {
    color: white;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: bold;
}
.main-content p.lead {
    color: white;
    font-size: 24px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.hero {
    margin-top: 80px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.8);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero img,
.partner-logo {
    width: 150px;
    height: auto;
    margin: 20px;
}

.footer-content {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 20px;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

.highlight-green { color: #2ecc71; font-weight: bold; }
/*Nos Actions*/

/* Cartes actions */
.cards-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px auto;
    padding: 0 10px;
}
.action-card {
    width: 18rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.8);
    margin: 20px;
}

.modal-dialog-centered { 
display: flex; align-items: center; justify-content: center;
}

.btn-margin-top { margin-top: 10px; }

/* Contact page */
.contact-box {
    margin-top: 80px;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, 0.8);
    padding: 80px;
    border-radius: 10px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin: 30px 0;
    height: 60px;
}
.social-icons img { width: 60px; height: 60px; transition: transform 0.3s ease; }
.social-icons a:hover img { transform: scale(1.1); }
.social-links { display: flex; justify-content: center; gap: 30px; margin: 20px 0; }
.social-links p { margin: 0; padding: 10px 20px; background: rgba(0,0,0,0.1); border-radius: 5px; }
.logo { height: 40px; display: flex; justify-content: center; margin: 30px 0; }
.phone-3d { display: flex; justify-content: center; animation: rotatePhone 10s linear infinite; }
.phone-3d img { width: 150px; height: auto; }

@keyframes rotatePhone { from { transform: rotateY(0deg); } to { transform: rotateY(360deg); } }

/* Registration page */
.registration-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    margin: 100px auto;
    width: 100%;
    box-sizing: border-box;
}
.registration-form h2 { text-align: center; margin-bottom: 20px; }
.registration-form input { width: 100%; padding: 10px; margin: 10px 0; border: 1px solid #ccc; border-radius: 4px; box-sizing: border-box; }
.registration-form button { width: 100%; padding: 10px; background-color: #28a745; color: white; border: none; border-radius: 4px; font-size: 16px; cursor: pointer; }
.registration-form button:hover { background-color: #218838; }
.message { text-align: center; margin-bottom: 1rem; padding: 10px; border-radius: 4px; font-weight: bold; }
.error { color: #e74c3c; background-color: #fadbd8; border: 1px solid #e74c3c; }
.success { color: #2ecc71; background-color: #d4edda; border: 1px solid #2ecc71; }
.login-link { text-align: center; margin-top: 15px; font-size: 14px; }
.login-link a { color: #28a745; text-decoration: none; font-weight: bold; }
.login-link a:hover { text-decoration: underline; }

/* Login page */
.login-container { display: flex; justify-content: center; align-items: center; min-height: 80vh; }
.login-form { background: rgba(255,255,255,0.9); padding: 20px; border-radius: 8px; max-width: 400px; width: 100%; box-sizing: border-box; }
.login-form h2 { text-align: center; margin-bottom: 20px; }
.login-form input { width: 100%; padding: 10px; margin: 10px 0; border: 1px solid #ccc; border-radius: 4px; }
.login-form button { width: 100%; padding: 10px; background-color: #28a745; color: white; border: none; border-radius: 4px; font-size: 16px; }
.login-form button:hover { background-color: #218838; }
.register-link { text-align: center; margin-top: 15px; font-size: 14px; }
.register-link a { color: #28a745; text-decoration: none; font-weight: bold; }
.register-link a:hover { text-decoration: underline; }

/* Maraudes page specifics */
.maraude-card { background: rgba(255,255,255,0.9); margin: 20px; }
.card.custom { background: rgba(255, 255, 255, 0.9); border: none; border-radius: 15px; padding: 0; text-align: left; }
.card-img-top { width: 100%; height: 180px; object-fit: cover; border-top-left-radius: 0px; border-top-right-radius: 0px; display: block; }
.card-title { font-size: 24px; margin-bottom: 15px; }
.card-text { font-size: 16px; margin-bottom: 20px; }
.btn-primary.custom { background-color: #007bff; border: none; padding: 10px 20px; border-radius: 5px; color: white; text-decoration: none; }
.btn-primary.custom:hover { background-color: #0056b3; }

/* Modal sizing for maraude videos */
.modal-dialog.modal-dialog-centered { max-width: 600px; }

/* Legal / policy page */
.main-title { margin-top: 120px; text-align: center; color: white; font-weight: bold; }
.card-legal { background: rgba(255,255,255,0.92); border-radius: 20px; padding: 40px; max-width: 1000px; margin: 40px auto; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.card-legal h2 { margin-top: 30px; font-weight: bold; }

/* Pop-up de cookies - RGPD */
/* Overlay */
.cookie-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
}

.cookie-overlay.active {
    display: block;
}

/* Pop-up de cookies */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 500px;
    width: 90%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 25px;
    z-index: 9999;
    animation: slideUp 0.4s ease-out;
}

.cookie-consent.active {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.cookie-consent h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.cookie-consent p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.cookie-consent a {
    color: #2196F3;
    text-decoration: none;
}

.cookie-consent a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-button {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-button.accept {
    background: #4CAF50;
    color: white;
}

.cookie-button.accept:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.cookie-button.refuse {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.cookie-button.refuse:hover {
    background: #e0e0e0;
}

/* page inscription.php */
.inscription-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    max-width: 600px;
    margin: 30px auto;
}

.checkbox-line {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 16px 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 8px;
    border-left: 3px solid #4bea2b;
}

.checkbox-line input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    margin-top: 3px !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: white;
    border: 2px solid #9bee6d;
    border-radius: 4px;
    padding: 0 !important;
}

.checkbox-line input[type="checkbox"]:checked {
    background: #4bea2b;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z'/%3E%3C/svg%3E");
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
}

.checkbox-line input[type="checkbox"]:hover {
    box-shadow: 0 2px 6px rgba(224, 92, 0, 0.2);
}

.checkbox-line label {
    font-weight: normal !important;
    margin-top: 0 !important;
    cursor: pointer;
    line-height: 1.4;
}

/* Formulaire inscription */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100% !important;
    padding: 12px !important;
    margin-top: 8px !important;
    border: 2px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 1rem !important;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    outline: none ;
    border-color: #4bea2b !important;
    box-shadow: 0 0 8px rgba(224, 92, 0, 0.2) !important;
}

label {
    display: block !important;
    margin-top: 20px !important;
    font-weight: bold !important;
    color: #333 !important;
}

textarea {
    height: 100px !important;
    resize: vertical !important;
}

/* Bouton submit */
button[type="submit"] {
    margin-top: 32px !important;
    padding: 14px 40px !important;
    background: linear-gradient(135deg, #4bea2b 0%, #4bea2b 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    box-shadow: 0 4px 12px rgba(224, 92, 0, 0.2) !important;
}

button[type="submit"]:hover {
    background: linear-gradient(135deg, #60ef43 0%, #60ef43 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(224, 92, 0, 0.4) ;
}

button[type="submit"]:active {
    transform: translateY(0) !important;
}

.alerte,
.succes,
.erreur {
    padding: 14px 16px !important;
    margin: 16px 0 !important;
    border-radius: 6px !important;
    border-left: 4px solid !important;
    font-weight: 500 !important;
}

.alerte {
    background: #fff3cd !important;
    border-left-color: #f0ad4e !important;
    color: #856404 !important;
}

.succes {
    background: #d4edda !important;
    border-left-color: #28a745 !important;
    color: #155724 !important;
}

.erreur {
    background: #f8d7da !important;
    border-left-color: #dc3545 !important;
    color: #721c24 !important;
}

.retour {
    display: inline-block !important;
    margin-bottom: 16px !important;
    color: #050f05 !important;
    text-decoration: none !important;
    font-weight: bold !important;
    transition: all 0.3s ease;
}

.retour:hover {
    color: #403f4a !important;
    margin-left: 5px;
}

/* Page dons.php */
.donation-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px 40px;
    border-radius: 20px;
    max-width: 1000px;
    margin: 40px auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.donation-intro {
    text-align: center;
    margin-bottom: 50px;
}

.donation-title {
    font-size: 32px !important;
    font-weight: bold !important;
    color: #191009 !important;
    margin-bottom: 16px !important;
}

.donation-description {
    font-size: 16px !important;
    color: #555 !important;
    line-height: 1.7 !important;
    max-width: 700px !important;
    margin: 0 auto !important;
}

.donation-section h2 {
    text-align: center !important;
    margin: 40px 0 30px 0 !important;
    font-size: 26px !important;
    color: #333 !important;
    font-weight: bold !important;
}

.donation-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.donation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
    background: linear-gradient(135deg, #45a049 0%, #45a040 100%);
    border-radius: 16px;
    text-decoration: none !important;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(224, 92, 0, 0.2);
    cursor: pointer;
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.donation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: 0;
}

.donation-card:hover::before {
    left: 100%;
}

.donation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(5, 48, 165, 0.35);
    
}

.donation-amount {
    font-size: 50px !important;
    font-weight: bold !important;
    z-index: 1;
    margin-bottom: 8px;
}

.donation-card p {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    z-index: 1;
    margin: 0 !important;
}

.donation-footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e05c0020;
    font-size: 14px;
    color: #777 !important;
}

/* Icônes oeil pour mot de passe */
.password-wrapper {
    position: relative !important;
}

.password-wrapper input[type="password"],
.password-wrapper input[type="text"] {
    padding-right: 45px !important;
}

.password-toggle-icon {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    cursor: pointer !important;
    font-size: 20px !important;
    user-select: none !important;
    z-index: 10 !important;
    line-height: 1 !important;
    opacity: 0.7 !important;
    transition: opacity 0.3s ease !important;
}

.password-toggle-icon:hover {
    opacity: 1 !important;
}

/* ===========================
   PAGE ADMIN ADHESIONS
   =========================== */

/* container login (fix nom de classe HTML) */
.login-container{
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:80vh;
}

/* HERO admin */
.hero .subtitle{
    color:#444;
    font-size:18px;
    margin-top:10px;
}

/* stats badge */
.stats{
    margin-top:25px;
    display:flex;
    justify-content:center;
}
.stat{
    background:white;
    padding:20px 35px;
    border-radius:12px;
    box-shadow:0 6px 20px rgba(0,0,0,0.1);
    text-align:center;
}
.stat-num{
    font-size:32px;
    font-weight:bold;
    color:#28a745;
}
.stat-label{
    font-size:14px;
    color:#777;
}

/* cartes demandes */
.demande-card{
    background:rgba(255,255,255,0.95);
    border-radius:15px;
    padding:25px;
    margin:25px 0;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
    transition:.3s;
}
.demande-card:hover{
    transform:translateY(-5px);
}

.demande-name{
    font-size:22px;
    font-weight:bold;
    margin-bottom:5px;
}
.demande-date{
    font-size:14px;
    color:#777;
    margin-bottom:15px;
}

.demande-info{
    display:grid;
    gap:8px;
    margin-bottom:20px;
}
.info-item{
    display:flex;
    justify-content:space-between;
    background:#f8f9fa;
    padding:10px 15px;
    border-radius:8px;
}
.info-label{
    font-weight:bold;
    color:#333;
}

/* boutons actions */
.actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.btn{
    padding:10px 18px;
    border-radius:8px;
    text-decoration:none;
    font-weight:bold;
    font-size:14px;
    transition:.3s;
}

.btn-valider{
    background:#28a745;
    color:white;
}
.btn-valider:hover{
    background:#218838;
}

.btn-refuser{
    background:#dc3545;
    color:white;
}
.btn-refuser:hover{
    background:#b52a37;
}

.btn-email{
    background:#007bff;
    color:white;
}
.btn-email:hover{
    background:#0056b3;
}

/* état vide */
.empty{
    text-align:center;
    margin:60px 0;
    color:white;
}
.empty h3{
    margin-top:15px;
}

<!-- Styles du carrousel équipe -->
.team-carousel-section {
            margin: 2.5rem 0;
        }

        .team-carousel-section h2.team-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 1.2rem;
            text-align: center;
        }

        .team-carousel {
            position: relative;
            overflow: hidden;
            border-radius: 14px;
        }

        .team-track {
            display: flex;
            transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
            will-change: transform;
        }

        .team-card {
            min-width: 100%;
            padding: 2rem 2.5rem;
            border-radius: 14px;
            border: 1px solid rgba(0,0,0,0.08);
            background: #fff;
            display: flex;
            align-items: center;
            gap: 2rem;
            box-shadow: 0 4px 20px rgba(0,0,0,0.06);
        }

        .team-avatar {
            flex-shrink: 0;
            width: 90px;
            height: 90px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            font-weight: 700;
            color: #fff;
            position: relative;
        }

        .team-info { flex: 1; }

        .team-name {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 0.15rem;
            color: #1a1a2e;
        }

        .team-poste {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.15em;
            font-weight: 600;
            margin-bottom: 0.9rem;
        }

        .team-divider {
            width: 36px;
            height: 2px;
            border-radius: 2px;
            margin-bottom: 0.9rem;
        }

        .team-role {
            font-size: 0.92rem;
            line-height: 1.7;
            color: #555;
        }

        .team-tags {
            margin-top: 1rem;
            display: flex;
            gap: 0.4rem;
            flex-wrap: wrap;
        }

        .team-tag {
            padding: 0.2rem 0.65rem;
            border-radius: 100px;
            font-size: 0.7rem;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            font-weight: 600;
            border: 1px solid currentColor;
            opacity: 0.8;
        }

        .team-controls {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            margin-top: 1.2rem;
        }

        .team-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: 1px solid rgba(0,0,0,0.15);
            background: #fff;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1rem;
            transition: all 0.2s;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .team-btn:hover {
            background: #f0f0f0;
            transform: scale(1.07);
        }

        .team-dots {
            display: flex;
            gap: 0.45rem;
        }

        .team-dot {
            width: 7px;
            height: 7px;
            border-radius: 100px;
            background: #ccc;
            cursor: pointer;
            transition: all 0.3s;
        }

        .team-dot.active {
            width: 22px;
            background: #2a9d5c;
        }

        @media (max-width: 580px) {
            .team-card {
                flex-direction: column;
                text-align: center;
                padding: 1.5rem 1.2rem;
                gap: 1rem;
            }
            .team-divider { margin-left: auto; margin-right: auto; }
            .team-tags { justify-content: center; }
        }

/* Fin du CSS spécifique aux pages, les styles suivants sont globaux et partagés entre toutes les pages */
