body {

    background: #F5F9FC;

    font-family: 'Poppins', sans-serif;

}

.navbar {

    min-height: 90px;

}

.card {

    border: none;

    border-radius: 14px;

    box-shadow: 0 .25rem 1rem rgba(0, 0, 0, .08);

}

:root {
    --primary: #58BFD6;
    --primary-dark: #42A9C2;
    --bg: #F5F9FC;
}

body {
    background: var(--bg);
    font-family: 'Poppins', sans-serif;
}

.section-card {
    margin-top: 20px;
}

.card {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}

.form-select:disabled {

    background: #fff;

    color: #495057;

    opacity: 1;

    cursor: not-allowed;

}

.lock-icon {

    position: absolute;

    right: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: #696862;

    display: none;

    pointer-events: none;

}

.form-select:disabled {

    background: #fff;

    color: #495057;

    opacity: 1;

}

.table thead th {

    position: sticky;

    top: 0;

    z-index: 10;

    background: #f8f9fa;

}

.table tbody tr {

    transition: .2s;

}

.table tbody tr:hover {

    transform: scale(1.002);

    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);

}

/* ===============================
   DETAIL MODAL
================================ */

#detailModal .modal-header {
    background: linear-gradient(135deg, #5ca9e6, #3b82c4);
    color: #fff;
    border-bottom: none;
}

#detailModal .btn-close {
    filter: brightness(0) invert(1);
}

#detailModal .modal-content {
    border-radius: 18px;
    overflow: hidden;
}

#detailModal .card {

    border: none;

    border-radius: 15px;

    transition: .25s;

    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);

}

#detailModal .card:hover {

    transform: translateY(-2px);

    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);

}

/* ===================================
   DETAIL HERO
=================================== */

.detail-hero {

    background: linear-gradient(135deg, #5ca9e6, #2d84c8);

    color: #fff;

    border-radius: 18px;

    padding: 25px;

    margin-bottom: 25px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);

}

.detail-hero h3 {

    margin: 0;

    font-size: 28px;

}

.detail-hero h5 {

    opacity: .95;

    font-weight: 400;

}

/* ============================================
   RESPONSIVE MOBILE
============================================ */

/* HP (max-width: 768px) */
@media (max-width: 768px) {
    
    /* Card jadi 2 kolom */
    .row.mt-4 .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Card progress jadi full width */
    .row .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Tabel overflow scroll */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Font lebih kecil di HP */
    h5.fw-bold {
        font-size: 14px !important;
    }
    .fw-bold.mt-1 {
        font-size: 14px !important;
    }
    
    /* Navbar rapih */
    .navbar .container-fluid {
        flex-direction: column;
        align-items: start;
    }
    .navbar .d-flex.align-items-center {
        width: 100%;
        justify-content: space-between;
        margin-top: 8px;
    }
    
    /* Filter dropdown full width */
    #filterForm .row .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Sinkronisasi card */
    #syncStats .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 8px;
    }
    
    /* Activity log */
    .status-dots {
        font-size: 9px !important;
        gap: 4px;
    }
    .status-dots .dot .circle {
        width: 8px;
        height: 8px;
    }
}

/* HP Kecil (max-width: 480px) */
@media (max-width: 480px) {
    
    .row.mt-4 .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .text-end.me-3 {
        margin-right: 8px !important;
    }
    
    .text-end.me-3 strong {
        font-size: 12px !important;
    }
    
    .btn-info.text-white {
        font-size: 12px !important;
        padding: 4px 10px !important;
    }
    
    /* Modal HP */
    .modal-dialog {
        margin: 10px !important;
    }
    .modal-body {
        padding: 12px !important;
    }
    .modal-body .col-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}