/* Custom Styles complementing Tailwind for Academic Theme */
/* Google Fonts - Plus Jakarta Sans & Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

body {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
}

/* Custom Scrollbar for better appearance */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    /* brand-100 */
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    /* brand-300 */
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
    /* brand-400 */
}

/* Subtle transitions */
.transition-all-ease {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sidebar active link styling for Light Theme */
.sidebar {
    border-right: 1px solid #e2e8f0;
}

.menu-active {
    background: rgba(30, 64, 175, 0.04);
    /* Lebih subtle (opacity 0.04) */
    border-left: 4px solid #1e40af;
    /* Indicator line lebih tegas (4px instead of 3px) */
    border-right: 1px solid #e2e8f0;
    /* Border kanan tipis */
    color: #1e40af;
    font-weight: 600;
}

/* Card Styling - Academic & Official */
.stat-card {
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    border-color: #cbd5e1;
    /* brand-300 */
}

/* Custom Typography */
.stat-number {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.section {
    margin-top: 40px;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-left: 14px;
    border-left: 4px solid #1e40af;
    /* official-800 */
    line-height: 1.2;
}

.detail-link {
    font-size: 13px;
    font-weight: 500;
    color: #1d4ed8;
    /* official-700 */
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
}

.detail-link:hover {
    color: #1e40af;
    /* official-800 */
    text-decoration: underline;
}

.detail-link i {
    transition: transform 0.2s ease;
}

.detail-link:hover i {
    transform: translateX(3px);
}

.academic-badge {
    color: #b45309;
    /* Gold accent */
    font-weight: 500;
}

/* Header Styling */
.header {
    background: linear-gradient(to right, #ffffff, #f8fafc);
    border-bottom: 1px solid #e2e8f0;
}

/* DataTable Custom Styles for Professional Look */
.table-container {
    overflow-x: auto;
    border-radius: 0.375rem;
    /* rounded-md */
    border: 1px solid #e2e8f0;
    /* brand-200 */
    background: #ffffff;
}

table.dataTable {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    text-align: left;
}

table.dataTable thead {
    background-color: #f8fafc;
    /* brand-50 */
}

table.dataTable th {
    border-bottom: 2px solid #e2e8f0;
    /* brand-200 */
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    /* brand-600 */
    padding: 0.875rem 1.25rem;
    white-space: nowrap;
}

table.dataTable td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    /* brand-100 */
    color: #1e293b;
    /* brand-800 */
    font-size: 0.875rem;
    vertical-align: middle;
}

table.dataTable tbody tr:hover {
    background-color: #f8fafc;
    /* brand-50 */
}

table.dataTable tbody tr:last-child td {
    border-bottom: none;
}

/* Pagination styling */
.pagination {
    display: inline-flex;
    border-radius: 0.375rem;
    /* rounded-md */
    border: 1px solid #e2e8f0;
    /* brand-200 */
    overflow: hidden;
}

.pagination-item {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
    /* brand-600 */
    border-right: 1px solid #e2e8f0;
    /* brand-200 */
    cursor: pointer;
    background-color: #ffffff;
    transition: background-color 0.2s;
}

.pagination-item:last-child {
    border-right: none;
}

.pagination-item:hover {
    background-color: #f1f5f9;
    /* brand-100 */
}

.pagination-item.active {
    background-color: #eff6ff;
    /* official-50 */
    color: #1e40af;
    /* official-800 */
    font-weight: 600;
}