
:root{
  --green:#075b38;
  --green-dark:#044228;
  --gold:#d9a91b;
  --cream:#fffaf0;
  --text:#183129;
  --muted:#f3f6f4;
  --white:#fff;
  --shadow:0 18px 50px rgba(4,66,40,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:#fff;line-height:1.6}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.site-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:12px 5%;background:rgba(255,255,255,.96);box-shadow:0 4px 20px rgba(0,0,0,.06)}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:62px;height:62px;object-fit:contain;border-radius:50%}
.brand strong,.brand small{display:block}
.brand strong{color:var(--green-dark);font-size:1rem}
.brand small{font-size:.78rem;color:#667}
.main-nav{display:flex;align-items:center;gap:22px;font-weight:700;font-size:.92rem}
.main-nav a:hover{color:var(--gold)}
.nav-cta{background:var(--green);color:#fff!important;padding:10px 15px;border-radius:10px}
.menu-button{display:none;border:0;background:none;font-size:1.7rem}
.hero{min-height:76vh;display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:50px;padding:80px 8%;background:linear-gradient(135deg,#fff 0%,var(--cream) 55%,#f0f7f3 100%)}
.hero h1{font-size:clamp(2.5rem,5vw,4.8rem);line-height:1.05;margin:.25em 0;color:var(--green-dark)}
.hero p{font-size:1.12rem;max-width:720px}
.eyebrow{font-weight:800;letter-spacing:.12em;color:var(--gold);font-size:.78rem}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:28px}
.button{display:inline-flex;justify-content:center;align-items:center;border:0;border-radius:10px;padding:13px 20px;font-weight:800;cursor:pointer}
.primary{background:var(--green);color:#fff}
.secondary{border:2px solid var(--green);color:var(--green);background:transparent}
.gold{background:var(--gold);color:#172019}
.hero-logo{display:flex;justify-content:center}
.hero-logo img{width:min(430px,100%);border-radius:50%;box-shadow:var(--shadow)}
.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#dbe6df}
.stats div{padding:28px;text-align:center;background:#fff}
.stats strong,.stats span{display:block}
.stats strong{font-size:2rem;color:var(--green)}
.section{padding:85px 8%}
.muted{background:var(--muted)}
.split{display:grid;grid-template-columns:1.3fr .7fr;gap:50px;align-items:center}
.section h2{font-size:clamp(2rem,4vw,3.2rem);line-height:1.15;margin:.2em 0 .5em;color:var(--green-dark)}
.quote-card{background:var(--green);color:#fff;padding:40px;border-radius:20px;box-shadow:var(--shadow)}
.quote-card p{font-size:1.5rem}
.section-heading{max-width:780px;margin-bottom:38px}
.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.feature-grid article,.member-card,.contact-grid div{background:#fff;border-radius:16px;padding:24px;box-shadow:0 10px 30px rgba(4,66,40,.08)}
.icon{font-size:2rem}
.member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.member-card{display:flex;align-items:center;gap:14px}
.avatar{width:48px;height:48px;border-radius:50%;display:grid;place-items:center;background:var(--cream);color:var(--green);font-weight:900;font-size:1.25rem}
.member-card h3{margin:0;font-size:1rem}
.member-card p{margin:3px 0;color:var(--green);font-weight:700;font-size:.9rem}
.member-card span{font-size:.75rem;color:#788}
.cta-section{display:grid;grid-template-columns:1fr 1fr;gap:50px;background:var(--green-dark);color:#fff}
.cta-section h2{color:#fff}
.light{color:#f0ce5e}
.interest-form{background:#fff;color:var(--text);padding:28px;border-radius:18px}
.interest-form label{display:block;font-weight:700;margin-bottom:14px}
.interest-form input{width:100%;margin-top:6px;padding:12px;border:1px solid #ccd6d0;border-radius:8px}
.form-message{margin-bottom:0;font-weight:700;color:var(--green)}
.dashboard-preview{display:grid;grid-template-columns:repeat(3,1fr) auto;gap:16px;align-items:center;padding:28px;border:1px solid #dce7e1;border-radius:18px}
.dashboard-preview span,.dashboard-preview strong{display:block}
.dashboard-preview span{font-size:.8rem;color:#788}
.contact-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.contact-grid strong,.contact-grid span{display:block}
footer{display:flex;align-items:center;justify-content:center;gap:15px;padding:28px;background:#032d1c;color:#fff;text-align:center}
footer img{width:52px;border-radius:50%}
@media (max-width:980px){
  .menu-button{display:block}
  .main-nav{display:none;position:absolute;top:86px;left:0;right:0;flex-direction:column;align-items:stretch;background:#fff;padding:20px 5%;box-shadow:0 15px 30px rgba(0,0,0,.1)}
  .main-nav.open{display:flex}
  .hero,.split,.cta-section{grid-template-columns:1fr}
  .hero-logo{order:-1}
  .hero-logo img{width:250px}
  .feature-grid{grid-template-columns:repeat(2,1fr)}
  .member-grid{grid-template-columns:repeat(2,1fr)}
  .dashboard-preview{grid-template-columns:1fr 1fr}
}
@media (max-width:620px){
  .brand strong{font-size:.85rem}.brand small{font-size:.7rem}
  .brand img{width:50px;height:50px}
  .hero{padding:55px 6%}
  .section{padding:65px 6%}
  .stats,.feature-grid,.member-grid,.dashboard-preview,.contact-grid{grid-template-columns:1fr}
  .hero-actions{flex-direction:column}
}

.document-card{display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;padding:28px;border:1px solid #dce7e1;border-radius:18px;box-shadow:0 10px 30px rgba(4,66,40,.08)}
.document-icon{width:64px;height:64px;border-radius:14px;display:grid;place-items:center;background:var(--green);color:#fff;font-weight:900}
.document-card h3{margin:0 0 4px;color:var(--green-dark)}
.document-card p{margin:0;color:#788}
.document-actions{display:flex;gap:10px;flex-wrap:wrap}
.social-card{display:block;background:#fff;border-radius:16px;padding:24px;box-shadow:0 10px 30px rgba(4,66,40,.08)}
.social-card:hover{transform:translateY(-2px)}
.footer-links{display:flex;gap:14px;font-weight:700}
@media (max-width:760px){.document-card{grid-template-columns:1fr}.document-actions{flex-direction:column}.footer-links{justify-content:center}footer{flex-direction:column}}

.adhesion-form{max-width:760px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-grid label{margin:0}
.form-grid select{width:100%;margin-top:6px;padding:12px;border:1px solid #ccd6d0;border-radius:8px;background:#fff}
.full-field{grid-column:1/-1}
.consent{display:flex!important;gap:10px;align-items:flex-start;margin:18px 0!important;font-weight:400!important}
.consent input{width:auto!important;margin-top:5px!important}
.form-message{min-height:24px}
button:disabled{opacity:.65;cursor:not-allowed}
.admin-body{background:#f3f6f4;min-height:100vh}
.admin-shell{width:min(1180px,94%);margin:35px auto}
.admin-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.admin-panel{background:#fff;padding:24px;border-radius:16px;box-shadow:0 10px 30px rgba(4,66,40,.08)}
.admin-actions{display:flex;gap:10px;flex-wrap:wrap}
.admin-search{display:flex;gap:10px;margin-bottom:18px}
.admin-search input{flex:1;padding:12px;border:1px solid #ccd6d0;border-radius:8px}
.table-wrap{overflow:auto}
.member-table{width:100%;border-collapse:collapse;min-width:1050px}
.member-table th,.member-table td{padding:11px 10px;border-bottom:1px solid #e5ece8;text-align:left;font-size:.9rem}
.member-table th{background:#f3f6f4;color:#044228;position:sticky;top:0}
.status{display:inline-block;padding:4px 8px;border-radius:999px;background:#eef7f1;color:#075b38;font-weight:700}
.login-card{width:min(460px,92%);margin:10vh auto;background:#fff;padding:32px;border-radius:18px;box-shadow:0 18px 50px rgba(4,66,40,.12)}
.login-card img{width:100px;margin:0 auto 15px;border-radius:50%}
.login-card label{display:block;font-weight:700;margin:14px 0}
.login-card input{width:100%;padding:12px;margin-top:6px;border:1px solid #ccd6d0;border-radius:8px}
.alert{padding:12px;border-radius:8px;background:#fff1f1;color:#8a1f1f;margin-bottom:15px}
@media (max-width:620px){.form-grid{grid-template-columns:1fr}.full-field{grid-column:auto}.admin-top{align-items:flex-start;flex-direction:column}}

.admin-nav{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#fff;padding:12px 18px;border-radius:14px;margin-bottom:25px;box-shadow:0 8px 25px rgba(4,66,40,.08)}
.admin-nav>div{display:flex;gap:8px;flex-wrap:wrap}
.admin-nav a{padding:9px 12px;border-radius:8px;font-weight:700}
.admin-nav a.active,.admin-nav>div a:hover{background:#075b38;color:#fff}
.brand-mini{display:flex!important;align-items:center;gap:10px;padding:0!important;color:#044228}
.brand-mini img{width:44px;height:44px;border-radius:50%}
.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}
.metric-card{background:#fff;border-radius:15px;padding:22px;box-shadow:0 10px 30px rgba(4,66,40,.08);border-left:4px solid #075b38}
.metric-card span,.metric-card strong{display:block}
.metric-card span{color:#667;font-size:.85rem;margin-bottom:8px}
.metric-card strong{font-size:1.8rem;color:#044228}
.warning-card{border-left-color:#d9a91b}
.panel-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}
.panel-title h2{margin:0;color:#044228}
.panel-title p{margin:2px 0}
.filter-form{display:grid;grid-template-columns:1fr 180px auto auto;gap:10px;margin-bottom:18px}
.filter-form input,.filter-form select,.payment-form input,.payment-form select,.payment-form textarea{width:100%;padding:12px;border:1px solid #ccd6d0;border-radius:8px;background:#fff;font:inherit}
.payment-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.payment-form label{font-weight:700}
.payment-form label input,.payment-form label select,.payment-form label textarea{margin-top:6px}
.form-panel{max-width:850px}
.success-alert{padding:13px 16px;border-radius:10px;background:#eaf7ee;color:#075b38;margin-bottom:18px;font-weight:700}
.danger-button{border:0;background:#a52222;color:#fff;padding:8px 10px;border-radius:7px;cursor:pointer}
@media(max-width:900px){.metric-grid{grid-template-columns:repeat(2,1fr)}.filter-form{grid-template-columns:1fr 1fr}.admin-nav{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.metric-grid,.payment-form,.filter-form{grid-template-columns:1fr}.admin-nav>div{flex-direction:column;width:100%}.admin-nav>div a{width:100%}}

.access-code-alert{padding:16px;border-radius:10px;background:#fff5ce;color:#624b00;margin-bottom:18px;font-weight:800;border:1px solid #ebd273}
.small-button{display:inline-block;border:0;background:#075b38;color:#fff;padding:7px 10px;border-radius:7px;font-weight:700;cursor:pointer;font-size:.82rem}
.member-page{background:#f3f6f4;min-height:100vh}
.member-login-card{width:min(480px,92%);margin:7vh auto;background:#fff;padding:34px;border-radius:20px;box-shadow:0 18px 50px rgba(4,66,40,.12)}
.member-login-card>img{width:110px;margin:0 auto 15px;border-radius:50%}
.member-login-card h1{color:#044228;line-height:1.15}
.member-login-card label{display:block;font-weight:700;margin:15px 0}
.member-login-card input{width:100%;padding:13px;margin-top:6px;border:1px solid #ccd6d0;border-radius:8px}
.full-button{width:100%}
.member-header{display:flex;justify-content:space-between;align-items:center;padding:13px 5%;background:#fff;box-shadow:0 5px 20px rgba(4,66,40,.08)}
.member-header nav{display:flex;gap:16px;font-weight:700}
.member-shell{width:min(1200px,92%);margin:35px auto}
.member-welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}
.member-welcome h1{font-size:clamp(2rem,4vw,3rem);color:#044228;margin:.15em 0}
.member-status{background:#eaf7ee;color:#075b38;padding:8px 14px;border-radius:999px;font-weight:800}
.member-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:22px}
.member-metrics>div,.member-panel{background:#fff;padding:23px;border-radius:15px;box-shadow:0 10px 30px rgba(4,66,40,.08)}
.member-metrics span,.member-metrics strong{display:block}
.member-metrics span{color:#667;font-size:.84rem}
.member-metrics strong{font-size:1.45rem;color:#044228;margin-top:5px}
.member-layout{display:grid;grid-template-columns:360px 1fr;gap:20px}
.member-panel h2{color:#044228;margin-top:0}
.profile-list{margin:0}
.profile-list>div{padding:11px 0;border-bottom:1px solid #e5ece8}
.profile-list dt{font-size:.78rem;color:#788}
.profile-list dd{margin:2px 0 0;font-weight:700}
.receipt-page{background:#eef2ef;padding:30px}
.receipt-actions{width:min(820px,100%);margin:0 auto 15px;display:flex;justify-content:flex-end;gap:10px}
.receipt{width:min(820px,100%);margin:auto;background:#fff;padding:45px;box-shadow:0 15px 40px rgba(0,0,0,.1);border-top:8px solid #075b38}
.receipt-header{display:flex;align-items:center;gap:20px;border-bottom:1px solid #dfe8e2;padding-bottom:20px}
.receipt-header img{width:95px;border-radius:50%}
.receipt-header h1{color:#044228;margin:0}
.receipt-header p{margin:4px 0}
.receipt-number{text-align:right;font-weight:900;color:#075b38;margin:20px 0}
.receipt-details{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.receipt-details>div{background:#f6f8f7;padding:16px;border-radius:9px}
.receipt-details span,.receipt-details strong{display:block}
.receipt-details span{font-size:.78rem;color:#788}
.receipt-note{margin-top:20px}
.receipt-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;border-top:1px solid #dfe8e2;margin-top:35px;padding-top:25px}
.signature-zone{min-width:200px;text-align:center;padding-top:55px;border-bottom:1px solid #333}
@media(max-width:850px){.member-layout{grid-template-columns:1fr}.member-metrics{grid-template-columns:1fr}.member-header,.member-welcome{align-items:flex-start;flex-direction:column}.receipt-details{grid-template-columns:1fr}.receipt{padding:25px}.receipt-footer{flex-direction:column;align-items:stretch}}
@media print{.no-print{display:none!important}.receipt-page{padding:0;background:#fff}.receipt{box-shadow:none;width:100%;max-width:none}}

.admin-nav{overflow-x:auto}.admin-nav>div{min-width:max-content}
.gallery-admin-grid,.public-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.gallery-admin-grid article,.public-gallery article{background:#fff;padding:15px;border-radius:14px;box-shadow:0 10px 30px rgba(4,66,40,.08)}
.gallery-admin-grid img,.public-gallery img{width:100%;height:220px;object-fit:cover;border-radius:10px}
.backup-list{list-style:none;padding:0;margin:0}.backup-list li{display:flex;justify-content:space-between;align-items:center;padding:12px;border-bottom:1px solid #e5ece8}
.simple-header{padding:28px 6%;background:#044228;color:#fff}.simple-header a{color:#fff}.simple-header h1{margin-bottom:0}
.public-grid{width:min(1180px,92%);margin:35px auto;display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.compact-grid{width:auto;margin:0}
.public-card{background:#fff;padding:22px;border-radius:14px;box-shadow:0 10px 30px rgba(4,66,40,.08)}
.public-card span{font-size:.78rem;color:#788}.public-card h2,.public-card h3{color:#044228}
.notice-card{padding:14px;border-left:4px solid #d9a91b;background:#fffaf0;margin-bottom:12px;border-radius:8px}
.notice-card strong,.notice-card span{display:block}.notice-card span{font-size:.78rem;color:#788}
@media(max-width:900px){.gallery-admin-grid,.public-gallery,.public-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:620px){.gallery-admin-grid,.public-gallery,.public-grid{grid-template-columns:1fr}}
/* =========================
   PAGE BUREAU EXECUTIF
========================= */

.org-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
    margin-top:40px;
}

.org-card{
    background:#fff;
    border-radius:20px;
    padding:25px;
    text-align:center;
    box-shadow:0 10px 30px rgba(4,66,40,.08);
    transition:.3s;
}

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

.org-card img{
    width:180px;
    height:180px;
    border-radius:50%;
    object-fit:cover;
    object-position:center;
    margin:0 auto 20px;
    border:4px solid #075b38;
}

.org-card-president img{
    width:220px;
    height:220px;
    border:5px solid #d9a91b;
}

.org-card h3{
    margin:10px 0 5px;
    color:#044228;
    font-size:1.4rem;
}

.org-card p{
    margin:0;
    color:#075b38;
    font-weight:bold;
}

@media(max-width:620px){
    .org-card img{
        width:140px;
        height:140px;
    }

    .org-card-president img{
        width:180px;
        height:180px;
    }
}
/* ==========================================
   ORGANIGRAMME DU BUREAU EXECUTIF NATIONAL
========================================== */

.ben-page{
    background:#f3f6f4;
}

.org-chart{
    width:min(1450px,94%);
    margin:45px auto 80px;
}

.org-heading{
    max-width:850px;
    margin:0 auto 45px;
    text-align:center;
}

.org-heading h2{
    margin:8px 0;
    color:var(--green-dark);
    font-size:clamp(2.2rem,5vw,4rem);
    line-height:1.1;
}

.org-heading p{
    margin-left:auto;
    margin-right:auto;
}

.org-level{
    display:flex;
    justify-content:center;
    position:relative;
}

.org-level-president{
    margin-bottom:0;
}

.org-level-single{
    margin-bottom:20px;
}

.org-line{
    margin-left:auto;
    margin-right:auto;
    background:var(--green);
}

.vertical-line{
    width:3px;
    height:55px;
}

.org-department{
    position:relative;
    margin:35px 0 55px;
    padding:35px;
    border-radius:24px;
    background:#edf4f0;
    border:1px solid #d7e5dd;
}

.org-section-title{
    width:max-content;
    max-width:100%;
    margin:-57px auto 35px;
    padding:11px 28px;
    border-radius:999px;
    background:var(--green-dark);
    color:#fff;
    text-align:center;
    font-size:clamp(1rem,2vw,1.35rem);
    box-shadow:0 8px 20px rgba(4,66,40,.18);
}

.department-block{
    margin:35px 0 50px;
}

.department-block:last-child{
    margin-bottom:0;
}

.department-title{
    margin:0 auto 22px;
    text-align:center;
    color:var(--green-dark);
    font-size:1.35rem;
}

.org-grid{
    display:grid;
    gap:24px;
    align-items:stretch;
}

.org-grid-two{
    grid-template-columns:repeat(2,minmax(0,1fr));
    max-width:850px;
    margin-left:auto;
    margin-right:auto;
}

.org-grid-five{
    grid-template-columns:repeat(5,minmax(0,1fr));
}

.org-card{
    background:#fff;
    border-radius:20px;
    padding:22px;
    text-align:center;
    box-shadow:0 12px 35px rgba(4,66,40,.10);
    border:1px solid #e3ece7;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.org-card:hover{
    transform:translateY(-7px);
    box-shadow:0 20px 45px rgba(4,66,40,.17);
    border-color:var(--gold);
}

.org-card img{
    width:170px;
    height:170px;
    margin:0 auto 18px;
    border-radius:50%;
    object-fit:cover;
    object-position:center top;
    border:4px solid var(--green);
    background:#f4f4f4;
}

.org-card-content h3{
    margin:8px 0 6px;
    color:var(--green-dark);
    font-size:1.08rem;
    line-height:1.25;
}

.org-card-content p{
    margin:0;
    color:var(--green);
    font-weight:800;
    font-size:.92rem;
    line-height:1.4;
}

.org-badge{
    display:inline-block;
    padding:5px 11px;
    border-radius:999px;
    background:#edf7f1;
    color:var(--green);
    font-size:.72rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}

.org-card-president{
    width:min(390px,100%);
    border:3px solid var(--gold);
    padding:28px;
}

.org-card-president img{
    width:225px;
    height:225px;
    border:5px solid var(--gold);
}

.org-card-president .org-card-content{
    margin:-2px -28px -28px;
    padding:22px;
    border-radius:0 0 17px 17px;
    background:var(--green-dark);
}

.org-card-president .org-badge{
    background:var(--gold);
    color:#1d281f;
}

.org-card-president h3{
    color:#fff;
    font-size:1.55rem;
}

.org-card-president p{
    color:#f4cf55;
    font-size:1.08rem;
}

.org-card-direction{
    width:min(340px,100%);
    border:2px solid var(--green);
}

.org-card-direction img{
    width:195px;
    height:195px;
}

@media(max-width:1250px){

    .org-grid-five{
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:900px){

    .org-grid-five{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .org-grid-two{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .org-department{
        padding:32px 22px;
    }
}

@media(max-width:620px){

    .org-chart{
        width:min(94%,520px);
    }

    .org-grid-five,
    .org-grid-two{
        grid-template-columns:1fr;
    }

    .org-card img{
        width:150px;
        height:150px;
    }

    .org-card-president img{
        width:190px;
        height:190px;
    }

    .org-card-direction img{
        width:170px;
        height:170px;
    }

    .org-department{
        padding:30px 15px;
    }

    .org-section-title{
        width:95%;
        padding:10px 14px;
    }
}
/* =====================================
   ACCÈS RAPIDES DE LA PAGE D’ACCUEIL
===================================== */

.quick-access-section{
    background:
        linear-gradient(
            135deg,
            #f3f6f4 0%,
            #fffaf0 100%
        );
}

.quick-access-heading{
    max-width:850px;
    margin:0 auto 42px;
    text-align:center;
}

.quick-access-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:22px;
    max-width:1250px;
    margin:0 auto;
}

.quick-access-card{
    display:flex;
    align-items:flex-start;
    gap:18px;
    min-height:220px;
    padding:28px;
    border:1px solid #e0e9e4;
    border-radius:20px;
    background:#fff;
    box-shadow:0 12px 35px rgba(4,66,40,.09);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.quick-access-card:hover{
    transform:translateY(-7px);
    border-color:var(--gold);
    box-shadow:0 20px 45px rgba(4,66,40,.16);
}

.quick-access-icon{
    flex:0 0 62px;
    width:62px;
    height:62px;
    display:grid;
    place-items:center;
    border-radius:18px;
    background:var(--cream);
    font-size:2rem;
}

.quick-access-card h3{
    margin:2px 0 8px;
    color:var(--green-dark);
    font-size:1.25rem;
    line-height:1.25;
}

.quick-access-card p{
    margin:0 0 18px;
    color:#5f746b;
    font-size:.94rem;
    line-height:1.6;
}

.quick-access-card span{
    color:var(--green);
    font-weight:900;
    font-size:.88rem;
}

.quick-access-card-featured{
    grid-column:span 2;
    background:var(--green-dark);
    border-color:var(--green-dark);
}

.quick-access-card-featured h3{
    color:#fff;
}

.quick-access-card-featured p{
    color:#dce9e2;
}

.quick-access-card-featured span{
    color:#f0ce5e;
}

.quick-access-card-featured .quick-access-icon{
    background:var(--gold);
}

@media(max-width:980px){

    .quick-access-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .quick-access-card-featured{
        grid-column:span 2;
    }
}

@media(max-width:620px){

    .quick-access-grid{
        grid-template-columns:1fr;
    }

    .quick-access-card{
        min-height:auto;
        padding:22px;
    }

    .quick-access-card-featured{
        grid-column:auto;
    }

    .quick-access-icon{
        flex-basis:52px;
        width:52px;
        height:52px;
        font-size:1.6rem;
    }
}
.document-actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-top:auto;
}

.secondary-download{
    background:transparent;
    color:var(--green);
    border:2px solid var(--green);
}

.secondary-download:hover{
    background:var(--green);
    color:#fff;
}
/* ==================================================
   PAGE DOCUMENTS OFFICIELS
================================================== */

.documents-page {
    margin: 0;
    background: #f7f9f8;
    color: #12372a;
}

.documents-shell {
    max-width: 1250px;
    margin: 0 auto;
    padding: 60px 30px 80px;
}

/* Grille des documents */

.documents-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 40px;
}

/* Carte */

.official-document-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    box-shadow: 0 8px 30px rgba(0, 60, 40, 0.08);
    border: 1px solid #edf2ef;
}

.official-document-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 15px;
    background: #f6f1df;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.official-document-content {
    flex: 1;
}

.document-category {
    display: inline-block;
    color: #b8860b;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 10px;
}

.official-document-content h3 {
    margin: 4px 0 12px;
    color: #064d35;
    font-size: 23px;
    line-height: 1.25;
}

.official-document-content p {
    margin: 0 0 20px;
    color: #53645e;
    line-height: 1.6;
    font-size: 16px;
}

/* Boutons */

.document-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.document-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    background: #08643f;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.2s ease;
}

.document-download:hover {
    background: #054b30;
    transform: translateY(-1px);
}

.secondary-download {
    background: transparent;
    color: #08643f;
    border: 2px solid #08643f;
}

.secondary-download:hover {
    background: #08643f;
    color: #ffffff;
}

/* Statut document non disponible */

.document-status {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 7px;
    font-size: 14px;
}

.document-status.pending {
    background: #f5f1e5;
    color: #756229;
}

/* Responsive */

@media (max-width: 850px) {
    .documents-grid {
        grid-template-columns: 1fr;
    }

    .documents-shell {
        padding: 35px 18px 60px;
    }

    .official-document-card {
        padding: 22px;
    }
}

@media (max-width: 520px) {
    .official-document-card {
        flex-direction: column;
    }

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

    .document-download {
        width: 100%;
    }
}
/* =====================================
   ESPACE MEMBRE - TABLEAU DE BORD
===================================== */

.member-section{
    margin-top:20px;
}

.member-quick-access{
    margin-bottom:22px;
}

.member-action-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:14px;
}

.member-action-card{
    display:flex;
    flex-direction:column;
    gap:6px;
    min-height:145px;
    padding:20px;
    border-radius:14px;
    background:#f6f8f7;
    border:1px solid #e1e9e5;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.member-action-card:hover{
    transform:translateY(-4px);
    border-color:var(--gold);
    box-shadow:0 12px 30px rgba(4,66,40,.10);
}

.member-action-icon{
    font-size:1.8rem;
}

.member-action-card strong{
    color:var(--green-dark);
    font-size:1rem;
}

.member-action-card small{
    color:#718078;
}

.empty-member-state{
    padding:20px;
    border-radius:10px;
    background:#f6f8f7;
    color:#6d7c75;
}

@media(max-width:950px){

    .member-action-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:620px){

    .member-action-grid{
        grid-template-columns:1fr;
    }

    .member-header nav{
        width:100%;
        flex-wrap:wrap;
    }
}
/* =====================================
   ESPACE MEMBRE - MA SITUATION
===================================== */

.member-situation{
    margin-bottom:22px;
}

.member-situation-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:15px;
}

.situation-card{
    padding:20px;
    border-radius:14px;
    background:#f6f8f7;
    border:1px solid #e0e9e4;
}

.situation-card span,
.situation-card strong{
    display:block;
}

.situation-card span{
    font-size:.82rem;
    color:#718078;
    margin-bottom:8px;
}

.situation-card strong{
    color:var(--green-dark);
    font-size:1.05rem;
}

.situation-ok{
    color:#0b7a45!important;
}

.situation-warning{
    color:#b26a00!important;
}

@media(max-width:900px){
    .member-situation-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:620px){
    .member-situation-grid{
        grid-template-columns:1fr;
    }
}
/* =====================================
   ESPACE MEMBRE - ACCÈS RAPIDES
===================================== */

.member-quick-access{
    margin:22px 0;
}

.member-action-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:15px;
}

.member-action-card{
    display:flex;
    align-items:center;
    gap:15px;
    min-height:110px;
    padding:18px;
    border-radius:14px;
    background:#f6f8f7;
    border:1px solid #e0e9e4;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.member-action-card:hover{
    transform:translateY(-4px);
    border-color:var(--gold);
    box-shadow:0 12px 28px rgba(4,66,40,.10);
}

.member-action-icon{
    flex:0 0 52px;
    width:52px;
    height:52px;
    display:grid;
    place-items:center;
    border-radius:13px;
    background:var(--cream);
    font-size:1.6rem;
}

.member-action-card div{
    min-width:0;
}

.member-action-card strong,
.member-action-card small{
    display:block;
}

.member-action-card strong{
    color:var(--green-dark);
    font-size:1rem;
    margin-bottom:3px;
}

.member-action-card small{
    color:#718078;
    line-height:1.35;
}

@media(max-width:900px){
    .member-action-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:620px){
    .member-action-grid{
        grid-template-columns:1fr;
    }
}
/* =====================================
   ADMINISTRATION DES DOCUMENTS
===================================== */

.document-admin-form{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}

.document-admin-form .form-group{
    display:flex;
    flex-direction:column;
    gap:8px;
}

.document-admin-form .full-width{
    grid-column:1 / -1;
}

.document-admin-form label{
    color:var(--green-dark);
    font-weight:800;
}

.document-admin-form input,
.document-admin-form select,
.document-admin-form textarea{
    width:100%;
    padding:12px 14px;
    border:1px solid #d7e3dc;
    border-radius:10px;
    background:#fff;
    font:inherit;
}

.document-admin-form input:focus,
.document-admin-form select:focus,
.document-admin-form textarea:focus{
    outline:none;
    border-color:var(--green);
}

.document-publish-option{
    display:flex!important;
    flex-direction:row!important;
    align-items:center;
    gap:10px;
}

.document-publish-option input{
    width:auto;
}

.document-form-actions{
    grid-column:1 / -1;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.admin-document-actions{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    align-items:center;
}

.admin-document-actions form{
    margin:0;
}

.danger-button{
    background:#b42318!important;
    color:#fff!important;
    border:none!important;
}

.admin-flash-list{
    margin-bottom:20px;
}

.admin-flash{
    padding:12px 15px;
    border-radius:9px;
    background:#fff3cd;
    color:#694c00;
}

@media(max-width:700px){
    .document-admin-form{
        grid-template-columns:1fr;
    }

    .document-admin-form .full-width{
        grid-column:auto;
    }

    .document-form-actions{
        grid-column:auto;
    }
}
/* =====================================
   CHANGEMENT MOT DE PASSE MEMBRE
===================================== */

.password-panel{
    max-width:650px;
    margin:0 auto;
}

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

.password-form label{
    display:flex;
    flex-direction:column;
    gap:7px;
    color:var(--green-dark);
    font-weight:800;
}

.password-form input{
    width:100%;
    padding:13px 14px;
    border:1px solid #d4e1da;
    border-radius:10px;
    font:inherit;
}

.password-form input:focus{
    outline:none;
    border-color:var(--green);
    box-shadow:0 0 0 3px rgba(7,91,56,.08);
}

.password-form small{
    color:#718078;
    font-weight:400;
}
/* =========================================================
   CARTE NUMERIQUE DE MEMBRE
   ========================================================= */

.card-page {
    margin: 0;
    min-height: 100vh;
    background: #eef4f1;
    font-family: Arial, Helvetica, sans-serif;
    color: #12382d;
}

.card-page-container {
    width: min(1000px, calc(100% - 40px));
    margin: 0 auto;
    padding: 50px 0;
}

.card-page-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.card-back-button,
.card-print-button {
    display: inline-block;
    border: 0;
    border-radius: 10px;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    cursor: pointer;
}

.card-back-button {
    background: white;
    color: #075f3f;
    border: 2px solid #075f3f;
}

.card-print-button {
    background: #075f3f;
    color: white;
}


/* CARTE */

.digital-member-card {
    max-width: 860px;
    margin: auto;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 55px rgba(0, 45, 30, 0.15);
    border: 1px solid #dce8e2;
}


/* EN-TÊTE */

.digital-card-header {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 24px 32px;
    background: #075f3f;
    color: white;
}

.digital-card-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
    padding: 5px;
}

.digital-card-title p {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

.digital-card-title h1 {
    margin: 0;
    font-size: 30px;
}

.digital-card-title span {
    display: block;
    margin-top: 7px;
    opacity: 0.9;
}


/* CORPS */

.digital-card-body {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 32px;
    padding: 35px;
}

.digital-card-photo {
    width: 190px;
    height: 230px;
    border-radius: 18px;
    overflow: hidden;
    border: 4px solid #e5b51b;
    background: #edf3f0;
}

.digital-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.digital-card-photo-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #799086;
}

.card-member-name {
    font-size: 27px;
    line-height: 1.2;
    font-weight: 800;
    color: #064b34;
    margin-bottom: 25px;
    text-transform: uppercase;
}

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

.card-info-grid span {
    display: block;
    color: #71837c;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 6px;
}

.card-info-grid strong {
    display: block;
    color: #173e32;
    font-size: 16px;
}


/* PIED */

.digital-card-footer {
    min-height: 100px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 25px;
    padding: 20px 35px;
    background: #f4f7f5;
    border-top: 1px solid #dce8e2;
}

.digital-card-footer span {
    display: block;
    font-size: 11px;
    color: #71837c;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.card-valid {
    color: #087449;
}

.card-invalid {
    color: #b42318;
}

.digital-card-qr-placeholder {
    width: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px dashed #075f3f;
    border-radius: 10px;
    font-weight: 800;
    color: #075f3f;
}

.digital-card-auth {
    text-align: right;
}

.digital-card-auth strong {
    color: #075f3f;
    font-size: 18px;
}

.card-verification-note {
    max-width: 860px;
    margin: 20px auto 0;
    text-align: center;
    color: #64766f;
    font-size: 14px;
}


/* MOBILE */

@media (max-width: 700px) {

    .card-page-container {
        width: calc(100% - 24px);
        padding: 25px 0;
    }

    .card-page-actions {
        gap: 10px;
    }

    .digital-card-header {
        padding: 20px;
    }

    .digital-card-logo {
        width: 65px;
        height: 65px;
    }

    .digital-card-title h1 {
        font-size: 21px;
    }

    .digital-card-body {
        grid-template-columns: 1fr;
        padding: 25px;
    }

    .digital-card-photo {
        margin: auto;
    }

    .card-member-name {
        text-align: center;
    }

    .card-info-grid {
        grid-template-columns: 1fr;
    }

    .digital-card-footer {
        grid-template-columns: 1fr auto;
    }

    .digital-card-auth {
        text-align: left;
    }
}


/* IMPRESSION */

@media print {

    .card-page {
        background: white;
    }

    .card-page-actions,
    .card-verification-note {
        display: none;
    }

    .card-page-container {
        width: 100%;
        padding: 0;
    }

    .digital-member-card {
        box-shadow: none;
        margin: 0 auto;
    }
}
.digital-card-qr {
    text-align: center;
}

.digital-card-qr img {
    display: block;
    width: 95px;
    height: 95px;
    object-fit: contain;
    background: #fff;
    padding: 4px;
    border-radius: 8px;
}

.digital-card-qr span {
    display: block;
    margin-top: 5px;
    font-size: 8px;
    font-weight: 700;
    color: #075f3f;
    letter-spacing: 0.5px;
}
/* =========================================================
   CARTE MEMBRE - DESIGN PROTOTYPE
   ========================================================= */

.member-id-card {
    position: relative;
    width: min(100%, 860px);
    aspect-ratio: 1.586;
    margin: 0 auto;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 52%,
            rgba(7, 95, 63, 0.05) 0,
            rgba(7, 95, 63, 0.05) 17%,
            transparent 18%
        ),
        linear-gradient(
            135deg,
            rgba(229, 181, 27, 0.07),
            transparent 32%
        ),
        #ffffff;

    border: 2px solid #d9aa18;
    border-radius: 22px;
    box-shadow: 0 12px 35px rgba(0, 55, 35, 0.18);
    color: #0c3529;
}


/* COURBE DÉCORATIVE GAUCHE */

.member-card-decoration-left {
    position: absolute;
    left: -85px;
    top: -40px;
    width: 210px;
    height: 430px;

    background: #075f3f;

    border-radius: 0 80% 80% 0;
    transform: rotate(8deg);

    z-index: 0;
}


/* EN-TÊTE */

.member-id-header {
    position: relative;
    z-index: 2;

    height: 34%;
    display: grid;
    grid-template-columns: 190px 1fr 205px;
    align-items: center;
}

.member-id-logo-zone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.member-id-logo {
    width: 135px;
    height: 135px;
    object-fit: contain;
    background: white;
    border-radius: 50%;
}

.member-id-heading {
    text-align: center;
    padding-top: 8px;
}

.member-id-heading h1 {
    margin: 0;
    color: #075f3f;
    font-size: 29px;
    line-height: 1.03;
    font-weight: 900;
}

.member-id-promotion {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
    color: #b98a17;
}

.member-id-promotion span {
    width: 42px;
    height: 2px;
    background: #d6a91d;
}

.member-id-promotion strong {
    font-size: 18px;
}

.member-id-heading p {
    margin: 7px 0 0;
    color: #075f3f;
    font-size: 16px;
    font-weight: 800;
}

.member-id-title-box {
    align-self: start;
    justify-self: end;

    min-width: 190px;
    padding: 24px 18px 20px;

    background: #075f3f;
    color: white;

    border-radius: 0 0 0 42px;

    text-align: center;
    font-size: 20px;
    line-height: 1.05;
    font-weight: 700;
}

.member-id-title-box strong {
    font-size: 28px;
}


/* CORPS */

.member-id-main {
    position: relative;
    z-index: 2;

    height: 54%;

    display: grid;
    grid-template-columns: 215px 1fr 125px;
    gap: 16px;

    align-items: center;

    padding: 5px 25px 5px 55px;
}


/* PHOTO */

.member-id-photo-zone {
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-id-photo-frame {
    width: 165px;
    height: 205px;

    overflow: hidden;
    background: #eef2ef;

    border: 2px solid #315e4c;
    border-radius: 16px;

    box-shadow:
        0 4px 0 rgba(7, 95, 63, 0.18);
}

.member-id-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-id-photo-empty {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
    color: #768a81;
}


/* INFORMATIONS */

.member-id-data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.member-id-row {
    display: grid;
    grid-template-columns: 30px 115px 1fr;
    align-items: center;

    min-height: 30px;
}

.member-id-icon {
    width: 28px;
    height: 28px;

    border-radius: 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #075f3f;
    color: white;

    font-size: 10px;
}

.member-id-label {
    font-size: 15px;
    font-weight: 900;
    color: #111;
}

.member-id-row strong {
    display: block;

    border-bottom: 1px solid #5c6862;

    padding: 1px 5px 4px;

    color: #101010;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.1;
}

.member-id-sex {
    font-family: Arial, Helvetica, sans-serif !important;
    border-bottom: 0 !important;
}


/* QR */

.member-id-qr-zone {
    align-self: end;
    justify-self: center;

    padding-bottom: 15px;
}

.member-id-qr-frame {
    width: 84px;
    height: 84px;

    background: white;

    padding: 5px;

    border: 2px solid #075f3f;
    border-radius: 8px;
}

.member-id-qr-frame img {
    width: 100%;
    height: 100%;
    display: block;
}


/* BAS DE CARTE */

.member-id-footer {
    position: relative;
    z-index: 4;

    height: 12%;

    display: flex;
    justify-content: center;
    align-items: center;

    gap: 20px;

    padding: 0 35px;

    background: #075f3f;
    color: white;
}

.member-id-footer-item {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 14px;
}

.member-id-footer-item span {
    font-weight: 800;
}

.member-id-footer-item strong {
    font-size: 15px;
    letter-spacing: 0.4px;
}

.member-id-footer-separator {
    width: 2px;
    height: 28px;

    background: #d5aa1c;
}


/* RESPONSIVE */

@media (max-width: 750px) {

    .member-id-card {
        transform-origin: top center;
    }

    .member-id-header {
        grid-template-columns: 150px 1fr 165px;
    }

    .member-id-logo {
        width: 110px;
        height: 110px;
    }

    .member-id-heading h1 {
        font-size: 23px;
    }

    .member-id-main {
        grid-template-columns: 180px 1fr 105px;
        padding-left: 35px;
    }

    .member-id-photo-frame {
        width: 145px;
        height: 185px;
    }

    .member-id-row {
        grid-template-columns: 28px 100px 1fr;
    }

    .member-id-label {
        font-size: 13px;
    }

    .member-id-row strong {
        font-size: 14px;
    }
}


/* IMPRESSION PVC */

@media print {

    @page {
        size: 85.6mm 53.98mm;
        margin: 0;
    }

    html,
    body {
        width: 85.6mm;
        height: 53.98mm;
        margin: 0;
        padding: 0;
    }

    .card-page-actions {
        display: none !important;
    }

    .card-page-container {
        width: 85.6mm;
        height: 53.98mm;
        margin: 0;
        padding: 0;
    }

    .member-id-card {
        width: 85.6mm;
        height: 53.98mm;
        margin: 0;

        border-radius: 2mm;
        box-shadow: none;

        border-width: 0.3mm;
    }

    .member-id-header {
        grid-template-columns: 19mm 1fr 20mm;
    }

    .member-id-logo {
        width: 15mm;
        height: 15mm;
    }

    .member-id-heading h1 {
        font-size: 9pt;
    }

    .member-id-promotion {
        margin-top: 1mm;
        gap: 1mm;
    }

    .member-id-promotion span {
        width: 6mm;
    }

    .member-id-promotion strong {
        font-size: 5.5pt;
    }

    .member-id-heading p {
        margin-top: 1mm;
        font-size: 5pt;
    }

    .member-id-title-box {
        min-width: 19mm;
        padding: 3mm 1mm;
        border-radius: 0 0 0 5mm;

        font-size: 6pt;
    }

    .member-id-title-box strong {
        font-size: 8pt;
    }

    .member-id-main {
        grid-template-columns: 22mm 1fr 14mm;
        gap: 2mm;

        padding: 0.5mm 2.5mm 0.5mm 5mm;
    }

    .member-id-photo-frame {
        width: 18mm;
        height: 23mm;

        border-radius: 2mm;
        border-width: 0.3mm;
    }

    .member-id-data {
        gap: 0.5mm;
    }

    .member-id-row {
        grid-template-columns: 4mm 14mm 1fr;
        min-height: 4mm;
    }

    .member-id-icon {
        width: 3mm;
        height: 3mm;
        border-radius: 0.5mm;
    }

    .member-id-label {
        font-size: 4.3pt;
    }

    .member-id-row strong {
        font-size: 5pt;
        padding: 0 0.5mm 0.3mm;
    }

    .member-id-qr-zone {
        padding-bottom: 1mm;
    }

    .member-id-qr-frame {
        width: 11mm;
        height: 11mm;

        padding: 0.5mm;

        border-width: 0.3mm;
        border-radius: 1mm;
    }

    .member-id-footer {
        gap: 2mm;
        padding: 0 3mm;
    }

    .member-id-footer-item {
        gap: 1mm;
        font-size: 4.3pt;
    }

    .member-id-footer-item strong {
        font-size: 4.5pt;
    }

    .member-id-footer-separator {
        width: 0.3mm;
        height: 4mm;
    }
}
.danger-button {
    background: #b42318 !important;
    color: #ffffff !important;
    border-color: #b42318 !important;
}

.danger-button:hover {
    background: #8f1d14 !important;
    border-color: #8f1d14 !important;
}
/* =========================================
   ANNUAIRE DES MEMBRES
========================================= */

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

.directory-card {
    display: flex;
    gap: 18px;
    align-items: center;

    background: #ffffff;
    border: 1px solid #e0e9e4;
    border-radius: 16px;

    padding: 20px;

    box-shadow: 0 8px 24px rgba(0, 60, 40, 0.06);
}

.directory-photo {
    flex: 0 0 95px;
}

.directory-photo img,
.directory-photo-empty {
    width: 95px;
    height: 115px;

    border-radius: 12px;

    object-fit: cover;

    border: 2px solid #d6a91d;
}

.directory-photo-empty {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef4f1;

    font-size: 35px;
}

.directory-info h2 {
    margin: 0 0 10px;

    color: #075f3f;

    font-size: 19px;
}

.directory-info p {
    margin: 6px 0;

    font-size: 14px;

    color: #485b54;
}

@media (max-width: 600px) {

    .directory-card {
        align-items: flex-start;
    }

    .directory-photo {
        flex-basis: 80px;
    }

    .directory-photo img,
    .directory-photo-empty {
        width: 80px;
        height: 100px;
    }
}
/* ANNIVERSAIRES */

.birthday-highlight {
    border: 1px solid #e4b11b;
    background: linear-gradient(
        135deg,
        #fffdf4,
        #ffffff
    );
}

.birthday-message {
    margin-top: 16px;
    line-height: 1.8;
    font-size: 16px;
    color: #18382e;
}

.birthday-section {
    margin-top: 24px;
}

.birthday-section h3 {
    color: #075f3f;
    margin-bottom: 14px;
}

.birthday-grid {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(180px, 1fr)
    );
    gap: 16px;
}

.birthday-card {
    background: #fff;
    border: 1px solid #e2ebe6;
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}

.birthday-card img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #e4b11b;
    margin-bottom: 10px;
}

.birthday-card strong {
    display: block;
    color: #075f3f;
    margin-bottom: 6px;
}

.birthday-card span {
    font-size: 14px;
    color: #66776f;
}
/* =========================================
   PAGE ANNIVERSAIRES
========================================= */

.birthday-calendar-panel {
    margin-top: 20px;
}

.birthday-month-nav {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    text-align: center;
    margin-bottom: 28px;
}

.birthday-month-nav h2 {
    margin: 2px 0 0;
    color: #075f3f;
    font-size: 30px;
}

.birthday-list {
    display: grid;
    gap: 14px;
}

.birthday-list-card {
    display: grid;
    grid-template-columns: 70px 85px 1fr;
    align-items: center;
    gap: 18px;

    padding: 16px 18px;

    background: #ffffff;
    border: 1px solid #e0e9e4;
    border-radius: 16px;
}

.birthday-list-card.birthday-today {
    border: 2px solid #d8aa19;

    background: linear-gradient(
        135deg,
        #fffbed,
        #ffffff
    );
}

.birthday-list-date {
    text-align: center;
}

.birthday-list-date strong {
    display: block;
    font-size: 30px;
    line-height: 1;
    color: #075f3f;
}

.birthday-list-date span {
    display: block;
    margin-top: 5px;

    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;

    color: #b48a18;
}

.birthday-list-photo img,
.birthday-photo-empty {
    width: 72px;
    height: 72px;

    object-fit: cover;
    border-radius: 50%;

    border: 2px solid #d8aa19;
}

.birthday-photo-empty {
    display: flex;
    align-items: center;
    justify-content: center;

    background: #eef4f1;
    font-size: 28px;
}

.birthday-list-info h3 {
    margin: 0 0 5px;
    color: #075f3f;
}

.birthday-list-info p {
    margin: 0 0 4px;
}

.birthday-list-info small {
    color: #687a72;
}

.birthday-today-badge {
    display: inline-block;

    margin-top: 9px;
    padding: 7px 11px;

    border-radius: 999px;

    background: #fff2c6;
    color: #815f00;

    font-size: 12px;
    font-weight: 800;
}

.birthday-empty {
    padding: 40px 20px;
    text-align: center;
}

@media (max-width: 650px) {

    .birthday-month-nav {
        grid-template-columns: 1fr;
    }

    .birthday-list-card {
        grid-template-columns: 55px 65px 1fr;
        gap: 12px;
    }

    .birthday-list-photo img,
    .birthday-photo-empty {
        width: 58px;
        height: 58px;
    }

    .birthday-list-date strong {
        font-size: 24px;
    }
}
/* =========================================
   FILTRES ANNUAIRE
========================================= */

.directory-filter-form {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

.directory-filter-form label {
    display: block;
    margin-bottom: 7px;

    font-size: 13px;
    font-weight: 800;

    color: #25453a;
}

.directory-filter-form input,
.directory-filter-form select {
    width: 100%;

    padding: 12px 14px;

    border: 1px solid #cbd9d1;
    border-radius: 10px;

    background: #ffffff;

    font: inherit;
    color: #18382e;
}

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

.directory-member-badge {
    display: inline-block;

    margin-bottom: 7px;
    padding: 5px 9px;

    border-radius: 999px;

    background: #e9f6ef;
    color: #087447;

    font-size: 11px;
    font-weight: 800;
}

.directory-card-number {
    display: block;
    margin-top: 9px;

    color: #72817b;
}

@media (max-width: 900px) {

    .directory-filter-form {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 600px) {

    .directory-filter-form {
        grid-template-columns: 1fr;
    }

    .directory-filter-actions {
        flex-direction: column;
    }
}
.first-login-notice {
    margin-bottom: 24px;
    padding: 18px 20px;

    background: #f3f9f6;
    border: 1px solid #cfe3d8;
    border-left: 5px solid #075f3f;
    border-radius: 12px;

    color: #25453a;
}

.first-login-notice strong {
    color: #075f3f;
}

.first-login-notice p {
    margin: 7px 0 0;
    line-height: 1.5;
}
.first-login-help {
    margin-top: 22px;
    padding: 16px;

    background: #f3f9f6;
    border: 1px solid #cfe3d8;
    border-radius: 12px;

    color: #25453a;
    line-height: 1.5;
}

.first-login-help strong {
    color: #075f3f;
}

.first-login-help p {
    margin: 6px 0;
}

.first-login-help small {
    color: #60736b;
}
/* =========================================
   NOTIFICATIONS MEMBRE
========================================= */

.notification-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 25px;
    height: 25px;
    padding: 0 7px;
    margin-left: 8px;

    border-radius: 999px;

    background: #d6a407;
    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
}

.notice-unread {
    border-left: 5px solid #d6a407;
    background: #fffdf5;
}

.notice-read-label {
    display: inline-block;
    margin-top: 10px;

    font-size: 13px;
    font-weight: 700;

    color: #628074;
}
.member-notification-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-notification-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;
    padding: 0 6px;

    border-radius: 999px;

    background: #d6a407;
    color: #ffffff;

    font-size: 11px;
    font-weight: 800;
}
/* =====================================================
   COCKPIT EXÉCUTIF - PRÉSIDENT
   ===================================================== */

.executive-dashboard{
    background:#eef3f8;
}

.executive-dashboard .admin-shell{
    width:min(1450px,96%);
}

.executive-dashboard .admin-top{

    background:linear-gradient(135deg,#075b38,#0f7a4c);

    color:#fff;

    padding:35px;

    border-radius:24px;

    box-shadow:0 20px 50px rgba(0,0,0,.18);

    margin-bottom:35px;
}

.executive-dashboard .admin-top h1{

    color:#fff;

    font-size:2.3rem;

    margin:8px 0;
}

.executive-dashboard .eyebrow{

    color:#ffe082;

    letter-spacing:2px;

    font-weight:800;

    text-transform:uppercase;
}

.executive-dashboard .admin-top p{

    color:#e8f4ee;
}

.executive-dashboard .admin-actions .button{

    border-radius:12px;
}

.executive-dashboard .metric-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:22px;

    margin-bottom:35px;
}
/* =====================================================
   CARTES EXÉCUTIVES
   ===================================================== */

.executive-dashboard .metric-card{
    position:relative;
    overflow:hidden;

    min-height:145px;
    padding:26px;

    border:1px solid rgba(7,91,56,.08);
    border-left:0;
    border-radius:20px;

    background:linear-gradient(
        145deg,
        #ffffff,
        #f7faf8
    );

    box-shadow:
        0 14px 35px rgba(24,58,45,.10);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease;
}

.executive-dashboard .metric-card::before{
    content:"";

    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:5px;

    background:linear-gradient(
        90deg,
        #075b38,
        #d6a407
    );
}

.executive-dashboard .metric-card::after{
    content:"";

    position:absolute;
    right:-35px;
    bottom:-45px;

    width:120px;
    height:120px;

    border-radius:50%;

    background:rgba(7,91,56,.05);
}

.executive-dashboard .metric-card:hover{
    transform:translateY(-4px);

    border-color:rgba(7,91,56,.18);

    box-shadow:
        0 22px 45px rgba(24,58,45,.16);
}

.executive-dashboard .metric-card span{
    position:relative;
    z-index:1;

    margin-bottom:13px;

    color:#66756e;

    font-size:.78rem;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
}

.executive-dashboard .metric-card strong{
    position:relative;
    z-index:1;

    color:#043f27;

    font-size:clamp(1.7rem,2.4vw,2.35rem);
    line-height:1.1;
}

.executive-dashboard .warning-card::before{
    background:linear-gradient(
        90deg,
        #d6a407,
        #f4ca55
    );
}

.executive-dashboard .warning-card::after{
    background:rgba(214,164,7,.08);
}
/* =====================================================
   VARIANTES DES CARTES EXÉCUTIVES
   ===================================================== */

.executive-dashboard .executive-card small{
    position:relative;
    z-index:1;
    display:block;
    margin-top:12px;
    color:#718078;
    font-size:.8rem;
    font-weight:700;
}

.executive-dashboard .members-card::before{
    background:linear-gradient(90deg,#075b38,#1aa266);
}

.executive-dashboard .active-card::before{
    background:linear-gradient(90deg,#15803d,#4ade80);
}

.executive-dashboard .pending-card::before{
    background:linear-gradient(90deg,#d6a407,#f2c94c);
}

.executive-dashboard .finance-card::before{
    background:linear-gradient(90deg,#0d5c91,#3b9bd7);
}

.executive-dashboard .annual-card::before{
    background:linear-gradient(90deg,#6d4bb8,#9d7de0);
}

.executive-dashboard .members-card::after{
    content:"👥";
}

.executive-dashboard .active-card::after{
    content:"✓";
}

.executive-dashboard .pending-card::after{
    content:"⏳";
}

.executive-dashboard .finance-card::after{
    content:"₣";
}

.executive-dashboard .annual-card::after{
    content:"↗";
}

.executive-dashboard .warning-card::after{
    content:"!";
}

.executive-dashboard .executive-card::after{
    position:absolute;
    right:18px;
    bottom:8px;

    width:auto;
    height:auto;

    background:none;
    border-radius:0;

    color:rgba(7,91,56,.12);

    font-size:4.2rem;
    font-weight:900;
    line-height:1;
}

.executive-dashboard .pending-card::after,
.executive-dashboard .warning-card::after{
    color:rgba(214,164,7,.15);
}

.executive-dashboard .finance-card::after{
    color:rgba(13,92,145,.13);
}

.executive-dashboard .annual-card::after{
    color:rgba(109,75,184,.13);
}
/* =====================================================
   SANTÉ GÉNÉRALE DE LA MUTUELLE
   ===================================================== */

.executive-dashboard .executive-health-panel{
    margin-bottom:30px;
    padding:30px;

    background:
        linear-gradient(135deg,#073f29,#09643f);

    color:#fff;

    border-radius:24px;

    box-shadow:
        0 18px 45px rgba(4,63,39,.22);
}

.executive-dashboard .health-summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.executive-dashboard .health-summary h2{
    margin:5px 0 8px;
    color:#fff;
    font-size:1.7rem;
}

.executive-dashboard .health-summary p{
    max-width:700px;
    margin:0;
    color:#d9ebe2;
    line-height:1.55;
}

.executive-dashboard .health-score{
    flex:0 0 auto;
    min-width:160px;
    text-align:right;
}

.executive-dashboard .health-score strong{
    display:block;
    color:#ffe082;
    font-size:2.8rem;
    line-height:1;
}

.executive-dashboard .health-score span{
    display:block;
    margin-top:8px;
    font-weight:800;
}

.executive-dashboard .health-progress{
    height:13px;
    margin:28px 0 24px;

    overflow:hidden;

    background:rgba(255,255,255,.16);

    border-radius:999px;
}

.executive-dashboard .health-progress-value{
    height:100%;

    background:
        linear-gradient(90deg,#ffe082,#d6a407);

    border-radius:999px;

    transition:width .5s ease;
}

.executive-dashboard .health-details{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
}

.executive-dashboard .health-details>div{
    padding:15px;

    background:rgba(255,255,255,.09);

    border:1px solid rgba(255,255,255,.11);
    border-radius:14px;
}

.executive-dashboard .health-details span,
.executive-dashboard .health-details strong{
    display:block;
}

.executive-dashboard .health-details span{
    color:#d5e8de;
    font-size:.78rem;
}

.executive-dashboard .health-details strong{
    margin-top:5px;
    color:#fff;
    font-size:1.25rem;
}

@media(max-width:900px){
    .executive-dashboard .health-details{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:620px){
    .executive-dashboard .health-summary{
        align-items:flex-start;
        flex-direction:column;
    }

    .executive-dashboard .health-score{
        min-width:0;
        text-align:left;
    }

    .executive-dashboard .health-details{
        grid-template-columns:1fr;
    }
}
/* =====================================================
   JAUGE DE SANTÉ DU COCKPIT
   ===================================================== */

.executive-dashboard .health-meter{
    display:block;
    width:100%;
    height:13px;

    border:0;
    border-radius:999px;

    background:rgba(255,255,255,.16);
}

.executive-dashboard .health-meter::-webkit-meter-bar{
    height:13px;

    background:rgba(255,255,255,.16);

    border:0;
    border-radius:999px;
}

.executive-dashboard .health-meter::-webkit-meter-optimum-value{
    background:linear-gradient(
        90deg,
        #ffe082,
        #d6a407
    );

    border-radius:999px;
}

.executive-dashboard .health-meter::-moz-meter-bar{
    background:linear-gradient(
        90deg,
        #ffe082,
        #d6a407
    );

    border-radius:999px;
}

.executive-dashboard .projects-card::before{
    background:linear-gradient(
        90deg,
        #b66a1f,
        #e7a84d
    );
}

.executive-dashboard .projects-card::after{
    content:"↗";
    color:rgba(182,106,31,.14);
}
/* =====================================================
   CARTE DES DISTRICTS
   ===================================================== */

.executive-dashboard .district-map-layout{
    display:grid;
    grid-template-columns:minmax(0,1.7fr) minmax(320px,.8fr);
    gap:24px;
    margin-bottom:28px;
}

.executive-dashboard .district-map-panel,
.executive-dashboard .district-ranking-panel{
    margin-bottom:0;
}

.executive-dashboard .ivory-coast-map-placeholder{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:520px;
    padding:30px;
    background:
        radial-gradient(
            circle at center,
            rgba(7,91,56,.08),
            rgba(7,91,56,.02)
        );
    border:1px dashed rgba(7,91,56,.25);
    border-radius:20px;
}

.executive-dashboard .map-placeholder-shape{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    width:min(370px,80%);
    aspect-ratio:4/5;
    padding:35px;
    text-align:center;
    background:
        linear-gradient(
            145deg,
            #0d7a4b,
            #075b38
        );
    color:#fff;
    border-radius:
        46% 54% 58% 42%
        / 38% 44% 56% 62%;
    box-shadow:
        0 24px 55px rgba(7,91,56,.28);
}

.executive-dashboard .map-placeholder-shape strong{
    font-size:2rem;
}

.executive-dashboard .map-placeholder-shape span{
    margin-top:10px;
    color:#dcefe5;
    line-height:1.5;
}

.executive-dashboard .map-legend{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
    margin-top:20px;
    color:#60736b;
    font-size:.84rem;
    font-weight:700;
}

.executive-dashboard .map-legend>div{
    display:flex;
    align-items:center;
    gap:7px;
}

.executive-dashboard .legend-color{
    display:inline-block;
    width:15px;
    height:15px;
    border-radius:4px;
}

.executive-dashboard .legend-low{
    background:#dbeee3;
}

.executive-dashboard .legend-medium{
    background:#78bf96;
}

.executive-dashboard .legend-high{
    background:#075b38;
}

.executive-dashboard .district-ranking-list{
    display:grid;
    gap:13px;
}

.executive-dashboard .district-ranking-item{
    display:flex;
    align-items:flex-start;
    gap:13px;
    padding:15px;
    background:#f8fbf9;
    border:1px solid #e3ece7;
    border-radius:15px;
}

.executive-dashboard .district-rank{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 34px;
    width:34px;
    height:34px;
    background:#075b38;
    color:#fff;
    border-radius:50%;
    font-weight:900;
}

.executive-dashboard .district-ranking-content{
    min-width:0;
    flex:1;
}

.executive-dashboard .district-ranking-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
}

.executive-dashboard .district-ranking-header strong{
    color:#044228;
}

.executive-dashboard .district-progress{
    margin:10px 0;
}

.executive-dashboard .district-progress meter{
    display:block;
    width:100%;
    height:9px;
}

.executive-dashboard .district-progress meter::-webkit-meter-bar{
    background:#e4ece8;
    border:0;
    border-radius:999px;
}

.executive-dashboard .district-progress meter::-webkit-meter-optimum-value{
    background:linear-gradient(90deg,#d6a407,#075b38);
    border-radius:999px;
}

.executive-dashboard .district-progress meter::-moz-meter-bar{
    background:linear-gradient(90deg,#d6a407,#075b38);
    border-radius:999px;
}

.executive-dashboard .district-ranking-details{
    display:flex;
    gap:8px 14px;
    flex-wrap:wrap;
    color:#687970;
    font-size:.76rem;
}

@media(max-width:1050px){
    .executive-dashboard .district-map-layout{
        grid-template-columns:1fr;
    }
}

@media(max-width:620px){
    .executive-dashboard .ivory-coast-map-placeholder{
        min-height:390px;
        padding:18px;
    }

    .executive-dashboard .map-placeholder-shape{
        width:90%;
    }

    .executive-dashboard .district-ranking-header{
        align-items:flex-start;
        flex-direction:column;
    }
}
/* ===========================================
   BUSINESS INTELLIGENCE
=========================================== */

.analytics-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(380px,1fr));

    gap:24px;

}

.chart-card{

    padding:25px;

    border-radius:18px;

    background:white;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.chart-card h3{

    margin-bottom:20px;

    color:#075b38;

}