/* Reset Basic */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f8fafc;
    color: #1e293b;
    line-height: 1.6;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: #dc2626;
    letter-spacing: -0.5px;
}

.logo span { color: #0f172a; }
.logo.white { color: #ef4444; }
.logo.white span { color: #ffffff; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 600;
    color: #475569;
}

.nav-links a:hover, .nav-links a.active {
    color: #dc2626;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 8px 12px;
    outline: none;
    font-size: 14px;
}

.search-box button {
    background: #dc2626;
    border: none;
    color: white;
    padding: 8px 12px;
    cursor: pointer;
}

/* Page Header */
.page-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 32px 0;
    margin-bottom: 24px;
}

.breadcrumb {
    display: flex;
    list-style: none;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 8px;
}

.breadcrumb li+li:before {
    content: "/\00a0";
    padding: 0 6px;
}

.breadcrumb a { color: #64748b; }
.breadcrumb .active { color: #dc2626; }

.page-header h1 {
    font-size: 30px;
    color: #0f172a;
    margin-bottom: 6px;
}

.page-header p {
    color: #64748b;
    font-size: 15px;
}

/* Ringkasan Angka Statistik (Stats Overview) */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 36px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.stat-card i {
    font-size: 32px;
    color: #dc2626;
    background: #fef2f2;
    padding: 12px;
    border-radius: 8px;
}

.stat-card h3 {
    font-size: 24px;
    color: #0f172a;
    line-height: 1.2;
}

.stat-card p {
    font-size: 13px;
    color: #64748b;
}

/* Layout Utama */
.main-content {
    display: flex;
    gap: 36px;
    margin-bottom: 48px;
}

.report-section { flex: 2; }
.sidebar { flex: 1; }

/* Featured Report */
.featured-report {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 28px;
    display: flex;
    gap: 28px;
    margin-bottom: 40px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.report-cover {
    position: relative;
    flex: 0 0 180px;
}

.report-cover img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.pdf-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.report-details { flex: 1; }

.category-tag {
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 10px;
}

.report-details h2 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 12px;
}

.report-details h2 a:hover { color: #dc2626; }

.report-summary {
    font-size: 14px;
    color: #475569;
    margin-bottom: 16px;
}

.report-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 20px;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-download {
    background: #dc2626;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.btn-download:hover { background: #b91c1c; }

.btn-preview {
    background: #f1f5f9;
    color: #334155;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.btn-preview:hover { background: #e2e8f0; }

.section-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e2e8f0;
}

/* Grid Laporan Lainnya */
.report-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.report-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.file-icon {
    font-size: 20px;
    color: #dc2626;
}

.report-date {
    font-size: 12px;
    color: #94a3b8;
}

.report-card h3 {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.report-card h3 a:hover { color: #dc2626; }

.report-card p {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 16px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    font-size: 12px;
}

.file-info { color: #94a3b8; }

.download-link {
    color: #dc2626;
    font-weight: 700;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 36px;
}

.pagination a {
    padding: 8px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 14px;
    color: #334155;
}

.pagination a.active, .pagination a:hover:not(.disabled) {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
}

.pagination a.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

/* Sidebar Widgets */
.widget {
    background: #ffffff;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 24px;
}

.widget-title {
    font-size: 16px;
    margin-bottom: 16px;
    border-bottom: 2px solid #dc2626;
    padding-bottom: 6px;
}

/* Filter List */
.filter-list { list-style: none; }

.filter-list li { margin-bottom: 10px; }

.filter-list a {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #475569;
    padding: 6px 10px;
    border-radius: 4px;
}

.filter-list a:hover, .filter-list a.active {
    background: #f1f5f9;
    color: #dc2626;
    font-weight: 600;
}

.filter-list span {
    color: #94a3b8;
    font-size: 12px;
}

/* Request Data Widget */
.request-widget {
    background: #0f172a;
    color: #ffffff;
    border: none;
    text-align: center;
}

.request-widget .widget-icon {
    font-size: 32px;
    color: #38bdf8;
    margin-bottom: 12px;
}

.request-widget h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.request-widget p {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 18px;
}

.btn-request {
    display: block;
    background: #2563eb;
    color: #ffffff;
    padding: 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
}

.btn-request:hover { background: #1d4ed8; }

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding-top: 40px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding-bottom: 32px;
}

.footer-info p {
    font-size: 13px;
    margin-top: 8px;
}

.footer-links h4 {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 6px; font-size: 13px; }
.footer-links a:hover { color: #ffffff; }

.footer-bottom {
    background: #020617;
    text-align: center;
    padding: 16px 0;
    font-size: 12px;
    border-top: 1px solid #1e293b;
}

/* Responsive */
@media (max-width: 768px) {
    .main-content { flex-direction: column; }
    .stats-overview { grid-template-columns: 1fr; }
    .featured-report { flex-direction: column; }
    .report-cover { flex: auto; width: 100%; text-align: center; }
    .report-cover img { max-width: 200px; }
    .report-grid { grid-template-columns: 1fr; }
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 12px;
    }
    .footer-container { flex-direction: column; gap: 24px; }
}
