/* ========================================= */
/* FICHIER : css/ministre.css                 */
/* Structure identique à dirigeants.css      */
/* + spécifiques ministre (timeline alternée, */
/*   fonctions antérieures)                   */
/* ========================================= */

html, body {
    margin: 0;
    padding: 0;
    /* IMPORTANT : pas de `overflow-x: hidden` sur html/body !
       Ça transforme body en scroll container (overflow-y calculé devient `auto`)
       et casse `position: sticky` partout. Pour empêcher le débordement
       horizontal mobile, on utilise `overflow-x: clip` sur .main-container
       (cf. plus bas) — clip ne crée pas de scroll container, donc sticky
       continue de fonctionner. */
}
body {
    font-family: 'Noto Sans Display', sans-serif;
    background: #ffffff;
}
*, *::before, *::after {
    box-sizing: border-box;
}

/* ============================================ */
/* PAS DE FOND GLOBAL : l'image apparait        */
/* uniquement dans le cadre gris               */
/* .main-content-area (style dirigeants.php). */
/* ============================================ */

/* Cadre gris glassmorph qui accueille le bandeau pays via background-image
   injectee dans le <style> de ministre.php (style dirigeants). */
.page-wrapper.page-wrapper-ministre .main-content-area {
    background-color: rgba(72, 92, 116, 0.45);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: clamp(20px, 2.5vw, 36px) !important;
    width: 100% !important;
    margin: 0 0 clamp(20px, 2.5vw, 32px) 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 0 18px rgba(187, 187, 187, 0.53) !important;
    box-sizing: border-box;
    position: relative;
}

.page-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 16px 0 0 0;
    padding: 20px;
    background: rgba(72, 92, 116, 0.55);
    color: #fff;
    border-radius: 20px;
    z-index: 1;
    box-shadow: 0 0 18px rgba(187,187,187,0.5);
    padding-bottom: 32px;
    text-align: justify;
}

.content-block {
    background: none !important;
    box-shadow: none !important;
}


/* --- BLOC FIXE (STICKY HEADER) --- */
.sticky-header {
    position: relative;
    z-index: 100;
    background: rgba(72, 92, 116, 0.15);
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(8px);

    width: 100%;
    margin: 0 0 24px 0;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 0 18px rgba(187, 187, 187, 0.53);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-sizing: border-box;
}

.dirigeant-actions {
    margin: 1.5rem auto 0.5rem auto !important;
}

/* --- HERO (BANDEAU BLEU) --- */
.profile-hero {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 1rem 1rem 45px 1rem;
    gap: 1rem;
    border: none;
    border-radius: 16px;
    background-color: rgba(45, 65, 85, 0.85);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.hero-image, .hero-info {
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 65px;
    height: 110px;
    object-fit: cover;
    border-radius: 6px;
    border: 3px solid #ffffff;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.35);
    margin-left: 8%;
}

.hero-info { text-align: left; }
.hero-info .profile-name { margin: 0; font-size: 3rem; font-weight: 700; color: #ffffff; text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.75); }
.hero-info .profile-role { margin: 0.2rem 0 0; font-size: 1.5rem; font-weight: 600; color: #FFD290; text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7); }

/* --- CARTES D'INFOS --- */
.info-cards {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 1rem 60px 1rem;
    max-width: 800px;
    margin: -35px auto 0 auto;
    position: relative;
    z-index: 10;
    background: transparent;
}

.info-card {
    flex: 1 1 0;
    background: #ffffff;
    border-radius: 12px;
    padding: 0.75rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(45, 65, 85, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.info-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(45, 65, 85, 0.2); }
.info-card .icon { color: #00507D; background: #F2F8FB; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 5px; font-size: 1.2rem; }
.info-card .label { margin-top: 0.3rem; font-size: 0.9rem; color: #666; }
.info-card .value { margin-top: 0.2rem; font-size: 1.2rem; font-weight: bold; color: #00507D; }
.info-card .subvalue { margin-top: 0.3rem; font-size: 0.8rem; color: #666; font-style: italic; }

/* --- BOUTONS D'ACTION --- */
.dirigeant-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem auto;
    max-width: 800px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #00507D;
    border: 1px solid #cddbe3;
    border-radius: 50px;
    padding: 0.6rem 1.4rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.action-btn .icon { color: #FF6A00; font-size: 1.2rem; line-height: 1; }
.action-btn:hover, .action-btn:focus { background: #F2F8FB; border-color: #00507D; color: #00507D; transform: translateY(-2px); box-shadow: 0 6px 15px rgba(0, 80, 125, 0.08); outline: none; }
.arrow-go { font-size: 0.8rem; color: #cddbe3; margin-left: 5px; transition: transform 0.2s ease, color 0.2s ease; }
.action-btn:hover .arrow-go { transform: translateX(4px); color: #00507D; }

/* Avatar Stack */
.avatar-stack { display: flex; align-items: center; margin-left: 10px; padding-left: 5px; border-left: 1px solid #e0e8ed; }
.avatar-stack img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 2px solid #ffffff; margin-left: -12px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); z-index: 1; }
.avatar-stack img:first-child { margin-left: 0; }
.avatar-more { background: #F2F8FB; color: #00507D; font-size: 0.75rem; font-weight: 700; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #ffffff; margin-left: -12px; z-index: 2; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }


/* --- MINI TIMELINE ANIMÉE (BIOGRAPHIE bouton) --- */
.mini-timeline {
    display: flex;
    align-items: center;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid #e0e8ed;
}
.mini-timeline .tdot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #FF6A00;
    opacity: 0.3;
    animation: timeline-glow 1.5s infinite;
}
.mini-timeline .tline {
    width: 4px;
    height: 2px;
    background-color: #FF6A00;
    opacity: 0.3;
}
.mini-timeline .tdot1 { animation-delay: 0s; }
.mini-timeline .tdot2 { animation-delay: 0.5s; }
.mini-timeline .tdot3 { animation-delay: 1s; }

@keyframes timeline-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.4); box-shadow: 0 0 5px rgba(255, 106, 0, 0.5); }
}

/* --- MINI GRAPH ANIMÉ (POPULARITÉ bouton) --- */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
    margin-left: 8px;
    padding-left: 8px;
    border-left: 1px solid #e0e8ed;
}
.mini-chart .bar {
    width: 4px;
    background-color: #FF6A00;
    border-radius: 2px;
    animation: pulse-bar 1.2s infinite ease-in-out alternate;
    transform-origin: bottom;
}
.mini-chart .bar1 { height: 40%; animation-delay: 0s; }
.mini-chart .bar2 { height: 100%; animation-delay: 0.3s; }
.mini-chart .bar3 { height: 60%; animation-delay: 0.6s; }

@keyframes pulse-bar {
    0% { transform: scaleY(0.4); opacity: 0.6; }
    100% { transform: scaleY(1); opacity: 1; }
}

/* --- TITRES DE SECTION --- */
.predecessors {
    position: relative;
    padding: 0;
    background: transparent;
    text-align: center;
    width: 100%;
    max-width: none;
    margin: 0 0 24px 0;
    box-sizing: border-box;
}


/* --- BIOGRAPHIE (TIMELINE ANIMÉE) --- */
.biographie-section {
    display: block;
    background: #ffffff;
    border-radius: 18px;
    padding: clamp(20px, 2.5vw, 30px);
    margin: 10px auto 30px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    box-sizing: border-box;
}
.timeline-container { position: relative; padding-left: 40px; margin: 0; max-width: 100%; }
.timeline-container::before { content: ''; position: absolute; left: 11px; top: 0; bottom: 0; width: 2px; background: #cddbe3; }
.timeline-item { position: relative; margin-bottom: 25px; opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-dot { position: absolute; left: -40px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #FF6A00; border: 4px solid #F2F8FB; box-sizing: content-box; z-index: 2; }
.timeline-content { background: #f8fafc; padding: 14px 18px; border-radius: 10px; border-left: 4px solid #FF6A00; transition: transform 0.2s ease, box-shadow 0.2s ease; color: #333333; text-align: justify; line-height: 1.6; }
.timeline-content:hover { transform: translateX(5px); box-shadow: 0 4px 14px rgba(0, 80, 125, 0.08); }
.timeline-year { font-weight: 800; color: #FF6A00; font-size: 1.2em; margin-bottom: 5px; }
.timeline-text { font-size: 0.95em; }
.timeline-list { list-style-type: none; padding: 0; margin: 0; font-size: 0.95em; }
.timeline-list li { position: relative; padding-left: 15px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #f0f4f8; }
.timeline-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.timeline-list li::before { content: "•"; position: absolute; left: 0; color: #FF6A00; font-weight: bold; font-size: 1.2em; line-height: 1.3; }

/* --- CARROUSEL HORIZONTAL (PRÉDÉCESSEURS) --- */
.carousel-section {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 10px auto 40px auto;
    gap: 15px;
}

.carousel-btn {
    background: #ffffff;
    color: #00507D;
    border: 2px solid #e0e8ed;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    flex-shrink: 0;
    z-index: 10;
}

.carousel-btn:hover {
    background: #00507D;
    color: #ffffff;
    border-color: #00507D;
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 80, 125, 0.2);
}

.carousel-wrapper {
    flex: 1;
    min-width: 0;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    padding: 20px 10px 30px 10px;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    cursor: grab;
    user-select: none;
}
.carousel-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-card {
    flex: 0 0 auto;
    width: 160px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 80, 125, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem 1rem 1rem;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    opacity: 0;
    transform: translateY(20px);
}

.carousel-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.carousel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 80, 125, 0.15);
}

.carousel-avatar {
    width: 75px;
    height: 75px;
    margin-bottom: 15px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #F2F8FB;
}

.carousel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.carousel-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    width: 100%;
}

.car-lastname {
    color: #00507D;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.car-name {
    color: #555;
    font-size: 0.85rem;
    font-weight: 400;
    margin-bottom: 8px;
}

.car-role {
    color: #FF6A00;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.car-dates {
    background: #f0f4f7;
    padding: 6px 10px;
    border-radius: 8px;
    color: #666;
    font-size: 0.65rem;
    line-height: 1.3;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
}


/* ========================================= */
/* --- SPÉCIFIQUE MINISTRE :                  */
/* --- TIMELINE ALTERNÉE (Fonctions antérieures, mode l=i)
       Préfixe `.ministre-timeline` au lieu de `.timeline` car ce dernier
       est un mot trop générique et entre en conflit avec d'autres règles
       (notamment dans squelette.css), ce qui casse le sticky-header.   */
/* ========================================= */
.ministre-timeline {
    position: relative;
    max-width: 1000px;
    margin: auto;
}
.ministre-timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #00507D;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.containert {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
    height: auto;
}
.containert.left { left: 0; text-align: right !important; }
.containert.right { left: 50%; text-align: left !important; }
.containert.left, .containert.right { max-width: 500px; }
.containert.left::before { left: 100%; margin-left: -14px; }
.containert.right::before { left: 0%; margin-left: -4px; }

.contentt {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.containert::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #FF6A00;
    border: 4px solid white;
    z-index: 1;
}
.containert.left::before { right: -10px; }
.containert.right::before { left: -10px; }

.containert .date {
    font-weight: bold;
    color: #FF6A00;
    margin-bottom: 10px;
}
.containert .title {
    font-size: 1.1em;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}
.containert .meta {
    font-size: 0.9em;
    color: #555;
}


/* --- SUGGESTIONS RECHERCHE --- */
.suggestions01, .suggestions02 { position: relative; border: 1px solid #ff7200; background: white; z-index: 1000; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); margin-top: 6px; max-height: 200px; overflow-y: auto; }

/* --- ORGANISMES --- */
.info-cards-org { display: flex; justify-content: center; text-align: left; gap: 20px; margin: 15px auto; flex-wrap: wrap; }
.info-card-org { display: flex; justify-content: left; align-items: center; gap: 10px; flex-direction: row; background: #d1dded; border-radius: 12px; padding: 13px 10px; width: 250px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10); }
.info-cards-org a { text-decoration: none; color: #0b2d68; width: 250px; }
.info-card-org h3 { margin: 0; color: #0b2d68; font-size: 1.06rem; }
.info-card-org p { font-size: 1rem; font-weight: bold; color: #000; margin: 0; }
.info-card-org .icon { flex-shrink: 0; width: 24px; height: 24px; }


/* --- MENU DROIT — stylé par styles.css (grid) --- */
.page-wrapper .sidebar-blocks {
    min-width: 0;
    margin-top: 0 !important;
    align-self: start;
}
.page-wrapper.page-wrapper-ministre .main-content {
    margin-top: 0 !important;
}

/* ========================================= */
/* ANIMATION fade-in-up                       */
/* ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- ZONE SECONDAIRE (BAS DE PAGE : RECHERCHES) --- */
.secondary-content-area {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.secondary-content-area .sidebar-block-content {
    justify-items: center;
}
.secondary-content-area .search-box {
    width: 250px !important;
}
.secondary-content-area .sidebar-block-large {
    max-width: 300px;
}


/* ========================================= */
/* --- RESPONSIVE --- */
/* ========================================= */
@media (max-width: 768px) {
    body { font-size: 0.96rem; }

    /* CAP UNIVERSEL : aucun wrapper ne peut dépasser la largeur du viewport.
       Si squelette.css (que l'on ne contrôle pas) ou le carrousel essaient
       d'élargir un parent, ce cap les ramène à 100vw. */
    .main-container,
    .content,
    .page-content,
    .main-content-area,
    .content-block,
    .predecessors,
    .carousel-section,
    .sticky-header {
        max-width: 100vw !important;
        box-sizing: border-box;
    }

    .page-container {
        width: 96%;
        max-width: 100%;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
        padding: 15px;
    }

    /* Boutons d'action : empilés verticalement, tous de largeur identique */
    .dirigeant-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    .info-cards { flex-wrap: wrap; }
    .info-card {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 0;
    }

    .sticky-header {
        padding: 15px;
    }

    .dirigeant-page { width: 100%; margin-right: 0; padding: 0 10px; box-sizing: border-box; }
    .profile-hero {
        padding: 0.5rem 0.5rem 45px 0.5rem;
        max-width: 100%;
        box-sizing: border-box;
    }
    .profile-hero img,
    .hero-image img { max-width: 100%; }
    .hero-image img { width: 65px; margin-left: 0; }
    .hero-info { min-width: 0; flex: 1; }
    .hero-info .profile-name {
        font-size: 1.8rem;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .hero-info .profile-role { font-size: 1.1rem; }

    .info-cards { padding: 0 0.5rem 40px 0.5rem; margin-top: -25px; }
    .info-card { padding: 0.6rem 0.4rem; }
    .info-card .icon { font-size: 1.2rem; width: 35px; height: 35px; }
    .info-card .label { font-size: 0.75rem; }
    .info-card .value { font-size: 0.9rem; word-break: break-word; }
    .info-card .subvalue { font-size: 0.65rem; }
    .action-btn {
        font-size: 0.95rem;
        padding: 0.55rem 1rem;
        width: 100%;
        max-width: 320px;
        justify-content: center;
        box-sizing: border-box;
    }

    /* Masquer les boutons du carrousel sur mobile (swipe tactile) */
    .carousel-btn { display: none; }
    .carousel-section {
        gap: 0;
        max-width: 100%;
        overflow: hidden;
    }
    .carousel-wrapper {
        -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
        mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
        max-width: 100%;
    }
    .carousel-track {
        padding: 15px 8px 25px 8px;
        gap: 0.8rem;
    }
    .carousel-card {
        width: 135px;
        padding: 1rem 0.6rem 0.8rem 0.6rem;
    }
    .carousel-avatar { width: 60px; height: 60px; margin-bottom: 10px; }
    .car-lastname { font-size: 0.85rem; }
    .car-name { font-size: 0.78rem; }
    .car-role { font-size: 0.62rem; margin-bottom: 8px; }
    .car-dates { font-size: 0.58rem; padding: 5px 7px; }

    /* Timeline biographie mobile */
    .timeline-container { padding-left: 20px; max-width: 100%; box-sizing: border-box; }
    .timeline-container::before { left: 6px; }
    .timeline-dot { left: -22px; width: 12px; height: 12px; border-width: 3px; top: 8px; }
    .timeline-content {
        padding: 12px 15px;
        word-break: break-word;
        overflow-wrap: anywhere;
        max-width: 100%;
        box-sizing: border-box;
    }
    .timeline-year { font-size: 1.1em; }

    /* Timeline alternée (fonctions antérieures) — passe en colonne sur mobile */
    .ministre-timeline::after { left: 20px; width: 6px; }
    .containert {
        width: 100%;
        padding: 10px 20px 10px 60px;
        margin-bottom: 30px;
        max-width: 100%;
    }
    .containert.left, .containert.right {
        left: 0;
        text-align: left !important;
        max-width: 100%;
    }
    .containert::before {
        top: 20px;
        left: 10px !important;
        right: auto !important;
        margin-left: 0;
        transform: translateY(0);
    }
    .contentt { min-height: 0; }

    /* Zone secondaire (recherches) en pleine largeur sur mobile */
    .secondary-content-area .search-box {
        width: 100% !important;
        max-width: 250px;
    }
    .secondary-content-area .sidebar-block-large { max-width: 100%; }
}

@media (max-width: 480px) {
    body { font-size: 0.90rem; }
    .dirigeant-page { width: 100%; margin: 75px 5px auto 5px; }
    .profile-hero { padding: 0.5rem 0.2rem 40px 0.2rem; }
    .hero-info .profile-name { font-size: 1.3rem; }

    .info-cards { width: 100%; gap: 0.4rem; padding-bottom: 20px; }
    .info-card { padding: 0.5rem; }
    .info-card .icon { font-size: 1.1rem; }
    .info-card .label { font-size: 0.68rem; }
    .info-card .value { font-size: 0.72rem; }
    .info-card .subvalue { font-size: 0.64rem; }
    .action-btn { font-size: 0.92rem; padding: 0.4rem 0.6rem; }
}
