body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 20px;
}

h1 {
    color: #1e293b;
    margin-bottom: 30px;
    text-align: center;
}

.main-layout {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Pembagian Kolom */
.kolom-kiri {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 12;
    min-width: 300px;
    max-width: 600px;
}

.kolom-kanan {
    flex: 1;
    min-width: 350px;
    max-width: 500px;
}

/* Desain Card */
.card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.card-row {
    display: flex;
    gap: 20px;
}

.card-row .card {
    flex: 1;
    text-align: center;
}

.title {
    font-size: 1.1rem;
    color: #475569;
    font-weight: 600;
    margin-bottom: 10px;
}

.value {
    font-size: 2.5rem;
    font-weight: bold;
    color: #3b82f6;
    margin: 15px 0;
}

.status-aktif {
    color: #10b981;
}

.status-mati {
    color: #ef4444;
}

/* Tabel Scrollable di Card Kanan */
.table-wrapper {
    max-height: 300px;
    overflow-y: auto;
    margin-top: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

th,
td {
    padding: 10px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

th {
    background-color: #f8fafc;
    position: sticky;
    top: 0;
    color: #475569;
    z-index: 10;
}

/* Tombol Utama */
.btn-primary {
    background-color: #2563eb;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    margin-top: 15px;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.link-selengkapnya {
    display: inline-block;
    margin-top: 15px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

/* Floating Window (Modal Pop-up) */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: white;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close-btn {
    float: right;
    font-size: 1.8rem;
    cursor: pointer;
    color: #94a3b8;
    line-height: 1;
}

.filter-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.filter-group input {
    padding: 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    flex: 1;
}