/* ==== RESET SEDERHANA ==== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}

body {
    background: #f4f6fb;
    color: #1f2933;
}

/* ==== TOPBAR ==== */
.topbar {
    background: #155e75; /* biru kehijauan */
    color: #fff;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.16);
}

.topbar-title {
    font-size: 20px;
    font-weight: 600;
}

.topbar-subtitle {
    font-size: 12px;
    opacity: 0.9;
}

.topbar-right a {
    color: #e5f3ff;
    text-decoration: none;
    margin-left: 16px;
    font-size: 13px;
}

.topbar-right a:hover {
    text-decoration: underline;
}

/* ==== WRAPPER & CONTENT ==== */
.wrapper {
    max-width: 1120px;
    margin: 24px auto;
    padding: 0 16px 40px;
}

/* ==== BADGE, TEXT KECIL ==== */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;
}

.badge-success {
    background: #dcfce7;
    color: #166534;
}
.badge-warning {
    background: #fef3c7;
    color: #92400e;
}
.badge-danger {
    background: #fee2e2;
    color: #b91c1c;
}
.badge-info {
    background: #e0f2fe;
    color: #075985;
}

/* ==== GRID CARD ==== */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 18px;
    box-shadow: 0 2px 6px rgba(15,23,42,0.06);
}

.card h3 {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 6px;
}

.card-value {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
}

.card-desc {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

/* ==== PROGRESS BAR ==== */
.progress-wrap {
    margin-top: 8px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 4px;
    color: #4b5563;
}

.progress {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg,#0ea5e9,#22c55e);
}

/* ==== TABLE ==== */
.table-card {
    margin-top: 8px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 8px;
}

.table thead {
    background: #eff4ff;
}

.table th,
.table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.table th {
    font-weight: 600;
    color: #374151;
}

.table tr:hover td {
    background: #f9fafb;
}

/* ==== BUTTON ==== */
.btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.btn-primary {
    background: #0f766e;
    color: #ffffff;
}
.btn-primary:hover {
    background: #115e59;
}

.btn-outline {
    background: #ffffff;
    border: 1px solid #cbd5f5;
    color: #1f2937;
}
.btn-outline:hover {
    background: #eef2ff;
}

/* ==== SECTION TITLE ==== */
.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.section-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}
/* ==== APP HEADER (LOGO + JUDUL) ==== */
.app-header {
    background: #f3f4ff;
    padding: 20px 24px 0;
    border-bottom: 1px solid #e5e7eb;
}

.app-header-inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-brand-logo {
    width: 56px;
    height: 72px;
    object-fit: contain;
}

.app-brand-text-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.app-brand-text-subtitle {
    font-size: 12px;
    color: #6b7280;
}

.app-user-info {
    text-align: right;
    font-size: 12px;
    color: #4b5563;
}

.app-user-info strong {
    color: #111827;
}

/* ==== NAV TABS ==== */
.app-nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px 12px;
}

.nav-tabs {
    display: flex;
    gap: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.nav-link {
    padding: 8px 14px;
    font-size: 13px;
    text-decoration: none;
    color: #4b5563;
    border-radius: 999px 999px 0 0;
    margin-bottom: -1px;
}

.nav-link:hover {
    background: #e5e7fb;
}

.nav-link.active {
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-bottom-color: #ffffff;
    color: #1d4ed8;
    font-weight: 600;
}
.app-brand-logo {
    width: 56px;
    height: 72px;
    object-fit: contain;
}
