/* Grila de 6 coloane cu namespace bod- */
.bod-grid-acte {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

/* Responsive */
@media (max-width: 1200px) { .bod-grid-acte { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .bod-grid-acte { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .bod-grid-acte { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .bod-grid-acte { grid-template-columns: 1fr; } }

/* Stilul casetelor (Box) */
.bod-box-act {
    border: 1px solid #f1b32d ;
    background-color: #fbfbfb;
    /*min-height: 120px;*/
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 6px;
    box-sizing: border-box;
    position: relative;
    transition: border-color 0.3s ease;
}

.bod-box-act:hover {
    border-color: #ffffff;
    background-color: #ffffff;
}

/* Stil de bază pentru titluri (Dispoziții și HCL) */
.bod-box-header h3,
.bod-box-header-hcl h3 {
    margin: 0 0 8px 0;
    font-weight: bold;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Titluri Dispoziții */
.bod-box-header h3 {
    font-size: 16px;
    color: #222;
    background-color: #e9e9e9;
}

/* Titluri Hotărâri (HCL) - cu fundal gri */
.bod-box-header-hcl h3 {
    font-size: 16px;
    color: #222;
    background-color: #e9e9e9;
}

/* Link-uri curate, fără subliniere */
.bod-title-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

/* Efectul de HOVER - se declanșează când mouse-ul este oriunde pe cutie */
.bod-box-act:hover .bod-box-header h3,
.bod-box-act:hover .bod-box-header-hcl h3 {
    background-color: #f1b32d;
    color: #ffffff !important;
    box-shadow: 1px 2px 4px rgba(72, 72, 72, 0.35);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

/* Text descriptiv / Categorie */
.bod-box-body p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.3;
}

/* Butoane Anexe (A1, A2) */
.bod-box-anexe {
    margin-top: auto;
    padding-top: 5px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.bod-btn-anexa {
    background-color: #f1b32d;
    color: #fff !important;
    font-size: 11px;
    font-weight: bold;
    padding: 1px 6px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.bod-btn-anexa:hover {
    background-color: #d99b1d;
}


/* Butoane de navigare între pagini */
.bod-navigare-pagini {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 10px 0;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
}

.bod-btn-nav {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2c2c2c;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.bod-btn-nav:hover {
    background-color: #f1b32d;
    color: #fff !important;
    box-shadow: 1px 2px 4px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}

/* Tab-uri de filtrare pe ani */

.bod-filtru-label {
    font-weight: bold;
    color: #555;
    margin-right: 5px;
    font-size: 14px;
}



/* Paginare automată */
.bod-paginare {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e1e1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.bod-paginare-info {
    font-size: 13px;
    color: #666;
    font-style: italic;
}
.bod-paginare-links {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}
.bod-pg-nr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background-color: #f4f4f4;
    color: #555 !important;
    text-decoration: none !important;
    border-radius: 3px;
    font-size: 13px;
    font-weight: bold;
    border: 1px solid #e1e1e1;
    transition: all 0.2s ease;
}
.bod-pg-nr:hover,
.bod-pg-nr.active {
    background-color: #f1b32d;
    color: #fff !important;
    border-color: #f1b32d;
}
.bod-pg-nr.active {
    box-shadow: 1px 2px 4px rgba(0,0,0,0.15);
}

/* Butoane navigare (Anterior / Următor) */


.bod-fara-rezultate {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
    border-radius: 5px;
    color: #888;
    font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
    .bod-paginare {
        /*flex-direction: column;
        align-items: stretch;*/
    }
    .bod-paginare-links {
        justify-content: center;
    }
}


/* ===== TOP BAR: An (stânga) + Total (dreapta) - ACELAȘI RÂND ===== */
.bod-top-bar {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px;
    margin: 20px 0 15px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
}

.bod-an-curent,
.bod-total-curent {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 5px;
    font-size: 14px;
    color: #555;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
}

.bod-total-curent {
    margin-left: auto !important;
}

.bod-filtru-label {
    font-weight: bold;
    color: #555;
    font-size: 14px;
    white-space: nowrap;
}

.bod-an-curent strong,
.bod-total-curent strong {
    display: inline-block;
    padding: 6px 14px;
    background-color: #f1b32d !important;
    color: #fff !important;
    border-radius: 3px;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 1px 2px 4px rgba(0,0,0,0.15);
    white-space: nowrap;
}

/* ===== PAGINARE SUS - CENTRATĂ ===== */
.bod-paginare-top {
    display: flex;
    justify-content: center;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #e1e1e1;
}

.bod-paginare-top .bod-paginare-links {
    margin: 0;
    gap: 5px;
    justify-content: center;
}

.bod-paginare-top .bod-pg-nr,
.bod-paginare-top .bod-btn-nav {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 12px;
}

/* ===== RESPONSIVE: DOAR micșorăm fontul, NU schimbăm direcția ===== */
@media (max-width: 600px) {
    .bod-top-bar {
        gap: 5px;
    }
    .bod-an-curent,
    .bod-total-curent {
        font-size: 12px;
        gap: 3px;
    }
    .bod-filtru-label {
        font-size: 12px;
    }
    .bod-an-curent strong,
    .bod-total-curent strong {
        padding: 4px 8px;
        font-size: 12px;
    }
}

/* Pe ecrane foarte mici (sub 420px), ascundem textul "Total dispoziții:" și păstrăm doar badge-ul */
@media (max-width: 420px) {
    .bod-total-curent .bod-filtru-label {
        /*display: none;*/
    }
}




/* ===== MONITORUL OFICIAL LOCAL - SHORTCODE ===== */
.bod-monitor-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 5px;
}

.bod-monitor-an {
    flex: 1 1 220px;
    /*border: 1px solid #f1b32d;*/
    border-radius: 10px;
    overflow: hidden;
   
}

.bod-monitor-an-titlu {
    margin: 0;
    padding: 18px 15px;
    background: #6c6c6c;
    color: #FF9900;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    text-shadow: 3px 3px 5px rgba(0,0,0,0.3);
    letter-spacing: 1px;

}



.bod-monitor-lista {
    list-style: none;
    margin: 0;
    padding: 10px;
}

.bod-monitor-lista li {
    margin: 0;
    padding: 0;
}

.bod-monitor-an .bod-monitor-lista {
    margin: 0 !important;
    padding: 10px !important;
    list-style: none !important;
}

.bod-monitor-link {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* ← Aliniere la stânga pentru toate elementele */
    padding: 12px 15px;
    text-decoration: none;
    color: #555;
    border-bottom: 1px solid #f0e6d2;
    transition: all 0.2s ease;
}

.bod-monitor-lista li:last-child .bod-monitor-link {
    border-bottom: none;
}

.bod-monitor-link:hover {
    background-color: #f1b32d;
    color: #fff;
}

/* Containerul iconiței arrow (stânga) */

/* ===== MONITOR - NUMĂRUL DIN MIJLOC ===== */
.bod-monitor-range {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
}

/* ===== MONITOR - ICONIȚA ARROW (STÂNGA) ===== */
.bod-monitor-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff9000;
    margin-right: 15px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.bod-monitor-arrow i {
    font-size: 26px;
    line-height: 1;
}

/* ===== MONITOR - ICONIȚA SHARE (DREAPTA) ===== */
.bod-monitor-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #555;
    margin-left: 15px;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.bod-monitor-icon i {
    font-size: 28px;
    line-height: 1;
}




/* La hover, ambele iconițe devin albe */
.bod-monitor-link:hover .bod-monitor-arrow,
.bod-monitor-link:hover .bod-monitor-icon {
    color: #fff;
}




/* ===== MONITOR - MESAJ GOL ===== */
.bod-monitor-gol {
    text-align: center;
    padding: 40px;
    color: #888;
    font-style: italic;
}

/* ===== FORȚARE STIL TITLU AN PE MOBIL (identic cu desktop) ===== */
@media (max-width: 768px) {
    .bod-monitor-an-titlu {
        background-color: #6c6c6c !important;
        color: #ff9900 !important;
        font-family: "Poppins", Arial, sans-serif !important;
        font-weight: 800 !important;
        text-shadow: 3px 3px 5px rgba(0,0,0,0.3) !important;
        letter-spacing: 1px !important;
        text-align: center !important;
    }
}
