/* Custom Styles for Pendidikan Page */

/* Akreditasi Table Styles */
.table-akreditasi {
    font-size: 0.9rem;
}

.table-akreditasi thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    padding: 0.75rem 0.5rem;
}

.table-akreditasi tbody td {
    padding: 0.6rem 0.5rem;
    vertical-align: middle;
}

.table-akreditasi tbody tr:hover {
    background-color: #f8f9fa;
}

/* Badge Akreditasi */
.badge-akreditasi {
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
    font-weight: 600;
    min-width: 35px;
    display: inline-block;
}

/* Akreditasi Colors */
.badge.bg-success {
    background-color: #28a745 !important;
}

.badge.bg-info {
    background-color: #17a2b8 !important;
}

.badge.bg-warning {
    background-color: #ffc107 !important;
}

/* Card Header Enhancement */
.card-header h4.card-title {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Responsive Table */
@media (max-width: 768px) {
    .table-akreditasi {
        font-size: 0.85rem;
    }

    .table-akreditasi thead th,
    .table-akreditasi tbody td {
        padding: 0.5rem 0.3rem;
    }

    .badge-akreditasi {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Chart Container Enhancement */
.chart-container {
    position: relative;
    min-height: 400px;
}

/* Loading State */
.chart-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.chart-loading .spinner-border {
    width: 3rem;
    height: 3rem;
}


/* IPK Table Styles */
.table-ipk {
    font-size: 0.9rem;
}

.table-ipk thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
    padding: 0.75rem 0.5rem;
}

.table-ipk tbody td {
    padding: 0.6rem 0.5rem;
    vertical-align: middle;
}

.table-ipk tbody tr:hover {
    background-color: #f8f9fa;
}

.table-ipk .badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.65rem;
    font-weight: 600;
    min-width: 45px;
}
