/* IQAC page — two-column layout */
.iqac-page {
    background: #ffffff;
}

.iqac-hero {
    padding: 44px 0 48px;
}

.iqac-main-section {
    padding: 44px 0 56px;
    background:
        radial-gradient(circle at 88% 12%, rgba(249, 200, 51, 0.08) 0%, transparent 34%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 48%, #f8fafc 100%);
}

.iqac-layout {
    display: grid;
    grid-template-columns: minmax(0, 40%) minmax(0, 60%);
    gap: 28px;
    align-items: start;
}

.iqac-about-card,
.iqac-documents-card {
    background: #ffffff;
    border: 1px solid rgba(6, 26, 40, 0.08);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(6, 26, 40, 0.08);
    overflow: hidden;
}

.iqac-about-card {
    position: sticky;
    top: 24px;
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 26px 24px;
    border-left: 4px solid #f9c833;
}

.iqac-about-block + .iqac-about-block {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px dashed rgba(6, 26, 40, 0.1);
}

.iqac-about-heading {
    margin: 0 0 12px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.3;
    color: #061a28;
}

.iqac-about-subheading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #061a28;
}

.iqac-about-subheading i {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: #061a28;
    background: linear-gradient(135deg, rgba(249, 200, 51, 0.24) 0%, rgba(240, 180, 41, 0.12) 100%);
    border-radius: 10px;
    flex-shrink: 0;
}

.iqac-about-block p,
.iqac-about-list {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.75;
    color: #475569;
}

.iqac-about-list {
    padding-left: 18px;
}

.iqac-about-list li + li {
    margin-top: 8px;
}

.iqac-documents-card {
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

.iqac-documents-head {
    padding: 24px 26px 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(249, 200, 51, 0.12) 0%, transparent 42%),
        linear-gradient(135deg, #04121c 0%, #061a28 100%);
    border-bottom: 1px solid rgba(249, 200, 51, 0.18);
}

.iqac-documents-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    padding: 5px 12px;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #061a28;
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%);
    border-radius: 999px;
}

.iqac-documents-title {
    margin: 0 0 8px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.45rem, 2.4vw, 1.9rem);
    font-weight: 700;
    color: #ffffff;
}

.iqac-documents-subtitle {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

.iqac-documents-body {
    position: relative;
    flex: 1 1 auto;
    padding: 22px 24px 24px;
}

.iqac-panel[hidden] {
    display: none !important;
}

.iqac-panel.is-active {
    display: block;
}

.iqac-category-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.iqac-category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    text-align: left;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(6, 26, 40, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(6, 26, 40, 0.05);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.iqac-category-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(249, 200, 51, 0.4);
    box-shadow: 0 12px 28px rgba(6, 26, 40, 0.1);
}

.iqac-category-btn-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.15rem;
    color: #b45309;
    background: linear-gradient(135deg, rgba(249, 200, 51, 0.22) 0%, rgba(240, 180, 41, 0.1) 100%);
    border-radius: 12px;
}

.iqac-category-btn-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1 1 auto;
    min-width: 0;
}

.iqac-category-btn-text strong {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #061a28;
}

.iqac-category-btn-text em {
    font-style: normal;
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    color: #94a3b8;
}

.iqac-category-btn-arrow {
    color: #c9a020;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.iqac-panel-toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.iqac-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #061a28;
    background: rgba(249, 200, 51, 0.14);
    border: 1px solid rgba(249, 200, 51, 0.32);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.iqac-back-btn:hover {
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%);
    transform: translateY(-1px);
}

.iqac-panel-title {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #061a28;
}

.iqac-file-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.iqac-file-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 15px;
    text-align: left;
    background: #ffffff;
    border: 1px solid rgba(6, 26, 40, 0.08);
    border-left: 3px solid #f9c833;
    border-radius: 14px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.iqac-file-btn:hover,
.iqac-file-btn.is-active {
    background: #fffdf6;
    border-color: rgba(249, 200, 51, 0.42);
    box-shadow: 0 10px 24px rgba(6, 26, 40, 0.08);
    transform: translateY(-1px);
}

.iqac-file-btn-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    color: #061a28;
    background: rgba(249, 200, 51, 0.16);
    border-radius: 10px;
}

.iqac-file-btn-text {
    flex: 1 1 auto;
    min-width: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    color: #0f172a;
}

.iqac-file-btn-arrow {
    color: #94a3b8;
    flex-shrink: 0;
}

.iqac-preview-actions {
    margin-bottom: 14px;
}

.iqac-preview-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #061a28;
    background: linear-gradient(135deg, #f9c833 0%, #f0b429 100%);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(249, 200, 51, 0.24);
    transition: transform 0.2s ease;
}

.iqac-preview-open-btn:hover {
    transform: translateY(-2px);
    color: #04121c;
}

.iqac-preview-frame-wrap {
    min-height: 420px;
    border: 1px solid rgba(6, 26, 40, 0.1);
    border-radius: 16px;
    overflow: hidden;
    background: #f8fafc;
}

.iqac-preview-frame {
    width: 100%;
    min-height: 420px;
    height: 62vh;
    border: 0;
    display: block;
    background: #ffffff;
}

.iqac-preview-fallback {
    padding: 36px 20px;
    text-align: center;
    background: #f8fafc;
    border: 1px dashed rgba(6, 26, 40, 0.12);
    border-radius: 16px;
    color: #64748b;
    font-family: 'Inter', sans-serif;
}

.iqac-preview-fallback i {
    display: block;
    margin-bottom: 10px;
    font-size: 1.8rem;
    color: #cbd5e1;
}

.iqac-empty-state {
    padding: 42px 20px;
    text-align: center;
    color: #64748b;
    font-family: 'Inter', sans-serif;
}

.iqac-empty-state i {
    display: block;
    margin-bottom: 12px;
    font-size: 2rem;
    color: #cbd5e1;
}

.iqac-empty-state--inline {
    padding: 28px 16px;
}

@media (max-width: 991px) {
    .iqac-layout {
        grid-template-columns: 1fr;
    }

    .iqac-about-card {
        position: static;
        max-height: none;
    }

    .iqac-documents-card {
        min-height: 0;
    }
}

@media (max-width: 575px) {
    .iqac-main-section {
        padding: 32px 0 44px;
    }

    .iqac-about-card,
    .iqac-documents-body {
        padding-left: 16px;
        padding-right: 16px;
    }

    .iqac-documents-head {
        padding: 20px 16px 16px;
    }

    .iqac-preview-frame {
        min-height: 320px;
        height: 50vh;
    }
}
