/* ── forms.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 — 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 ── */
.sf-accordion {
    border-radius: var(--r1);
    overflow: hidden;
    box-shadow: var(--s2);
    border: 1px solid rgba(37,99,235,.05);
    margin-bottom: 1.2rem;
}

.sf-trigger {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between;
    background: var(--G);
    border: none; padding: 1rem 1.5rem;
    cursor: pointer; gap: .8rem;
    text-align: left; transition: opacity .2s;
    font-family: 'Poppins', sans-serif;
}
.sf-trigger:hover { opacity: .92; }
.sf-trigger:focus-visible { outline: 3px solid rgba(255,255,255,.6); outline-offset: -3px; }

.sf-trigger-left { display: flex; align-items: center; gap: .75rem; flex: 1; min-width: 0; }

.sf-stage-num {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,255,255,.25);
    border: 1.5px solid rgba(255,255,255,.4);
    color: var(--white); font-size: .78rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sf-icon {
    width: 34px; height: 34px; border-radius: 9px;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.25);
    display: flex; align-items: center; justify-content: center;
    font-size: .88rem; color: var(--white); flex-shrink: 0;
}
.sf-title {
    display: block;
    font-size: .9rem; font-weight: 700; color: var(--white); line-height: 1.2;
}
.sf-sub {
    display: block;
    font-size: .7rem; color: rgba(255,255,255,.6); font-weight: 400; margin-top: .1rem;
}
.sf-chev {
    font-size: .78rem; color: rgba(255,255,255,.75);
    transition: transform .3s var(--ease); flex-shrink: 0;
}

/* body */
.sf-body { display: none; background: var(--white); }
.sf-body.open { display: block; animation: fadeUp .28s ease both; }

.sf-content { padding: 1.6rem 1.8rem 2rem; }

/* ── SUB-HEADING inside accordion ── */
.sf-sub-head {
    font-size: .72rem; font-weight: 800;
    color: var(--blue); text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 1.4rem 0 .75rem;
    padding-bottom: .45rem;
    border-bottom: 2px solid var(--pale);
    position: relative;
}
.sf-sub-head:first-child { margin-top: 0; }
.sf-sub-head::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 28px; height: 2px; background: var(--G);
}

/* ── TABLE ── */
.sf-table {
    width: 100%; border-collapse: collapse;
    font-size: .84rem; margin-bottom: .4rem;
    border: 1px solid var(--border);
    border-radius: var(--r2);
    overflow: hidden;
}
.sf-table thead th {
    background: var(--xpale); color: var(--t1);
    padding: .62rem 1rem; font-size: .68rem; font-weight: 700;
    letter-spacing: 1px; text-transform: uppercase; text-align: left;
    border-bottom: 2px solid var(--pale);
}
.sf-table tbody td {
    padding: .7rem 1rem; color: var(--t2);
    border-bottom: 1px solid #f1f5f9; vertical-align: middle;
    line-height: 1.55;
}
.sf-table tbody tr:last-child td { border-bottom: none; }
.sf-table tbody tr:hover td { background: var(--xpale); }
.sf-sno { width: 52px; color: var(--t3); font-weight: 500; text-align: center; }
.sf-doc { width: 200px; font-size: .78rem; color: var(--t3); font-style: italic; }
.sf-dl  { width: 90px; text-align: center; }
.sf-note-cell { font-style: italic; color: var(--t3); font-size: .8rem; }

/* download button */
.sf-dl-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
    background: var(--G); color: var(--white);
    border-radius: 6px; padding: .32rem .75rem;
    font-size: .7rem; font-weight: 700;
    text-decoration: none; transition: var(--t);
    box-shadow: 0 2px 6px rgba(30,58,138,.18);
}
.sf-dl-btn:hover { opacity: .88; transform: translateY(-1px); color: var(--white); }
.sf-dl-btn:focus-visible { outline: 3px solid var(--mid); outline-offset: 2px; }
.sf-dl-btn i { font-size: .68rem; }

/* external link */
.sf-ext-link {
    display: inline-flex; align-items: center; gap: .3rem;
    color: var(--mid); font-size: .78rem; font-weight: 600;
    text-decoration: none;
}
.sf-ext-link:hover { color: var(--blue); }

/* note box */
.sf-note {
    display: flex; align-items: flex-start; gap: .55rem;
    background: var(--xpale); border-left: 3px solid var(--mid);
    border-radius: 0 var(--r3) var(--r3) 0;
    padding: .8rem 1rem;
    font-size: .84rem; color: var(--t2);
    margin-bottom: 1rem;
}
.sf-note i { font-size: .86rem; color: var(--mid); flex-shrink: 0; margin-top: .12rem; }

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
    .sf-content { padding: 1.2rem 1.1rem; }
    .sf-doc { width: 140px; }
}
@media (max-width: 576px) {
    .sf-table { font-size: .76rem; }
    .sf-table thead th, .sf-table tbody td { padding: .55rem .7rem; }
    .sf-doc { display: none; }
    .sf-dl  { width: 70px; }
}

@media print {
    .sf-body { display: block !important; }
    .sf-accordion { box-shadow: none; border: 1px solid #ccc; }
    .sf-dl-btn { background: none; color: var(--blue); box-shadow: none; }
}