/* ── general-meetings.css ── */

body {
    font-family: 'Poppins', sans-serif;
    background: var(--pg);
    margin: 0; padding-top: 0;
    color: var(--t1); font-size: 14px; line-height: 1.6;
}

/* header overrides */
/*.ireda-header { background: var(--white) !important; box-shadow: 0 2px 20px rgba(30,58,138,.08) !important; }
.header-bg-overlay { background: var(--white) !important; backdrop-filter: none !important; opacity: 1 !important; }
.ireda-header:not(.scrolled) .nav-link,
.ireda-header:not(.scrolled) .glass-btn { color: rgba(255,255,255,0.92) !important; text-shadow: 0 1px 4px rgba(0,0,0,0.25); }
.ireda-header:not(.scrolled) .utility-link    { color: rgba(255,255,255,0.75) !important; }
.ireda-header:not(.scrolled) .utility-divider { color: rgba(255,255,255,0.35) !important; }
.ireda-header:not(.scrolled) .col-lg-2 img    { filter: none !important; opacity: 1 !important; }
.ireda-header.scrolled .nav-link,
.ireda-header.scrolled .glass-btn             { color: var(--t2) !important; text-shadow: none !important; }
.ireda-header.scrolled .utility-link          { color: var(--t3) !important; }
.ireda-header.scrolled .col-lg-2 img          { filter: none !important; opacity: .92 !important; }*/

/* header overrides — subpage: always solid white, always dark text */
.ireda-header { background: var(--white) !important; box-shadow: 0 2px 20px rgba(30,58,138,.08) !important; }
.header-bg-overlay { background: var(--white) !important; backdrop-filter: none !important; opacity: 1 !important; }
.ireda-header .nav-link,
.ireda-header .glass-btn { color: var(--blue) !important; text-shadow: none !important; }
.ireda-header .utility-link,
.ireda-header .utility-lang-btn,
.ireda-header .utility-font-btn { color: var(--t3) !important; }
.ireda-header .utility-divider { color: var(--border) !important; }
.ireda-header .col-lg-2 img { filter: none !important; opacity: 1 !important; }

/* ══ ACCORDION ══ */
.gm-accordion {
    background: var(--white); border-radius: var(--r1);
    box-shadow: var(--s2); border: 1px solid rgba(37,99,235,.05);
    overflow: hidden; margin-bottom: 1rem;
}
.gm-accordion::before { content: ''; display: block; height: 4px; background: var(--G); }

.gm-toggle {
    width: 100%; display: flex; align-items: center; gap: .85rem;
    padding: 1rem 1.5rem;
    background: var(--G); border: none; cursor: pointer;
    text-align: left; transition: opacity .2s;
}
.gm-toggle:hover { opacity: .92; }
.gm-toggle:focus-visible { outline: 3px solid var(--mid); outline-offset: -3px; }

.gm-toggle-icon {
    width: 36px; height: 36px; border-radius: 9px;
    background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.25);
    color: var(--white); font-size: .88rem; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
}
.gm-toggle-label { flex: 1; font-size: .92rem; font-weight: 800; color: var(--white); }
.gm-chevron {
    font-size: .78rem; color: rgba(255,255,255,.8); flex-shrink: 0;
    transition: transform .3s ease;
}
.gm-chevron.rotated { transform: rotate(180deg); }

.gm-body {
    overflow: hidden; max-height: 9999px;
    transition: max-height .4s ease;
}
.gm-body.collapsed { max-height: 0; }

/* ══ AGM REDIRECT CARD ══ */
.gm-agm-redirect {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.4rem 1.6rem;
}
.gm-agm-icon {
    width: 44px; height: 44px; border-radius: 11px;
    background: var(--G); color: var(--white); flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; box-shadow: 0 3px 10px rgba(30,58,138,.18);
}
.gm-agm-title { font-size: .9rem; font-weight: 800; color: var(--t1); margin-bottom: .2rem; }
.gm-agm-sub   { font-size: .8rem; color: var(--t3); line-height: 1.5; }
.gm-agm-btn {
    margin-left: auto; flex-shrink: 0;
    display: inline-flex; align-items: center; gap: .45rem;
    background: var(--G); color: var(--white);
    border-radius: 8px; padding: .55rem 1.2rem;
    font-size: .78rem; font-weight: 700;
    text-decoration: none; transition: var(--t);
    box-shadow: 0 3px 10px rgba(30,58,138,.2); white-space: nowrap;
}
.gm-agm-btn:hover { opacity: .88; transform: translateY(-1px); color: var(--white); }

/* ══ EGM TABLE ══ */
.gm-table-wrap { overflow-x: auto; }
.gm-table { width: 100%; border-collapse: collapse; font-size: .87rem; min-width: 600px; }
.gm-table thead th {
    background: var(--xpale); color: var(--t1);
    padding: .62rem 1.1rem; font-size: .66rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase;
    text-align: center; border-bottom: 2px solid var(--pale);
    white-space: nowrap;
}
.gm-table thead th.gm-date-col { text-align: left; }
.gm-date-col { width: 180px; }
.gm-dl-col   { width: 130px; }

.gm-row { border-bottom: 1px solid #f1f5f9; transition: background .15s; }
.gm-row:last-child { border-bottom: none; }
.gm-row:hover { background: var(--xpale); }
.gm-row--recent { background: #fafbff; }
.gm-row--recent:hover { background: var(--xpale); }

.gm-table tbody td { padding: .8rem 1.1rem; vertical-align: middle; text-align: center; }
.gm-date-col { text-align: left !important; }

.gm-date {
    font-size: .86rem; font-weight: 700; color: var(--t1); line-height: 1.2;
}
.gm-badge {
    display: inline-block; margin-top: .25rem;
    background: var(--G); color: var(--white);
    border-radius: 5px; font-size: .62rem; font-weight: 700;
    padding: .1rem .55rem; letter-spacing: .3px;
}

/* icon download button */
.gm-dl-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    background: var(--G); color: var(--white);
    border-radius: 7px; font-size: .78rem;
    text-decoration: none; transition: var(--t);
    box-shadow: 0 2px 8px rgba(30,58,138,.18);
}
.gm-dl-btn:hover { opacity: .85; transform: translateY(-1px); color: var(--white); }
.gm-dl-btn:focus-visible { outline: 3px solid var(--mid); outline-offset: 2px; }

.gm-nil { color: var(--pale); font-size: .8rem; }

/* ── Documents for Inspection strip ── */
.gm-inspection-row {
    display: flex; align-items: center; gap: .6rem;
    padding: .8rem 1.6rem;
    background: var(--xpale); border-top: 1px solid var(--pale);
    font-size: .82rem; font-weight: 600; color: var(--t1);
}
.gm-inspection-row i { font-size: .8rem; color: var(--mid); }
.gm-insp-link {
    margin-left: auto;
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .78rem; font-weight: 700; color: var(--mid);
    text-decoration: none; transition: color .2s;
}
.gm-insp-link:hover { color: var(--blue); }

/* ══ POSTAL BALLOT ══ */
.gm-postal-list { padding: .3rem 0; }

.gm-postal-item {
    display: flex; align-items: center; gap: .9rem;
    padding: .9rem 1.6rem;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: background .15s;
}
.gm-postal-item:last-child { border-bottom: none; }
.gm-postal-item:hover { background: var(--xpale); }
.gm-postal-item:focus-visible { outline: 3px solid var(--mid); outline-offset: -3px; }

.gm-postal-icon {
    width: 36px; height: 36px; border-radius: 9px;
    background: var(--G); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(30,58,138,.15);
    transition: var(--t);
}
.gm-postal-item:hover .gm-postal-icon { transform: scale(1.08); }

.gm-postal-text {
    flex: 1; font-size: .9rem; font-weight: 600; color: var(--t1);
    transition: color .15s;
}
.gm-postal-item:hover .gm-postal-text { color: var(--blue); }

.gm-postal-arrow {
    font-size: .82rem; color: var(--mid); flex-shrink: 0;
    transition: transform .2s;
}
.gm-postal-item:hover .gm-postal-arrow { transform: translateX(3px); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .gm-agm-redirect { flex-wrap: wrap; }
    .gm-agm-btn { margin-left: 0; }
    .gm-table tbody td, .gm-table thead th { padding: .6rem .8rem; }
}
@media (max-width: 576px) {
    .gm-toggle-label { font-size: .82rem; }
    .gm-postal-text  { font-size: .82rem; }
}
@media print {
    .gm-accordion { box-shadow: none; border: 1px solid #ccc; }
    .gm-body.collapsed { max-height: 9999px !important; }
    .gm-dl-btn { background: none; color: var(--blue); box-shadow: none; border: 1px solid var(--blue); }
}