body {
    font-family: system-ui;
    background-color: #f4f4f4;
    margin: 0;
    font-size: 13px;
}

.btn, .form-control, .dropdown-item, .form-select, .select-2, .input-group-text  {
    font-size: 13px;
}

.form-control:focus, .form-select:focus {
    border-color: rgba(129, 129, 129, 0.25);
    box-shadow: 0 0 0 0.25rem rgba(129, 129, 129, 0.25);
}

.modal-header {
    border: 0;
}

.modal-footer {
    border: 0;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 14px; /* Atur ukuran font yang diinginkan */
}
.select2-container--bootstrap-5
.select2-dropdown
.select2-search
.select2-search__field:focus {
    border-color: rgba(129, 129, 129, 0.25);
    box-shadow: 0 0 0 0.25rem rgba(129, 129, 129, 0.25)!important;
}

.page-link {
    font-size: 13px!important;
}

nav.navbar {
    height: 64px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 14px;
    /* add background dark */
}

.navbar-brand i {
    color: #0d6efd;
    font-size: 1.5rem;
}

.navbar .bi {
    font-size: 1.2rem;
}

.navbar .dropdown-toggle::after {
    display: none;
}

.card {
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Tank Status Styles */
.tank-status {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    padding: 1rem 0;
}

.status-item {
    text-align: center;
}

.status-item i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.tank-value {
    font-size: 2.5rem;
    margin: 1rem 0;
}

.status-online {
    color: #198754;
}

.status-offline {
    color: #dc3545;
}

/* Consumption Stats Styles */
.consumption-stats {
    text-align: center;
    padding: 1.5rem;
}

.stats-value {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

.stats-label {
    color: #6c757d;
    margin: 0;
}

.loss-info {
    font-size: 0.9rem;
    color: #dc3545;
    margin-top: 0.5rem;
}

/* Table Styles */
.table {
    font-size: 13px;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.pagination {
    margin: 0;
}

.dataTables_wrapper .row:first-child {
    margin-bottom: 0.8rem;
}

/* Search */
.autocomplete-wrapper {
    position: relative; /* Membuat konteks positioning untuk dropdown */
}
#suggestions {
    position: absolute;
    margin-top: 8px;
    top: 100%; /* Posisikan di bawah elemen wrapper */
    right: 0;   /* Posisikan di sisi kanan elemen wrapper */
    width: auto; /* Lebar menyesuaikan isi atau bisa diatur spesifik */
    max-height: 150px;
    min-width: 350px;
    overflow-y: auto;
    z-index: 1000;
    display: none; /* Sembunyikan awal */
    border: 1px solid #ccc; /* Tambahkan border agar terlihat */
    border-top: none; /* Hilangkan border atas agar menyatu dengan input */
    background-color: white; /* Tambahkan background putih */
}
.suggestion-item {
    padding: 12px;
    cursor: pointer;
    background-color: white;
}
.suggestion-item:hover {
    background-color: #f0f0f0;
}

/* Plugin */
.daterangepicker {
    font-family: system-ui;
}