body {
    background-color: #f8fafc;
}

.view-dokumen-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Filter Layout */
.filter-wrapper {
    margin-bottom: 2.5rem;
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
}

.form-row-premium {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.input-group-premium {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.input-group-premium label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.input-control-premium {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: #f8fafc;
    transition: all 0.3s;
    outline: none;
}

.input-control-premium:focus {
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-filter-premium {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-filter-premium:hover {
    background: #1d4ed8;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.15);
}

.btn-reset-premium {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-reset-premium:hover {
    background: #e2e8f0;
}

/* Table Card */
.table-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    overflow: hidden;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.premium-table th {
    background: #f8fafc;
    padding: 1rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
    letter-spacing: 0.05em;
}

.premium-table td {
    padding: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #334155;
    vertical-align: middle;
}

.premium-table tr:last-child td {
    border-bottom: none;
}

.premium-table tr:hover {
    background-color: #f8fafc;
}

.badge-kat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}
.badge-slip { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.badge-info { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.badge-tugas { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.badge-pengumuman { background: #f3e8ff; color: #6b21a8; border: 1px solid #e9d5ff; }
.badge-default { background: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

.btn-download-pdf {
    background: #fef2f2;
    color: #ef4444;
    border: 1px solid #fca5a5;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-download-pdf:hover { background: #ef4444; color: white; }

.btn-download-word {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.btn-download-word:hover { background: #2563eb; color: white; }

@media (max-width: 768px) {
    .view-dokumen-container { margin: 20px auto; }
    .form-row-premium { flex-direction: column; align-items: stretch; }
    .input-group-premium { width: 100%; }
    .btn-filter-premium, .btn-reset-premium { width: 100%; justify-content: center; }
    .premium-table th, .premium-table td { padding: 0.75rem 1rem; font-size: 0.8rem; }
}
