/* ── investor-service-cell.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 WRAPPER
══════════════════════════════════ */
.isc-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;
}
.isc-accordion::before { content: ''; display: block; height: 4px; background: var(--G); }

.isc-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;
}
.isc-toggle:hover { opacity: .92; }
.isc-toggle:focus-visible { outline: 3px solid var(--mid); outline-offset: -3px; }

.isc-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;
}
.isc-toggle-label { flex: 1; font-size: .95rem; font-weight: 800; color: var(--white); }
.isc-chevron {
    font-size: .8rem; color: rgba(255,255,255,.8); flex-shrink: 0;
    transition: transform .3s ease;
}
.isc-chevron.rotated { transform: rotate(180deg); }

.isc-body {
    overflow: hidden; max-height: 9999px;
    transition: max-height .4s ease;
    padding: 1.4rem 1.6rem;
}
.isc-body.collapsed { max-height: 0; padding: 0 1.6rem; }

/* ── SECTION HEADING INSIDE BODY ── */
.isc-section-head {
    display: flex; align-items: center; gap: .5rem;
    font-size: .74rem; font-weight: 800; color: var(--blue);
    text-transform: uppercase; letter-spacing: 1.4px;
    margin: 1.2rem 0 .75rem;
    padding-bottom: .45rem; border-bottom: 2px solid var(--pale);
    position: relative;
}
.isc-section-head:first-child { margin-top: 0; }
.isc-section-head::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 28px; height: 2px; background: var(--G);
}
.isc-section-head i { font-size: .78rem; }

/* ── SECURITY INFO GRID ── */
.isc-info-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem; margin-bottom: .5rem;
}
.isc-info-table-wrap { overflow: hidden; border-radius: var(--r2); border: 1px solid var(--pale); }
.isc-info-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.isc-info-table thead th {
    background: var(--G); color: var(--white);
    padding: .5rem 1rem; font-size: .72rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .8px;
}
.isc-info-table tbody tr { border-bottom: 1px solid #f1f5f9; }
.isc-info-table tbody tr:last-child { border-bottom: none; }
.isc-info-table tbody tr:hover { background: var(--xpale); }
.isc-label { padding: .55rem 1rem; color: var(--t3); font-size: .8rem; font-weight: 600; width: 45%; white-space: nowrap; }
.isc-value { padding: .55rem 1rem; color: var(--t1); font-size: .84rem; }

/* ── CONTACT CARD ── */
.isc-contact-card {
    display: flex; align-items: flex-start; gap: 1rem;
    background: var(--xpale); border: 1px solid var(--pale);
    border-radius: var(--r2); padding: 1.1rem 1.3rem;
    margin-bottom: .75rem;
}
.isc-contact-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--G); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(30,58,138,.18);
}
.isc-contact-name  { font-size: .92rem; font-weight: 800; color: var(--t1); margin-bottom: .1rem; }
.isc-contact-desig { font-size: .76rem; color: var(--mid); font-weight: 600; margin-bottom: .1rem; }
.isc-contact-org   { font-size: .78rem; color: var(--t2); margin-bottom: .5rem; }
.isc-contact-addr  {
    display: flex; align-items: flex-start; gap: .4rem;
    font-size: .78rem; color: var(--t3); line-height: 1.5; margin-bottom: .6rem;
}
.isc-contact-addr i { font-size: .72rem; flex-shrink: 0; margin-top: .18rem; color: var(--mid); }
.isc-contact-row   { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ── PILL BUTTONS ── */
.isc-contact-pill {
    display: inline-flex; align-items: center; gap: .35rem;
    background: var(--white); border: 1px solid var(--pale);
    color: var(--mid); border-radius: 7px;
    padding: .28rem .75rem; font-size: .74rem; font-weight: 600;
    text-decoration: none; transition: var(--t);
}
.isc-contact-pill:hover { background: var(--G); color: var(--white); border-color: transparent; }
.isc-contact-pill i { font-size: .7rem; }
.isc-pill-plain { cursor: default; }
.isc-pill-plain:hover { background: var(--white); color: var(--mid); border-color: var(--pale); }

/* ── NOTE BOX ── */
.isc-note-box {
    display: flex; align-items: flex-start; gap: .6rem;
    background: #eff6ff; border: 1px solid #bfdbfe;
    border-radius: var(--r2); padding: .85rem 1rem;
    font-size: .82rem; color: #1e40af; line-height: 1.6;
    margin-bottom: .75rem;
}
.isc-note-box i { font-size: .85rem; flex-shrink: 0; margin-top: .1rem; }
.isc-note-box a { color: #1d4ed8; font-weight: 600; }
.isc-note-box--bond { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.isc-note-box--bond a { color: #15803d; }

/* ── RTA CARD ── */
.isc-rta-card {
    background: var(--white); border: 1px solid var(--pale);
    border-radius: var(--r2); padding: 1.1rem 1.3rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(30,58,138,.05);
}
.isc-rta-card--bond { border-left: 4px solid var(--mid); }
.isc-rta-name     { font-size: .92rem; font-weight: 800; color: var(--t1); margin-bottom: .2rem; }
.isc-rta-formerly { font-size: .76rem; color: var(--t3); margin-bottom: .4rem; font-style: italic; }
.isc-rta-addr {
    display: flex; align-items: flex-start; gap: .4rem;
    font-size: .78rem; color: var(--t3); line-height: 1.5; margin-bottom: .65rem;
}
.isc-rta-addr i { font-size: .72rem; flex-shrink: 0; margin-top: .18rem; color: var(--mid); }
.isc-rta-links { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem; }

/* KFin quick links row */
.isc-kfin-links {
    display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .7rem;
}
.isc-link-item {
    display: inline-flex; align-items: center; gap: .35rem;
    background: var(--xpale); border: 1px solid var(--pale);
    color: var(--blue); border-radius: 7px;
    padding: .3rem .8rem; font-size: .74rem; font-weight: 600;
    text-decoration: none; transition: var(--t);
}
.isc-link-item:hover { background: var(--G); color: var(--white); border-color: transparent; }
.isc-link-item i { font-size: .7rem; }

/* ── ISIN TABLE ── */
.isc-bond-isin-wrap { overflow-x: auto; border-radius: var(--r3); border: 1px solid var(--pale); }
.isc-isin-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.isc-isin-table thead th {
    background: var(--xpale); color: var(--t1);
    padding: .45rem 1rem; font-size: .64rem; font-weight: 700;
    letter-spacing: .8px; text-transform: uppercase;
    text-align: left; border-bottom: 2px solid var(--pale);
}
.isc-isin-table tbody tr { border-bottom: 1px solid #f1f5f9; }
.isc-isin-table tbody tr:last-child { border-bottom: none; }
.isc-isin-table tbody tr:hover { background: var(--xpale); }
.isc-isin-table tbody td { padding: .4rem 1rem; font-family: 'Courier New', monospace; font-size: .8rem; }
.isc-isin-table tbody td:last-child { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--blue); }

/* ── PORTAL LIST ── */
.isc-portal-list { display: flex; flex-direction: column; gap: .6rem; margin-bottom: .5rem; }
.isc-portal-item {
    display: flex; align-items: flex-start; gap: .65rem;
    background: var(--xpale); border: 1px solid var(--pale);
    border-radius: var(--r2); padding: .8rem 1rem;
    font-size: .84rem; color: var(--t2); line-height: 1.6;
}
.isc-portal-item > i { font-size: .82rem; color: var(--mid); flex-shrink: 0; margin-top: .18rem; }
.isc-portal-desc { margin-bottom: .3rem; }
.isc-portal-link {
    font-size: .78rem; color: var(--mid); font-weight: 600;
    text-decoration: none; display: inline-flex; align-items: center; gap: .3rem;
}
.isc-portal-link:hover { color: var(--blue); text-decoration: underline; }
.isc-portal-ref { font-size: .72rem; color: var(--t3); margin-top: .25rem; font-style: italic; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) { .isc-info-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) {
    .isc-body { padding: 1rem; }
    .isc-body.collapsed { padding: 0 1rem; }
    .isc-contact-card { flex-direction: column; gap: .7rem; }
}
@media (max-width: 576px) {
    .isc-toggle-label { font-size: .84rem; }
    .isc-rta-links, .isc-kfin-links { flex-direction: column; }
}
@media print {
    .isc-accordion { box-shadow: none; border: 1px solid #ccc; }
    .isc-body.collapsed { max-height: 9999px !important; padding: 1rem !important; }
}