 /* ===== Approval Section Wrapper ===== */
        .agc-approval-wrap {
            padding: 20px;
            background: #f8fafc;
        }

        /* ===== Header ===== */
        .agc-approval-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 18px;
            flex-wrap: wrap;
        }

        .agc-approval-header h2 {
            font-size: 20px;
            color: #1e293b;
            margin: 0;
        }

        .agc-approval-header span {
            font-size: 13px;
            font-weight: 600;
            color: #475569;
        }

        /* ===== Grid ===== */
        .agc-approval-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 18px;
        }

        /* ===== PDF Card ===== */
        .agc-pdf-card {
            background: #ffffff;
            border-radius: 14px;
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .agc-pdf-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 16px 35px rgba(0,0,0,0.12);
        }

        /* ===== PDF Preview ===== */
        .agc-pdf-preview {
            height: 620px;
            background: #e5e7eb;
        }

        .agc-pdf-preview iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        /* ===== PDF Info ===== */
        .agc-pdf-info {
            padding: 14px;
            text-align: center;
        }

        .agc-pdf-info h4 {
            font-size: 24px;
            color: #1f2937;
            margin-bottom: 10px;
        }

        .agc-pdf-info a {
            display: inline-block;
            padding: 6px 14px;
            font-size: 12px;
            font-weight: 600;
            color: #ffffff;
            background: linear-gradient(135deg, #1d4ed8, #2563eb);
            border-radius: 20px;
            text-decoration: none;
        }

        .agc-pdf-info a:hover {
            opacity: 0.9;
        }

        /* ===== Mobile Tweaks ===== */
        @media (max-width: 600px) {
            .agc-pdf-preview {
                height: 180px;
            }
            .agc-approval-header h2 {
                font-size: 18px;
            }
        }


        /* ===== Two Column Layout ===== */
        .agc-approval-layout {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr;
            gap: 24px;
            align-items: start;
        }

        /* Left (PDF) */
        .agc-approval-left {
            width: 100%;
        }

        /* Right (List) */
        .agc-approval-right {
            background: #ffffff;
            border-radius: 12px;
            padding: 16px 18px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
            max-height: 620px;
            overflow-y: auto;
        }

        /* List Styling */
        .agc-approval-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .agc-approval-list li {
            padding: 10px 0;
            border-bottom: 1px dashed #e5e7eb;
        }

        .agc-approval-list li:last-child {
            border-bottom: none;
        }

        .agc-approval-list a {
            font-size: 14px;
            font-weight: 600;
            color: #297bff;
            text-decoration: none;
        }

        .agc-approval-list a:hover {
            text-decoration: underline;
        }

        /* ===== Responsive ===== */
        @media (max-width: 992px) {
            .agc-approval-layout {
                grid-template-columns: 1fr;
            }
        }

/* ================================
 AGC Statutory Committees Layout
================================ */

.agc-sc-wrapper {
    display: flex;
    max-width: 1200px;
    margin: auto;
    gap: 25px;
    padding: 30px 15px;
}

/* Sidebar */
.agc-sc-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #7b0000, #a11212);
    border-radius: 14px;
    padding: 20px;
    position: sticky;
    top: 100px;
    height: fit-content;
}

/* Sidebar Title */
.agc-sc-sidebar-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: 0.3px;
}

/* Sidebar Nav */
.agc-sc-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agc-sc-nav li {
    margin-bottom: 10px;
}

.agc-sc-nav a {
    display: block;
    padding: 11px 14px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-radius: 9px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.agc-sc-nav a:hover {
    background: #ffffff;
    color: #7b0000;
    transform: translateX(4px);
}

/* Content Area */
.agc-sc-content {
    flex: 1;
}

/* Content Card */
.agc-sc-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* Responsive – Mobile & Small Screens */
@media (max-width: 991px) {

    .agc-sc-wrapper {
        flex-direction: column;
    }

    .agc-sc-sidebar {
        width: 100%;
        position: relative;
        top: unset;
    }
}
/* ================================
   Improved Sidebar Sub Dropdown
================================ */

/* Parent with submenu */
.agc-sc-has-sub {
    position: relative;
}

/* Arrow */
.agc-sc-arrow {
    float: right;
    font-size: 11px;
    transition: transform 0.3s ease;
    opacity: 0.9;
}

/* Rotate arrow on open */
.agc-sc-has-sub:hover .agc-sc-arrow {
    transform: rotate(180deg);
}

/* Submenu container */
.agc-sc-submenu {
    list-style: none;
    margin: 8px 0 0 0;
    padding: 10px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    display: none;
}

/* Show submenu */
.agc-sc-has-sub:hover .agc-sc-submenu {
    display: block;
}

/* Submenu items */
.agc-sc-submenu li {
    margin-bottom: 6px;
}

/* Submenu links */
.agc-sc-submenu a {
    display: block;
    padding: 9px 12px 9px 28px;
    font-size: 13px;
    border-radius: 8px;
    background: rgba(255,255,255,0.10);
    position: relative;
    transition: all 0.25s ease;
}

/* Small dot indicator */
.agc-sc-submenu a::before {
    content: "•";
    position: absolute;
    left: 14px;
    color: #ffd6d6;
    font-size: 16px;
    line-height: 1;
}

/* Hover effect */
.agc-sc-submenu a:hover {
    background: #ffffff;
    color: #7b0000;
    transform: translateX(3px);
}

/* Mobile-safe (same behavior) */
@media (max-width: 991px) {
    .agc-sc-has-sub:hover .agc-sc-submenu {
        display: block;
    }
}

/* ===============================
   AGC – SMALL HEADING UTILITY
   =============================== */

.agc-small-heading {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 16px 0 10px;
    position: relative;
    padding-left: 12px;
    line-height: 1.4;
}

.agc-small-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 4px;
    height: 100%;
    background: #7b0000;
    border-radius: 2px;
}

/* Mobile friendly */
@media (max-width: 768px) {
    .agc-small-heading {
        font-size: 14px;
        margin: 14px 0 8px;
    }
}

 .fancy-hr {
        border: 0;
        height: 1px;
        background: linear-gradient(to right, transparent, #a60000, transparent);
        margin: 40px 0; /* adds padding top and bottom */
        position: relative;
    }

    .agc-small.underline {
    padding-left: 0;
}

.agc-small.underline::before {
    display: none;
}

.agc-small.underline::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #7b0000;
    margin-top: 6px;
}

/* ===============================
   AGC – RESPONSIVE IMAGE ROW
   =============================== */

.agc-image-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.agc-image-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agc-image-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.agc-image-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* Tablet */
@media (max-width: 992px) {
    .agc-image-item img {
        height: 160px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .agc-image-row {
        gap: 12px;
    }

    .agc-image-item img {
        height: 150px;
    }
}
    /* ================================
   AGC Mentorship Action Buttons
   Fully Scoped – No Global Impact
================================ */

        .agc-mentor-action-wrap {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }

        /* ===== Button Base ===== */
        .agc-mentor-btn {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 18px 20px;
            background: #ffffff;
            border-radius: 14px;
            text-decoration: none;
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
            position: relative;
            overflow: hidden;
            transition: all 0.35s ease;
        }

        /* Hover Lift */
        .agc-mentor-btn:hover {
            transform: translateY(-6px);
            box-shadow: 0 14px 30px rgba(0,0,0,0.15);
            text-decoration: none;
        }

        /* ===== Icon ===== */
        .agc-mentor-icon {
            min-width: 52px;
            height: 52px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            color: #fff;
            transition: transform 0.4s ease;
        }

        .agc-mentor-btn:hover .agc-mentor-icon {
            transform: rotate(-6deg) scale(1.08);
            text-decoration: none;
        }

        /* ===== Text ===== */
        .agc-mentor-text strong {
            display: block;
            font-size: 16px;
            color: #1a237e;
            margin-bottom: 4px;
        }

        .agc-mentor-text small {
            font-size: 13px;
            color: #555;
        }

        /* ===== Button Variants ===== */
        .mentor-login .agc-mentor-icon {
            background: linear-gradient(135deg, #1a237e, #3949ab);
        }

        .mentee-login .agc-mentor-icon {
            background: linear-gradient(135deg, #00695c, #26a69a);
        }

        .booklet-btn .agc-mentor-icon {
            background: linear-gradient(135deg, #b71c1c, #e53935);
        }

        .screenshots-btn .agc-mentor-icon {
            background: linear-gradient(135deg, #4a148c, #8e24aa);
        }

        /* ===== Decorative Hover Line ===== */
        .agc-mentor-btn::after {
            content: "";
            position: absolute;
            inset: auto auto 0 0;
            width: 0%;
            height: 3px;
            background: linear-gradient(90deg, #1a237e, #e53935);
            transition: width 0.4s ease;
        }

        .agc-mentor-btn:hover::after {
            width: 100%;
        }

        /* ===== Mobile Adjustments ===== */
        @media (max-width: 480px) {
            .agc-mentor-btn {
                padding: 16px;
            }

            .agc-mentor-text strong {
                font-size: 15px;
            }
        }
        
        
    
        /* ===============================
   IQAC TABLE – SAFE SCOPED CSS
   =============================== */

.agc-iqac-table-wrap {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.agc-iqac-table-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}

.agc-iqac-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.agc-iqac-table th {
    background: #7b0000;
    color: #fff;
    padding: 10px;
    text-align: left;
    font-weight: 600;
}

.agc-iqac-table td {
    padding: 10px;
    vertical-align: top;
    border-bottom: 1px solid #e5e7eb;
    color: #334155;
}

.agc-iqac-table tr:hover {
    background: #f9fafb;
}

/* Responsive */
/* =====================================
   IQAC TABLE – MOBILE RESPONSIVE FIX
   ===================================== */

@media (max-width: 768px) {

    .agc-iqac-table,
    .agc-iqac-table thead,
    .agc-iqac-table tbody,
    .agc-iqac-table th,
    .agc-iqac-table td,
    .agc-iqac-table tr {
        display: block;
        width: 100%;
    }

    .agc-iqac-table thead {
        display: none;
    }

    .agc-iqac-table tr {
        background: #ffffff;
        margin-bottom: 14px;
        padding: 12px;
        border-radius: 10px;
        box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    }

    .agc-iqac-table td {
        border: none;
        padding: 6px 0;
        font-size: 14px;
    }

    .agc-iqac-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: #7b0000;
        margin-bottom: 2px;
        text-transform: uppercase;
    }
}

/* ===============================
   IQAC TABLE – SAFE SCOPED CSS
   =============================== */

.agc-iqac-table-wrap {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.agc-iqac-table-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}

.agc-iqac-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    border: 2px solid #334155; /* DARK OUTER BORDER */
}

.agc-iqac-table th {
    background: #7b0000;
    color: #ffffff;
    padding: 10px;
    text-align: left;
    font-weight: 600;
    border: 1px solid #334155; /* DARK HEADER BORDER */
}

.agc-iqac-table td {
    padding: 10px;
    vertical-align: top;
    border: 1px solid #475569; /* DARK CELL LINES */
    color: #334155;
}

.agc-iqac-table tr:hover {
    background: #f1f5f9;
}

/* =====================================
   IQAC TABLE – MOBILE RESPONSIVE FIX
   ===================================== */

@media (max-width: 768px) {

    .agc-iqac-table,
    .agc-iqac-table thead,
    .agc-iqac-table tbody,
    .agc-iqac-table th,
    .agc-iqac-table td,
    .agc-iqac-table tr {
        display: block;
        width: 100%;
    }

    .agc-iqac-table thead {
        display: none;
    }

    .agc-iqac-table tr {
        background: #ffffff;
        margin-bottom: 14px;
        padding: 12px;
        border-radius: 10px;
        border: 2px solid #334155; /* DARK CARD BORDER */
        box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    }

    .agc-iqac-table td {
        border: none;
        border-bottom: 1px solid #64748b; /* DARK SEPARATOR */
        padding: 8px 0;
        font-size: 14px;
    }

    .agc-iqac-table td:last-child {
        border-bottom: none;
    }

    .agc-iqac-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        font-weight: 700;
        color: #7b0000;
        margin-bottom: 2px;
        text-transform: uppercase;
    }
}

    
    
        /* Core table styling */
        .scroll-table {
            width: 100%;
            border-collapse: collapse;
            table-layout: fixed;
            font-family: inherit;
            border: 1px solid #979797; /* outer table border */
        }

        /* Header */
        .scroll-table th {
            background: linear-gradient(135deg, #7b0000, #a11212);
            color: #ffffff;
            padding: 12px;
            font-size: 14px;
            text-align: left;
            border: 1px solid #979797; /* header lines */
        }

        /* Cells */
        .scroll-table td {
            padding: 12px;
            font-size: 14px;
            line-height: 1.6;
            word-break: break-word;
            white-space: normal;
            border: 1px solid #979797; /* cell lines */
            vertical-align: top;
        }

        /* Zebra rows */
        .scroll-table tbody tr:nth-child(even) {
            background-color: #f8fafc;
        }

        /* Hover effect */
        .scroll-table tbody tr:hover {
            background-color: #eef2ff;
            transition: background-color 0.2s ease;
        }

        /* Wrapper */
        .scroll-table-wrap {
            width: 100%;
        }

        /* Enable scrolling ONLY on small screens */
        @media (max-width: 768px) {
            .scroll-table-wrap {
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
            }

            .scroll-table {
                min-width: 700px; /* forces horizontal scroll */
            }

            .scroll-table th,
            .scroll-table td {
                font-size: 13px;
                padding: 10px;
            }
        }
        
        /* ===============================
   AGC COMMON RESPONSIVE TABLE
   Safe to reuse anywhere
   =============================== */

.agc-smart-table-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    position: relative;
    scrollbar-width: thin;
}

/* Optional smooth drag */
.agc-smart-table-wrap {
    cursor: grab;
}
.agc-smart-table-wrap:active {
    cursor: grabbing;
}

/* ===== Table ===== */
.agc-smart-table {
    width: 100%;
    min-width: 800px;          /* controls compact width */
    border-collapse: collapse;
    table-layout: fixed;       /* IMPORTANT for wrapping */
}

/* ===== Header ===== */
.agc-smart-table thead th {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #ffffff;
    font-size: 13px;
    padding: 10px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 2;
    white-space: nowrap;
}

/* ===== Body Cells ===== */
.agc-smart-table tbody td {
    font-size: 13px;
    padding: 9px 10px;
    color: #1f2937;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: top;

    /* CONTENT CONTROL */
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Left align text-heavy columns */
.agc-smart-table tbody td.agc-text {
    text-align: left;
}

/* Center default */
.agc-smart-table tbody td {
    text-align: center;
}

/* Hover */
.agc-smart-table tbody tr:hover {
    background-color: #f1f5f9;
}

/* Strong first columns */
.agc-smart-table tbody td:first-child {
    font-weight: 600;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .agc-smart-table {
        min-width: 720px;
    }

    .agc-smart-table thead th,
    .agc-smart-table tbody td {
        font-size: 12px;
        padding: 8px;
    }
}


.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-weight: 500;
    color: #444;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.pdf-link i {
    color: #d32f2f; /* PDF red */
    font-size: 14px;
}

.pdf-link:hover {
    background-color: #f5f5f5;
    color: #000;
    text-decoration: none;
}

.pdf-link:hover i {
    color: #b71c1c;
}

