/* ========== RESET & GLOBAL ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background: linear-gradient(145deg, #f5f7ff 0%, #f0f3ff 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 2rem 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #1e293b;
    -webkit-font-smoothing: antialiased;
}

.main-content {
    max-width: 1320px;
    width: 100%;
}

/* ========== HEADER ========== */
.page-header {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    padding: 2rem 3rem;
    border-radius: 36px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.8rem;
    box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.45);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(2px);
}
.page-header::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    pointer-events: none;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    pointer-events: none;
}
.page-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}
.page-header h1 i {
    font-size: 2.2rem;
    opacity: 0.9;
    background: rgba(255,255,255,0.15);
    padding: 8px;
    border-radius: 16px;
}
.page-header p {
    font-size: 1rem;
    opacity: 0.88;
    margin: 0;
    font-weight: 400;
    position: relative;
    z-index: 1;
}
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    position: relative;
    z-index: 1;
}
.header-date {
    font-size: 0.9rem;
    opacity: 0.92;
    background: rgba(255,255,255,0.15);
    padding: 6px 20px;
    border-radius: 40px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    letter-spacing: 0.3px;
}
.header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}
.header-actions .btn {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 0.9rem;
    padding: 10px 26px;
    border-radius: 40px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.2px;
}
.header-actions .btn:hover {
    background: #fff;
    color: #4f46e5;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}
.header-actions .btn-backup {
    background: rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.3);
}
.header-actions .btn-backup:hover {
    background: #10b981;
    color: #fff;
    border-color: #10b981;
}
.header-actions .btn-logout {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.25);
}
.header-actions .btn-logout:hover {
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.btn-primary {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #fff;
    box-shadow: 0 10px 24px -8px rgba(79, 70, 229, 0.5);
    font-size: 1rem;
    padding: 14px 38px;
    letter-spacing: 0.3px;
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px -8px rgba(79, 70, 229, 0.6);
}
.btn-secondary {
    background: #eef2f7;
    color: #2d3748;
}
.btn-secondary:hover {
    background: #e2e8f0;
}
.btn-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff;
}
.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}
.btn-block {
    width: 100%;
    justify-content: center;
}
.btn-edit {
    background: #eef2ff;
    color: #4f46e5;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border: 1px solid transparent;
}
.btn-edit:hover {
    background: #c7d2fe;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}
.btn-hapus {
    background: #fef2f2;
    color: #dc2626;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 1px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-hapus:hover {
    background: #fecaca;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}
.btn-tampil {
    background: #e0f2fe;
    color: #0369a1;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-tampil:hover {
    background: #bae6fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(3, 105, 161, 0.15);
}
.btn-backup-action {
    background: #ecfdf5;
    color: #065f46;
    padding: 6px 18px;
    border-radius: 40px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-backup-action:hover {
    background: #d1fae5;
    transform: translateY(-2px);
}

/* ========== ALERT ========== */
.alert {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #065f46;
    padding: 1rem 2rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 6px solid #10b981;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.12);
    font-size: 0.95rem;
    backdrop-filter: blur(4px);
}
.alert-error {
    background: linear-gradient(135deg, #fef2f2, #fecaca);
    border-left-color: #dc2626;
    color: #7f1d1d;
}
.alert i {
    font-size: 1.4rem;
}

/* ========== CARD ========== */
.card {
    background: #ffffff;
    border-radius: 36px;
    box-shadow: 0 10px 40px -12px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.02);
    margin-bottom: 2.8rem;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    border: 1px solid rgba(255,255,255,0.6);
}
.card:hover {
    box-shadow: 0 24px 60px -16px rgba(0,0,0,0.08);
}
.card-header {
    padding: 1.5rem 2.4rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fafbff;
    border-radius: 36px 36px 0 0;
}
.card-header h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 12px;
}
.card-header h2 i {
    color: #4f46e5;
    font-size: 1.5rem;
    background: #eef2ff;
    padding: 8px;
    border-radius: 12px;
}
.card-header .badge {
    margin-left: auto;
    background: #f1f5f9;
    color: #475569;
    padding: 4px 18px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}
.card-body {
    padding: 2.4rem;
}

/* ========== FORM ========== */
.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
}
.form-group {
    flex: 0 0 calc(50% - 1rem);
    display: flex;
    flex-direction: column;
}
.form-group.full-width {
    flex: 0 0 100%;
}
.form-group label {
    font-weight: 600;
    font-size: 0.85rem;
    color: #334155;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.form-group label .required {
    color: #ef4444;
    font-size: 1.1rem;
    font-weight: 700;
}
.form-group label .label-hint {
    font-weight: 400;
    font-size: 0.7rem;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 12px;
    letter-spacing: 0.2px;
}
.form-group input,
.form-group textarea {
    padding: 14px 20px;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    font-size: 1rem;
    background: #fafbff;
    transition: all 0.2s ease;
    width: 100%;
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: #4f46e5;
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    background: #ffffff;
}
.form-group textarea {
    resize: vertical;
}
.form-group h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 6px 0 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-group h3 i {
    color: #4f46e5;
    background: #eef2ff;
    padding: 6px;
    border-radius: 10px;
    font-size: 1rem;
}

/* ===== CUSTOM DROPDOWN SELECT ===== */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fafbff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234f46e5' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 0.85rem;
    padding: 14px 2.8rem 14px 20px;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    width: 100%;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
    line-height: 1.4;
}
.form-group select:hover {
    border-color: #b2c4e0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.08);
}
.form-group select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
    background-color: #ffffff;
}
.form-group select option {
    padding: 10px 16px;
    font-size: 0.95rem;
    background: #ffffff;
    color: #1e293b;
    transition: background 0.15s;
}
.form-group select option:checked {
    background: #4f46e5 !important;
    color: #ffffff !important;
}
.form-group select::-webkit-scrollbar {
    width: 8px;
}
.form-group select::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 8px;
}
.form-group select::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 8px;
}
.form-group select::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}
.form-group select option:first-child {
    color: #94a3b8;
    font-weight: 400;
}
.form-group select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #f1f5f9;
}

/* File input wrapper */
.file-input-wrapper {
    position: relative;
    margin-top: 4px;
}
.file-input-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.file-input-wrapper .file-input-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    transition: all 0.25s ease;
}
.file-input-wrapper .file-input-label:hover {
    background: #e2e8f0;
    border-color: #94a3b8;
}
.file-preview {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.file-preview img {
    max-height: 80px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 4px;
    background: #fff;
}
.file-preview .file-name {
    font-size: 0.85rem;
    color: #64748b;
    word-break: break-all;
}

/* ========== TABLE ========== */
.table-responsive {
    overflow-x: auto;
    margin-top: 0.5rem;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
table thead {
    background: linear-gradient(135deg, #f8faff, #eef2ff);
}
table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #c7d2fe;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
table td {
    padding: 14px 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 0.9rem;
}
table tbody tr {
    transition: background 0.15s ease;
}
table tbody tr:hover {
    background: #f8faff;
}
table tbody tr:nth-child(even) {
    background: #fafbff;
}
table td .action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
table td .action-group .btn-edit,
table td .action-group .btn-hapus,
table td .action-group .btn-tampil {
    font-size: 0.75rem;
    padding: 4px 14px;
}
table td .doc-link {
    color: #4f46e5;
    font-size: 1.2rem;
    transition: all 0.2s;
    display: inline-block;
}
table td .doc-link:hover {
    transform: scale(1.15);
    color: #7c3aed;
}
table td .doc-empty {
    color: #cbd5e1;
    font-size: 0.9rem;
}
.text-center {
    text-align: center;
}

/* ========== MODAL ========== */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(8px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.modal-overlay.active {
    display: flex;
}
.modal {
    background: #ffffff;
    max-width: 680px;
    width: 92%;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 36px;
    padding: 2.5rem 2.5rem 2rem;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.96) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.8rem;
    font-size: 2rem;
    cursor: pointer;
    color: #94a3b8;
    line-height: 1;
    transition: color 0.2s ease;
    background: none;
    border: none;
    padding: 0;
}
.modal-close:hover {
    color: #0f172a;
}
.modal h2 {
    margin-top: 0;
    margin-bottom: 1.8rem;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    color: #0f172a;
}
.modal .detail-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 8px 16px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    align-items: baseline;
}
.modal .detail-item .label {
    font-weight: 600;
    color: #475569;
    font-size: 0.88rem;
}
.modal .detail-item .value {
    color: #0f172a;
    word-break: break-word;
    white-space: pre-wrap;
}
.modal .modal-img {
    max-height: 120px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 4px;
    background: #fff;
    max-width: 100%;
}
.modal-actions {
    margin-top: 1.8rem;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
@media (max-width: 600px) {
    .modal .detail-item {
        grid-template-columns: 1fr;
        gap: 2px 0;
    }
    .modal .detail-item .label {
        font-size: 0.78rem;
        color: #64748b;
    }
    .modal .detail-item .value {
        font-size: 0.92rem;
        padding-bottom: 6px;
        border-bottom: 1px dashed #e2e8f0;
    }
    .modal {
        padding: 1.8rem;
    }
}

/* ========== EMPTY STATE ========== */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #94a3b8;
}
.empty-state i {
    font-size: 3.5rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    display: block;
}
.empty-state p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 4px;
}
.empty-state span {
    font-size: 0.9rem;
    color: #94a3b8;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.8rem;
        border-radius: 28px;
    }
    .header-right {
        width: 100%;
        align-items: flex-start;
        margin-top: 12px;
    }
    .header-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }
    .header-actions .btn {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    .form-group {
        flex: 0 0 100%;
    }
    .card-body {
        padding: 1.5rem;
    }
    .card-header {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
        border-radius: 28px 28px 0 0;
    }
    .card-header h2 {
        font-size: 1.2rem;
    }
    table th,
    table td {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
    table td .action-group .btn-edit,
    table td .action-group .btn-hapus,
    table td .action-group .btn-tampil {
        font-size: 0.68rem;
        padding: 2px 10px;
    }
    .modal {
        padding: 1.8rem;
        max-height: 90vh;
        border-radius: 28px;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
    .page-header h1 i {
        font-size: 1.6rem;
    }
}
@media (max-width: 480px) {
    body {
        padding: 0.8rem;
    }
    .page-header {
        padding: 1.2rem 1.2rem;
        border-radius: 24px;
    }
    .page-header h1 {
        font-size: 1.4rem;
        gap: 8px;
    }
    .page-header h1 i {
        font-size: 1.2rem;
        padding: 4px;
    }
    .page-header p {
        font-size: 0.8rem;
    }
    .header-date {
        font-size: 0.75rem;
        padding: 4px 14px;
    }
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    .card {
        border-radius: 24px;
    }
    .card-header {
        padding: 0.8rem 1rem;
        border-radius: 24px 24px 0 0;
    }
    .card-body {
        padding: 1rem;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 14px;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    .form-group select {
        background-position: right 0.8rem center;
        padding-right: 2.2rem;
    }
    table th,
    table td {
        padding: 6px 8px;
        font-size: 0.7rem;
    }
    table td .action-group .btn-edit,
    table td .action-group .btn-hapus,
    table td .action-group .btn-tampil {
        font-size: 0.6rem;
        padding: 2px 8px;
    }
    .modal {
        padding: 1.2rem;
        border-radius: 24px;
        width: 96%;
    }
}

/* ===== STYLE UNTUK FOTO DAN TOMBOL DOWNLOAD DI MODAL ===== */
.foto-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.foto-detail .modal-img {
    max-height: 120px;
    width: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 4px;
    background: #fff;
    object-fit: contain;
    flex-shrink: 0;
}
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
}
.btn-download:hover {
    background: #c7d2fe;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

/* ===== RESPONSIVE UNTUK MODAL DETAIL ===== */
@media (max-width: 600px) {
    .modal .detail-item {
        grid-template-columns: 1fr;
        gap: 2px 0;
    }
    .modal .detail-item .label {
        font-size: 0.78rem;
        color: #64748b;
    }
    .modal .detail-item .value {
        font-size: 0.92rem;
        padding-bottom: 6px;
        border-bottom: 1px dashed #e2e8f0;
    }
    .modal {
        padding: 1.2rem;
        border-radius: 24px;
        width: 96%;
    }
    .foto-detail {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }
    .foto-detail .modal-img {
        max-height: 100px;
        width: auto;
        max-width: 100%;
        object-fit: contain;
        flex-shrink: 0;
    }
    .btn-download {
        font-size: 0.75rem;
        padding: 4px 12px;
        width: auto;
        flex-shrink: 0;
    }
    .modal-actions {
        flex-direction: column;
        gap: 8px;
    }
    .modal-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .modal {
        padding: 0.8rem;
    }
    .modal h2 {
        font-size: 1.1rem;
    }
    .modal .detail-item .label {
        font-size: 0.7rem;
    }
    .modal .detail-item .value {
        font-size: 0.85rem;
    }
    .foto-detail .modal-img {
        max-height: 80px;
    }
    .btn-download {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
    .foto-detail {
        gap: 6px;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(135deg, #4f6ef7, #7c5cfc);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 28px 28px 0 0;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 -6px 20px rgba(79, 110, 247, 0.15);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.footer-content p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.95;
    letter-spacing: 0.3px;
}

.footer-content strong {
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 1.05rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 1.2rem 1.5rem;
        border-radius: 18px 18px 0 0;
        margin-top: 1.5rem;
    }
    .footer-content p {
        font-size: 0.9rem;
    }
    .footer-content strong {
        font-size: 0.95rem;
    }
}

/* Pagination Custom Styles */
.pagination-wrapper {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 6px;
    align-items: center;
}

.pagination li {
    display: inline-block;
    margin: 0 2px;
}

.pagination li a,
.pagination li span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    color: #4f6ef7;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
    min-width: 40px;
    text-align: center;
}

.pagination li a:hover {
    background: #4f6ef7;
    color: #fff;
    border-color: #4f6ef7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(79, 110, 247, 0.3);
}

.pagination li.active span {
    background: #4f6ef7;
    color: #fff;
    border-color: #4f6ef7;
    box-shadow: 0 4px 12px rgba(79, 110, 247, 0.2);
}

.pagination li.disabled span {
    background: #f7fafc;
    color: #a0aec0;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.6;
}

.pagination li a[rel="prev"],
.pagination li a[rel="next"] {
    padding: 8px 18px;
}

/* Responsive */
@media (max-width: 600px) {
    .pagination li a,
    .pagination li span {
        padding: 6px 10px;
        font-size: 0.85rem;
        min-width: 32px;
    }
    .pagination li a[rel="prev"],
    .pagination li a[rel="next"] {
        padding: 6px 12px;
    }
}

/* ===== BADGE STATUS ===== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
}
.badge-secondary {
    background: #e2e8f0;
    color: #2d3748;
}
.badge-warning {
    background: #fefcbf;
    color: #975a16;
}
.badge-success {
    background: #c6f6d5;
    color: #22543d;
}
.badge-danger {
    background: #fed7d7;
    color: #9b2c2c;
}
.badge-tolak {
    background: #fef3c7;
    color: #92400e;
}

/* ===== TOMBOL STATUS ===== */
.btn-status {
    padding: 4px 12px;
    border: none;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.btn-status:hover {
    transform: translateY(-2px);
}
.btn-proses {
    background: #fefcbf;
    color: #975a16;
}
.btn-proses:hover {
    background: #f6e05e;
}
.btn-acc {
    background: #c6f6d5;
    color: #22543d;
}
.btn-acc:hover {
    background: #9ae6b4;
}
.btn-batal {
    background: #fed7d7;
    color: #9b2c2c;
}
.btn-batal:hover {
    background: #feb2b2;
}
.btn-tolak {
    background: #fef3c7;
    color: #92400e;
}
.btn-tolak:hover {
    background: #fde68a;
}
.btn-reset {
    background: #e0e7ff;
    color: #3730a3;
}
.btn-reset:hover {
    background: #c7d2fe;
}