/* =========================
   GLOBAL STYLE
========================= */
/* Tambahkan ini di baris pertama file style.css */
@font-face {
    font-family: "bootstrap-icons";
    font-display: swap;
    src: url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/fonts/bootstrap-icons.woff2") format("woff2"),
         url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/fonts/bootstrap-icons.woff") format("woff");
}

body {
    background: #f5f7fb;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
}

/* Container biar lebih fleksibel */
.container-custom {
    max-width: 1400px;
    margin: auto;
    padding: 20px;
}

/* Card modern */
.card-custom {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 20px;
    border: none;
}

/* Heading */
h1, h2, h3 {
    font-weight: 700;
    color: #1e293b;
}

/* Button modern */
.btn-custom {
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: 600;
    transition: all 0.2s;
}

.btn-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Badge */
.badge {
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================
   NAVBAR MODERN
========================= */
.navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 800;
    color: #0d6efd !important;
}

/* =========================
   TABLE STYLING
========================= */
.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
}

table {
    min-width: 1100px;
    border-collapse: separate;
    border-spacing: 0;
}

table thead {
    background: #f8fafc;
}

table th {
    font-size: 11px;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 15px !important;
    border-bottom: 2px solid #e2e8f0 !important;
}

table td {
    vertical-align: middle !important;
    padding: 15px !important;
    white-space: normal !important;
    word-wrap: break-word;
    border-bottom: 1px solid #f1f5f9 !important;
}

/* Highlight row */
tr.warning-row {
    background-color: #fff1f2 !important;
}

tr.normal-row:hover {
    background-color: #f8fafc;
}

/* =========================
   RESPONSIVE BREAKPOINT
========================= */
@media (max-width: 768px) {
    .container-custom {
        padding: 15px;
    }

    h1 {
        font-size: 24px;
    }

    .btn-custom {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .card-custom {
        padding: 15px;
    }
}
