/* styles.css */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    padding-bottom: 90px; /* Ditambah sedikit agar aman di HP layar kecil */
    background-color: #f4f7f6;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }

/* Garis Pemisah Judul */
.header-separator {
    border-top: 2px solid #e2e8f0;
    margin-top: 0.75rem;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

/* Responsivitas Ukuran Font untuk HP vs Laptop */
.card-title-custom {
    font-size: 0.85rem;
}
.card-value-custom {
    font-size: 1.25rem;
}

@media (min-width: 768px) {
    .card-title-custom { font-size: 1rem; }
    .card-value-custom { font-size: 1.5rem; }
}

/* Styling Tabel Sesuai Request */
.table-custom {
    font-size: 0.9rem;
}

.table-custom th, 
.table-custom td {
    white-space: nowrap; 
    text-align: center;  
    vertical-align: middle;
}

/* Memperjelas Garis Tepi & Pemisah Tabel */
.table-bordered th, 
.table-bordered td {
    border: 1px solid #dee2e6;
}

/* Warna Header Tabel Profesional */
.table-light th {
    background-color: #e9ecef !important;
    color: #495057;
    font-weight: 700;
}

/* Footer Melayang Menempel */
.footer-floating {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #dee2e6;
    padding: 15px 0;
    z-index: 1030;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.03);
}