/* =========================================================
   SIPKAH - RESPONSIVE CSS
   HP / TABLET / DESKTOP
   ========================================================= */


/* =========================================================
   1. TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    /* Konten utama */
    .main-content {
        width: 100%;
    }

    /* Card */
    .card {
        margin-bottom: 15px;
    }

    /* Tabel */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Form */
    .form-control,
    .form-select {
        width: 100%;
    }

}


/* =========================================================
   2. HP
   ========================================================= */

@media (max-width: 767.98px) {

    /* Body */
    body {
        overflow-x: hidden;
    }

    /* Konten utama */
    .main-content {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 15px !important;
    }

    /* Card */
    .card {
        width: 100%;
        margin-bottom: 15px;
    }

    /* Judul halaman */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    /* Row Bootstrap */
    .row {
        --bs-gutter-x: 0.75rem;
    }

    /* Tabel */
    .table-responsive {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table {
        white-space: nowrap;
    }

    /* Form */
    .form-control,
    .form-select {
        width: 100%;
        font-size: 14px;
    }

    /* Tombol */
    .btn {
        font-size: 14px;
    }

    /* Tombol dalam group */
    .btn-group {
        flex-wrap: wrap;
    }

    /* Filter */
    .filter-box {
        width: 100%;
    }

    /* Statistik */
    .stat-card {
        margin-bottom: 15px;
    }

}


/* =========================================================
   3. HP KECIL
   ========================================================= */

@media (max-width: 575.98px) {

    .main-content {
        padding: 12px !important;
    }

    .card-body {
        padding: 12px;
    }

    .btn {
        font-size: 13px;
    }

    .table {
        font-size: 13px;
    }

    .form-label {
        font-size: 13px;
    }

}