<style>

.magang-section {
    padding: 80px 0;
}

.table-wrapper {
    background: #16171d;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.table-header {
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: linear-gradient(
        180deg,
        rgba(255,255,255,.02) 0%,
        rgba(255,255,255,0) 100%
    );
}

.table-header h3 {
    color: #ffffff;
    margin-bottom: 6px;
    font-size: 28px;
    font-weight: 700;
}

.table-header p {
    color: rgba(255,255,255,.55);
    margin: 0;
}

.table-badge {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
}

.modern-table {
    width: 100%;
    overflow-x: auto;
}

.modern-table table {
    width: 100%;
    border-collapse: collapse;
}

.modern-table thead {
    background: rgba(255,255,255,.02);
}

.modern-table thead th {
    padding: 20px;
    color: rgba(255,255,255,.75);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.modern-table tbody tr {
    transition: .25s ease;
    border-bottom: 1px solid rgba(255,255,255,.04);
}

.modern-table tbody tr:hover {
    background: rgba(255,255,255,.025);
}

.modern-table tbody td {
    padding: 20px;
    color: rgba(255,255,255,.78);
    vertical-align: middle;
}

.table-number {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        #2b2e38 0%,
        #1f222b 100%
    );
    border: 1px solid rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 17px;
    flex-shrink: 0;
}

.user-detail h6 {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.table-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.82);
    font-size: 13px;
    font-weight: 500;
}

.year-badge {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.06);
    padding: 8px 14px;
    border-radius: 12px;
    color: #ffffff;
    font-weight: 600;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: rgba(255,255,255,.45);
}

.pagination-container {
    padding: 30px;
    background: rgba(255,255,255,.015);
}

.download-box {
    margin-top: 30px;
}


@media (max-width: 991px) {

    .table-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .modern-table table,
    .modern-table thead,
    .modern-table tbody,
    .modern-table th,
    .modern-table td,
    .modern-table tr {
        display: block;
        width: 100%;
    }

    .modern-table thead {
        display: none;
    }

    .modern-table tbody tr {
        margin: 15px;
        border-radius: 20px;
        background: rgba(255,255,255,.02);
        overflow: hidden;
        border: 1px solid rgba(255,255,255,.05);
    }

    .modern-table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        text-align: right;
        padding: 16px 20px;
        border-bottom: 1px solid rgba(255,255,255,.04);
    }

    .modern-table tbody td:last-child {
        border-bottom: none;
    }

    .modern-table tbody td::before {
        content: attr(data-label);
        color: #ffffff;
        font-weight: 600;
        text-align: left;
    }

    .user-info {
        justify-content: flex-end;
    }
}
</style>