/* ==========================================================
   Academics > List of Students (builds on quality-portal.css tabs/tables)
   All classes prefixed "sl-"
   ========================================================== */

.sl-panel {
    background: transparent;
    border: none;
    padding: 0;
}

/* ---------- Intake & downloads ---------- */
.sl-action-bar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}

.sl-intake-pill {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 999px;
}

.sl-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sl-btn-lg {
    padding: 10px 18px;
    font-size: 14px;
}

/* ---------- Section headings & cards ---------- */
.sl-panel .sl-heading {
    display: flex;
    align-items: center;
    color: var(--secondary);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
}

.sl-bar {
    width: 6px;
    height: 24px;
    background: var(--primary);
    border-radius: 3px;
    margin-right: 12px;
}

.sl-bar-accent {
    background: #d4a017;
}

.sl-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
}

.sl-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.sl-card > .sl-card-note {
    padding: 16px 20px;
    margin: 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.sl-card-note {
    color: #475569;
    font-size: 14px;
}

/* ---------- Tables ---------- */
.sl-table thead th {
    background: rgba(46, 88, 56, .08);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 13px;
}

.sl-table tbody tr:hover {
    background: #f8fafc;
}

.sl-total-cell {
    font-weight: 700;
    color: var(--primary);
    background: #fafbfc;
}

.sl-table tfoot td {
    background: #f1f5f9;
    font-weight: 700;
    color: #1e293b;
    border-top: 2px solid #e2e8f0;
    padding: 12px 18px;
    font-size: 14px;
}

.sl-table tfoot .sl-grand-total {
    color: var(--primary);
    font-size: 17px;
}

/* ---------- Search ---------- */
.sl-search {
    position: relative;
    width: 100%;
    max-width: 300px;
}

.sl-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.sl-search-input {
    width: 100%;
    padding: 8px 12px 8px 36px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
}

.sl-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(46, 88, 56, .15);
}

.sl-no-results {
    padding: 36px 20px;
    text-align: center;
    color: #64748b;
}

.sl-no-results i {
    display: block;
    font-size: 2rem;
    color: #cbd5e1;
    margin-bottom: 8px;
}

/* ---------- Quota badges ---------- */
.sl-quota {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: #e2e8f0;
    color: #334155;
    white-space: nowrap;
}

.sl-quota-state {
    background: #dcfce7;
    color: #166534;
}

.sl-quota-management {
    background: #f3e8ff;
    color: #6b21a8;
}

.sl-quota-india {
    background: #dbeafe;
    color: #1e40af;
}

.sl-quota-nri {
    background: #fef3c7;
    color: #92400e;
}

/* ---------- Misc ---------- */
.sl-panel .sl-empty-title {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.sl-disclaimer {
    margin: 10px 0 0;
    padding: 14px 18px;
    background: #fff;
    border-left: 3px solid var(--primary);
    border-radius: 0 6px 6px 0;
    color: #64748b;
    font-size: 13px;
}

@media (max-width: 575px) {
    .sl-action-bar,
    .sl-card-head {
        padding: 14px;
    }

    .sl-search {
        max-width: none;
    }

    .sl-panel .sl-heading {
        font-size: 19px;
    }
}
