.txt-blue {
    color: #1D4ED8;
}


.txt-green {
    color: #059669;
}

.txt-voilet {
    color: #7C3AED;
}


/* Header */
.uni-header {
    border-radius: 15px;
    background: linear-gradient(120deg, #0F172A 7.74%, #1E3A5F 50%, #05284E 92.26%);
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.uni-header {
    border-radius: 15px;
    background: linear-gradient(120deg, #0F172A 7.74%, #1E3A5F 50%, #05284E 92.26%);
    padding: 25px 20px;
}

.uni-header .uni-logo {
    border-radius: 14px;
    background: linear-gradient(135deg, #155DFC 0%, #51A2FF 100%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.uni-header .uni-logo i {
    color: #fff;
    font-size: 20px;
}

.uni-header .uni-name {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.uni-header .unicard-location {
    color: #FFFFFF66;
    font-size: 14px;
}



.btn-unicard {
    border-radius: 999px;
    background: linear-gradient(135deg, #155DFC 0%, #51A2FF 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.btn-unicard:hover {
    background: #1d4ed8;
    color: #fff;
}

.unicard-explore {
    color: #fff;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.btn-explore:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
}

/* Body */

.icon-bg {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, #155DFC 0%, #51A2FF 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.uni-body {
    padding: 28px 28px 24px 28px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
}

/* .uni-info {
    flex: 1 1 0;
    min-width: 0;
} */

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff7ed;
    color: #D97706;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 15px;
    margin-bottom: 14px;
    border-radius: 50px;
    border: 1px solid rgba(245, 158, 11, 0.25);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(245, 158, 11, 0.06) 100%);
}


.uni-desc {
    color: #334155;
    font-size: 14px;
    font-weight: 400;
}

.uni-desc strong {
    font-weight: 700;
    color: #111827;
}

.uni-stats {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.unicard-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.80);
    color: #64748B;
    font-size: 11px;
    font-weight: 400;
    /* 150% */
}

.unicard-stat-item .stat-value {
    color: #0F172A;
    font-size: 14px;
    font-weight: 800;
}




/* Right: metric cards grid */
.uni-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    flex-shrink: 0;
}

.metric-card {
    border-radius: 18px;
    border: 1px solid rgba(37, 99, 235, 0.12);
    background: #FFF;
    box-shadow: 0 4px 20px 0 rgba(37, 99, 235, 0.25);
    padding: 16px 18px 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.metric-card .metric-icon {

    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}



.metric-card .metric-icon i {
    font-size: 17px;
}

.metric-card .metric-label {
    color: #64748B;
    font-size: 12px;
    font-weight: 600;
}

.metric-card .metric-value {
    font-size: 22px;
    font-weight: 800;
    margin: 2px 0;
}

.metric-card .metric-value.blue {
    color: #2563eb;
}

.metric-card .metric-value.green {
    color: #059669;
}

.metric-card .metric-value.amber {
    color: #7C3AED;
}

.metric-card .metric-value.teal {
    color: #FB923C;
}

.metric-card .metric-sub {
    color: #94A3B8;
    font-size: 11px;
    font-weight: 400;
    /* 145% */
}

/* Top badge */


/* Section heading */

/* Main card */
.advantage-card {
    border-radius: 0 20px 20px 0;
    background: linear-gradient(135deg, #EFF6FF 0%, #F0F4FF 50%, #F5F3FF 100%), #FFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
    /* max-width: 860px; */
    margin: auto;
    display: flex;
    /* min-height: 400px; */
}

/* Left image panel */
.img-panel {
    position: relative;
    background-image: url('/static/unicard/rank/indian-img.jpg');
    height: 100%;
    width: 100%;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
}

/* .img-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
} */

/* #21 badge */
.badge-rank {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 8px 14px;

    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.60);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px 0 rgba(15, 23, 42, 0.18);
}

.badge-rank .rank-num {
    color: #2563EB;
    font-size: 20px;
    font-weight: 800;
}

.badge-rank .rank-label {
    color: #64748B;
    font-size: 10px;
    font-weight: 500;
    margin-top: 3px;
}

/* ~6.5K badge */

.stat-block {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.70);
    background: rgba(255, 255, 255, 0.55);
    padding: 15px 25px;
}

.stat-block-desc {
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.60);
    padding: 15px 25px;
}

.badge-students {
    position: absolute;
    bottom: 14px;
    right: 14px;
    padding: 8px 14px;

    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.60);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px 0 rgba(15, 23, 42, 0.18);
}

.badge-students .students-num {
    color: #FB923C;
    font-size: 20px;
    font-weight: 800;
}

.badge-students .students-label {
    font-size: 0.7rem;
    color: #6b7280;
    margin-top: 3px;
}

/* Right content panel */
.content-panel {
    flex: 1;
    /* padding: 26px 28px 26px 28px; */
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #eef2f9;
}

/* Top stats row */
.stats-row {
    display: flex;
    gap: 36px;
    margin-bottom: 18px;
}

.stat-block .stat-uni-label {
    color: #94A3B8;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}



.stat-block .stat-blue {
    color: #2563EB;
    font-size: 28px;
    font-weight: 800;
}

.stat-block .stat-orange {
    color: #FB923C;
    font-size: 28px;
    font-weight: 800;
}

/* Description text */
.desc-text {
    color: #4A5565;
    font-size: 15px;
    font-weight: 400;
    line-height: 26px;
    /* 173.333% */
}

/* ── Top Header ── */
.guide-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.guide-header .title-block h1 {
    color: #0F172A;
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 4px;
}

.guide-header .title-block p {
    color: #64748B;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

.header-stats {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.hstat {
    border-radius: 10px;
    padding: 15px 20px;
    text-align: center;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.75);
}

.hstat .hstat-val {
    font-size: 18px;
    font-weight: 800;
}

.hstat .hstat-label {
    color: #94A3B8;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.7px;
    margin-top: 4px;
}

/* ── Accordion wrapper ── */


.study-accordion .accordion-item {
    border: none !important;
    overflow: hidden;
    margin-bottom: 20px !important;
    border-bottom: 1px solid rgba(37, 99, 235, 0.18);
    background: linear-gradient(100deg, #EFF6FF 6.17%, #FFF 93.83%) !important;
}

/* ── Accordion Button (header) ── */
.study-accordion .accordion-button {
    border-radius: 16px !important;
    padding: 16px 20px;
    box-shadow: none !important;
    border-left: 4px solid #2563eb !important;
}

.study-accordion .accordion-button:not(.collapsed) {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    background: linear-gradient(100deg, #EFF6FF 6.17%, #FFF 93.83%) !important;
}

.study-accordion .accordion-button::after {
    display: none;
}

.acc-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.acc-title-group {
    display: flex;
    align-items: center;
    gap: 14px;
}

.acc-icon-box {
    background: #2563eb;
    border-radius: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.acc-icon-box i {
    color: #fff;
    font-size: 17px;
}

.acc-title {
    color: #0F172A;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.acc-subtitle {
    color: #1D4ED8;
    font-size: 12px;
    font-weight: 500;
    /* 150% */
    margin: 0;
}

.acc-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.details-badge {
    background: rgba(37, 99, 235, 0.12);
    border-radius: 50px;
    color: #1D4ED8;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 15px;
}

.toggle-btn {
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.12);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
    transition: transform 0.2s;
}

.study-accordion .accordion-button:not(.collapsed) .toggle-btn {
    transform: rotate(180deg);
}

/* #programAccordion .accordion-button:not(.collapsed) .chevron-btn {
    transform: rotate(180deg);
} */


/* ── Accordion Body ── */
.study-accordion .accordion-body {
    padding: 20px;
    border-top: 1px solid #cccccc36;
}

/* ── Info Cards Grid ── */
/* .info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.info-grid-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
} */

.info-card {
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 2px 12px 0 rgba(15, 23, 42, 0.04);
    padding: 14px 16px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-card.highlight-green {
    border-radius: 16px;
    border: 1px solid rgba(5, 150, 105, 0.18);
    background: linear-gradient(140deg, rgba(5, 150, 105, 0.09) 3.67%, rgba(16, 185, 129, 0.13) 96.33%);

}

.info-card.highlight-blue {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.info-card .ic-label {
    color: #94A3B8;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.info-card .ic-label i {
    font-size: 0.75rem;
}

.info-card .ic-label.green {
    color: #059669;
}

.info-card .ic-label.blue {
    color: #2563eb;
}

.info-card .ic-value {
    color: #1E293B;
    font-size: 14px;
    font-weight: 600;
}

.info-card .ic-value.big-green {
    font-size: 24px;
    font-weight: 800;
    color: #059669;
}

.info-card .ic-value.big-blue {
    font-size: 24px;
    font-weight: 800;
    color: #1D4ED8;
}

/* ── Panel Card ── */
.panel-card {
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: #FFF;
    box-shadow: 0 4px 24px 0 rgba(15, 23, 42, 0.05);
}

/* ── Panel Header ── */
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    border-radius: 16px 16px 0 0;
}

.panel-header.green-header {
    background: #f0fdf4;
    border-bottom: 1.5px solid #bbf7d0;
}

.panel-header.orange-header {
    background: #fff7ed;
    border-bottom: 1.5px solid #fed7aa;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-icon {
    border-radius: 10px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-icon.green {
    border: 1px solid rgba(22, 163, 74, 0.16);
    background: rgba(22, 163, 74, 0.08);
}

.header-icon.orange {
    border: 1px solid rgba(217, 119, 6, 0.16);
    background: rgba(217, 119, 6, 0.08);
}

.header-icon i {
    font-size: 16px;
}

.header-icon.green i {
    color: #16a34a;
}

.header-icon.orange i {
    color: #ea580c;
}

.panel-title h6 {
    color: #16A34A;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
}

.panel-title h6.green {
    color: #16A34A;
}

.panel-title h6.orange {
    color: #D97706;
}

.points-badge {
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    padding: 4px 14px;
}

.points-badge.green {
    border: 1px solid rgba(22, 163, 74, 0.16);
    background: rgba(255, 255, 255, 0.80);
    color: #16A34A;
}

.points-badge.orange {
    border: 1px solid rgba(217, 119, 6, 0.16);
    background: rgba(255, 255, 255, 0.80);
    color: #D97706;
}

/* ── Panel Body ── */
.panel-body {
    padding: 6px 0;
}

/* ── List Item ── */
.list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 22px;
    border-bottom: 1.5px solid #f3f4f6;
}

.list-item:last-child {
    border-bottom: none;
}

.item-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.12);
}

.item-icon i {
    color: #fff;
    font-size: 19px;
}

/* Green shades */
.icon-green-dark {
    background: linear-gradient(135deg, #34D399 0%, #059669 100%);
}

.icon-blue-mid {
    background: linear-gradient(135deg, #60A5FA 0%, #2563EB 100%);

}

.icon-purple {
    background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
}

.icon-green-teal {
    background: linear-gradient(135deg, #34D399 0%, #059669 100%);
}

.icon-blue-light {
    background: linear-gradient(135deg, #60A5FA 0%, #2563EB 100%);
}

/* Orange/red shades */
.icon-orange-dark {
    background: linear-gradient(135deg, #FCD34D 0%, #D97706 100%);
}

.icon-red {
    background: linear-gradient(135deg, #FCA5A5 0%, #DC2626 100%);
}

.icon-amber {
    background: linear-gradient(135deg, #FCD34D 0%, #D97706 100%);
}

.item-text .item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 3px;
}

.item-text .item-desc {
    font-size: 0.82rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}



.browse-card {
    border-radius: 24px;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A5F 55%, #1D1B4B 100%);
    box-shadow: 0 16px 48px 0 rgba(15, 23, 42, 0.20);
    padding: 25px 20px;
}

.browse-card h2 {
    font-weight: 700;
    font-size: 1.35rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}

/* Programs Available Badge */
.badge-programs {
    border-radius: 50px;
    border: 1px solid rgba(37, 99, 235, 0.35);
    background: rgba(37, 99, 235, 0.20);
    color: #60A5FA;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 15px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

/* Search Input */
.search-wrapper {
    position: relative;
}

.search-wrapper .bi-search {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 0.95rem;
}

.search-input {
    color: #cbd5e1;
    padding: 0.6rem 1rem 0.6rem 2.6rem;
    font-size: 0.9rem;
    width: 100%;
    transition: border-color 0.2s, background 0.2s;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.search-input::placeholder {
    color: #64748b;
}

.search-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(99, 179, 237, 0.35);
    color: #e2e8f0;
    box-shadow: none;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.cat-btn {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    border-radius: 50px;
    padding: 0.38rem 1.05rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    white-space: nowrap;
}

.cat-btn:hover {
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
}

.cat-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
    font-weight: 600;
}

/* Filter Chips */
.filter-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-chip {
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.50);
    font-size: 12px;
    font-weight: 500;
    padding: 0.3rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
}

.filter-chip:hover {
    background: rgba(255, 255, 255, 0.11);
    color: #e2e8f0;
}

.filter-chip i {
    font-size: 0.8rem;
}

/* Showing count */
.showing-text {
    color: #64748b;
    font-size: 0.82rem;
    white-space: nowrap;
    text-align: right;
}

.showing-text strong {
    color: #e2e8f0;
    font-weight: 600;
}

/* Divider row */
.row-divider {
    margin-top: 20px;
}

/* ── Accordion Override ── */
#programAccordion .accordion {
    width: 100%;
    max-width: 860px;
}

#programAccordionAjax .accordion {
    width: 100%;
    max-width: 860px;
}

#programAccordion .accordion-item {
    background: #ffffff;
    border: 1px solid #2563EB !important;
    border-radius: 24px !important;
    overflow: hidden;
    border-left-width: 4px !important;
}

#programAccordionAjax .accordion-item {
    background: #ffffff;
    border: 1px solid #2563EB !important;
    border-radius: 24px !important;
    overflow: hidden;
    border-left-width: 4px !important;
}

/* ── Accordion Button (Header) ── */
#programAccordion .accordion-button {
    background: #ffffff !important;
    padding-top: 20px;
    padding-bottom: 0;
    /* border-bottom: 1px solid #e8edf5; */
    /* box-shadow: none !important; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap: 0.75rem; */
    flex-wrap: wrap;
    padding-left: 0;
    padding-right: 0;
}

#programAccordionAjax .accordion-button {
    background: #ffffff !important;
    padding-top: 20px;
    padding-bottom: 0;
    /* border-bottom: 1px solid #e8edf5; */
    /* box-shadow: none !important; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* gap: 0.75rem; */
    flex-wrap: wrap;
    padding-left: 0;
    padding-right: 0;
}


#programAccordion .accordion-button::after {
    display: none;
}

#programAccordionAjax .accordion-button::after {
    display: none;
}

/* hide default arrow */

#programAccordion .accordion-button:not(.collapsed) {
    color: inherit;
    background: #ffffff !important;
    box-shadow: none;
}

#programAccordionAjax .accordion-button:not(.collapsed) {
    color: inherit;
    background: #ffffff !important;
    box-shadow: none;
}

.prog-icon {
    width: 36px;
    height: 36px;

    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1rem;
    flex-shrink: 0;
}

.prog-blue {
    color: #3b6fd4;
    border: 1px solid rgba(37, 99, 235, 0.19);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.13) 0%, rgba(37, 99, 235, 0.06) 100%);
}

.prog-voilet {
    color: #7C3AED;
    border: 1px solid rgba(124, 58, 237, 0.19);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.13) 0%, rgba(124, 58, 237, 0.06) 100%);
}

.prog-green {
    color: #0D9488;
    border: 1px solid rgba(13, 148, 136, 0.19);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.13) 0%, rgba(13, 148, 136, 0.06) 100%);
}


.prog-pink {
    color: #EC4899;
    border: 1px solid rgba(236, 72, 153, 0.19);
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.13) 0%, rgba(236, 72, 153, 0.06) 100%);
}

.prog-title {
    color: #0F172A;
    font-size: 16px;
    font-weight: 700;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.prog-title-link {
    cursor: pointer;
    text-decoration: none !important;
    border-bottom: none !important;
}

.prog-title-link:hover,
.prog-title-link:focus {
    text-decoration: none !important;
    border-bottom: none !important;
}

.header-badges {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-left: auto;
}

.badge-main {

    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 15px;
    border-radius: 8px;
}

.badge-blue {
    background-color: #2563EB;
}

.badge-voilet {
    background-color: #7C3AED;
}

.badge-green {
    background-color: #0D9488;
}

.badge-pink {
    background-color: #EC4899;
}

.badge-outline {
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #F1F5F9;
    color: #64748B;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 15px;
}

.chevron-btn {
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #F1F5F9;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 14px;
    transition: transform 0.2s;
}


#programAccordion .accordion-button.collapsed .chevron-btn {
    transform: rotate(180deg);
}

#programAccordionAjax .accordion-button.collapsed .chevron-btn {
    transform: rotate(180deg);
}

/* ── Accordion Body ── */
#programAccordion .accordion-body {
    padding: 0;
    background: rgba(37, 99, 235, 0.02);
    padding-top: 20px;
}

#programAccordionAjax .accordion-body {
    padding: 0;
    background: rgba(37, 99, 235, 0.02);
    padding-top: 20px;
}

/* ── Stats Row ── */
.stats-row-accordian {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #e8edf5;
    border-bottom: 1px solid #e8edf5;
    width: 100%;
}

.stat-cell {
    padding: 1rem 1.25rem;
    border-right: 1px solid #e8edf5;
}

.stat-cell:last-child {
    border-right: none;
}

.stat-label {
    color: #94A3B8;
    font-family: Inter;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 15px;
    /* 150% */
    letter-spacing: 0.7px;
    text-transform: uppercase;

    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.stat-value2 {
    color: #2563EB;
    font-size: 18px;
    font-weight: 800;
}

.stat-sub {
    color: #94A3B8;
    font-size: 11px;
    font-weight: 400;
    margin-top: 4px;
    /* 150% */
}

.val-blue {
    color: #2563eb;
}

.val-green {
    color: #16a34a;
}

.val-orange {
    color: #D97706;
}

.bg-orange {
    background-color: #D97706;
}


.badge-selectivity {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    display: inline-block;
    border-radius: 8px;
}

.badge-high {
    border: 1px solid rgba(217, 119, 6, 0.20);
    background: rgba(217, 119, 6, 0.08);
    color: #D97706;
}

.badge-elite {
    color: #DC2626;
    border: 1px solid rgba(220, 38, 38, 0.20);
    background: rgba(220, 38, 38, 0.08);
}

.badge-moderate {
    color: #16A34A;
    border: 1px solid rgba(22, 163, 74, 0.20);
    background: rgba(22, 163, 74, 0.08);
}

.val-red {
    color: #DC2626;
}

.progress {
    height: 5px;
}

/* ── Inner Tabs ── */
.tabs-row {
    display: flex;
    border-bottom: 1px solid #e8edf5;
    padding: 0 20px;
    flex-wrap: wrap;
}

.tab-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 14px;
    font-weight: 500;
    color: #637EA4;
    padding: 10px 15px;
    /* border-bottom: 2.5px solid transparent; */
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s;
    text-decoration: none;
    border-radius: 10px 10px 0 0;
    border-top: 2px solid rgba(0, 0, 0, 0.10);
    background: #FFF;
    margin-right: 10px;
}

.tab-item i {
    font-size: 0.8rem;
}

.tab-item.active {
    color: #2563eb;
    /* border-bottom-color: #2563eb; */
    font-weight: 700;
    border-radius: 10px 10px 0 0;
    border-top: 2px solid #2563EB;
    background: #FFF;
    box-shadow: 0 -2px 8px 0 rgba(15, 23, 42, 0.04);
}

.tab-item:hover:not(.active) {
    color: #1e3a8a;
}

/* ── Financial Grid ── */
.tab-content-panel {
    padding: 25px 20px;
}

.fin-item {
    padding: 0;
    margin-bottom: 20px;
}

.fin-label {
    color: #94A3B8;
    font-size: 10px;
    font-weight: 600;
    /* 150% */
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}

.fin-value {
    color: #0F172A;
    font-size: 14px;
    font-weight: 600;
    font-weight: 700;
}

.fin-item:nth-child(1),
.fin-item:nth-child(2) {
    border-bottom: 1px solid rgba(148, 163, 184, 0.10);
    padding-bottom: 1rem;
}

.fin-item:nth-child(3),
.fin-item:nth-child(4) {
    padding-top: 1rem;
}

.unicard-banner {
    margin-top: 0 !important;
    height: 75vh !important;
}

.uns-unicard-tab .nav-link.active,
.uns-unicard-tab .show>.nav-link {

    background: linear-gradient(135deg, #155DFC 0%, #51A2FF 100%);
}

.uns-unicard-tab .nav-link {
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 15px;
}

.uns-unicard-tab .nav-link svg {
    margin-right: 5px;
}

.form-select {
    background: rgba(255, 255, 255, 0.07);
    color: #cbd5e1;
    border-radius: 50px;
    padding: 0.38rem 1.05rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%232596be' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px 10px;
    /* width height */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.form-select:disabled {
    background-color: #e9ecef;
    border: 1px solid rgba(37, 99, 235, 0.35);
    background: rgba(37, 99, 235, 0.20);
}



.form-select option {
    background-color: #f2f2f2;
    color: #333;
}

.form-select option:checked {
    background-color: linear-gradient(135deg, #0F172A 0%, #1E3A5F 55%, #1D1B4B 100%);
    color: #fff;
}

/* =================================================
   RESPONSIVE FIXES (DO NOT AFFECT DESKTOP)
================================================= */

/* Tablet */
@media (max-width: 991px) {

    .uni-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .uni-header-right {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .btn-unicard,
    .unicard-explore {
        width: 100%;
        justify-content: center;
    }

    .stats-wrapper .row>div {
        margin-bottom: 15px;
    }

    .unicard-banner {
        margin-top: 0 !important;
        height: auto !important;
        padding-top: 35px;
    }

    .stats-wrapper {
        margin-top: -40px !important;
    }

    .category-tabs,
    .filter-chips {
        justify-content: center;
    }

    .showing-text {
        text-align: center;
    }

}


/* Mobile */
@media (max-width: 768px) {

    .uni-header {
        padding: 16px;
    }

    .uni-header .uni-name {
        font-size: 18px;
    }

    .unicard-location {
        font-size: 13px;
    }

    .icon-bg {
        width: 38px;
        height: 38px;
    }

    .info-card {
        padding: 14px;
    }

    .info-card .ic-value {
        font-size: 14px;
    }

    .info-card .ic-label {
        font-size: 12px;
    }

    .metric-card .metric-value {
        font-size: 14px;
    }

    .header-stats {
        gap: 2px;
        flex-shrink: unset;
    }

    .acc-header-inner {
        flex-direction: column;
        gap: 10px;
        align-items: start;
    }

    .stats-row-accordian {
        grid-template-columns: repeat(1, 1fr);
    }

    .stat-cell {
        border-right: 0;
        border-bottom: 1px solid #e8edf5;
    }

    .tab-item {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .tabs-row {
        display: grid;
    }

}


/* Small Mobile */
@media (max-width: 576px) {

    .uni-header {
        text-align: left;
    }

    .uni-header .uni-logo {
        width: 44px;
        height: 44px;
    }

    .btn-unicard,
    .unicard-explore {
        padding: 9px 14px;
        font-size: 13px;
    }

    .stats-wrapper {
        margin-top: 10px;
    }

}
