.pendidikan-detail {
    padding: 45px 0 70px;
    background: #f8fafc;
}

.pendidikan-detail-header {
    margin-bottom: 30px;
}

.pendidikan-detail-header .badge-jenjang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 30px;
    background: rgba(139, 0, 0, .08);
    color: #8b0000;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.pendidikan-detail-header h1 {
    margin: 12px 0 8px;
    color: #1f2937;
    font-size: 30px;
    font-weight: 800;
}

.pendidikan-detail-header p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
}

/* =========================================================
   SECTION
========================================================= */
.data-section {
    margin-bottom: 35px;
}

.data-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.data-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.data-section-title .section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(139, 0, 0, .08);
    color: #8b0000;
    font-size: 17px;
}

.data-section-title h2 {
    margin: 0;
    color: #1f2937;
    font-size: 20px;
    font-weight: 750;
}

.data-total {
    padding: 6px 12px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #64748b;
    font-size: 12px;
}

/* =========================================================
   DATA + CHART
========================================================= */
.data-chart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: stretch;
}

.data-card,
.chart-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 3px 15px rgba(15, 23, 42, .04);
}

/* =========================================================
   TABLE
========================================================= */
.data-card {
    min-width: 0;
    padding: 18px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100% !important;
    margin: 0 !important;
    font-size: 12px;
    white-space: nowrap;
}

.data-table thead th {
    padding: 11px 10px !important;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb !important;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.data-table tbody td {
    padding: 10px !important;
    color: #475569;
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: #fafafa;
}

.data-table .nama {
    color: #1f2937;
    font-weight: 600;
}

/* =========================================================
   BADGE
========================================================= */
.badge-jk {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    font-size: 10px;
    font-weight: 700;
}

.badge-status {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f8fafc;
    color: #475569;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

/* =========================================================
   CHART
========================================================= */
.chart-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.chart-card-header {
    margin-bottom: 12px;
}

.chart-card-header h3 {
    margin: 0 0 4px;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
}

.chart-card-header p {
    margin: 0;
    color: #94a3b8;
    font-size: 11px;
}

.chart-container {
    position: relative;
    width: 100%;
    height: 220px;
    margin: auto;
}

.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 10px;
}

.chart-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 11px;
}

.chart-legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.chart-stat {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    color: #64748b;
    font-size: 11px;
}

.chart-stat strong {
    color: #1f2937;
    font-size: 15px;
}

/* =========================================================
   DATATABLES
========================================================= */
.dataTables_wrapper {
    font-size: 12px;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
    margin-bottom: 12px;
}

.dataTables_wrapper .dataTables_length label,
.dataTables_wrapper .dataTables_filter label {
    color: #64748b;
    font-size: 11px;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    height: 34px;
    padding: 5px 9px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    outline: none;
    background: #fff;
    color: #475569;
    font-size: 11px;
}

.dataTables_wrapper .dataTables_filter input {
    margin-left: 6px;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 10px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    min-width: 30px;
    padding: 5px 9px !important;
    border: 0 !important;
    border-radius: 6px !important;
    color: #64748b !important;
    font-size: 11px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #8b0000 !important;
    color: #fff !important;
}

.dataTables_wrapper .dataTables_info {
    padding-top: 13px;
    color: #94a3b8;
    font-size: 10px;
}

/* =========================================================
   EMPTY
========================================================= */
.data-empty {
    padding: 35px 20px;
    text-align: center;
    color: #94a3b8;
}

.data-empty i {
    display: block;
    margin-bottom: 8px;
    font-size: 30px;
}

.data-empty span {
    font-size: 12px;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media(max-width:991.98px) {
    .data-chart-layout {
        grid-template-columns: 1fr;
    }

    .chart-card {
        min-height: 320px;
    }

    .chart-container {
        height: 230px;
        max-width: 300px;
    }
}

@media(max-width:767.98px) {
    .pendidikan-detail {
        padding: 30px 0 50px;
    }

    .pendidikan-detail-header h1 {
        font-size: 24px;
    }

    .pendidikan-detail-header p {
        font-size: 12px;
    }

    .data-section-header {
        align-items: flex-start;
    }

    .data-section-title h2 {
        font-size: 17px;
    }

    .data-section-title .section-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .data-card {
        padding: 12px;
    }

    .chart-card {
        padding: 18px;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        width: 100%;
        float: none !important;
        text-align: left !important;
    }

    .dataTables_wrapper .dataTables_filter {
        margin-top: 8px;
    }

    .dataTables_wrapper .dataTables_filter input {
        width: calc(100% - 65px);
    }
}