body {
    font-size: 1rem;
}

.sidebar-dark .sidebar {
    background-color: rgb(4, 36, 55) !important;
    box-shadow: 0 0.125rem 0.5rem rgba(0 0 0 / 16%);
}

.navbar-dark .navbar-brand {
    color: #fce2bb !important;
    background-color: rgb(4, 36, 55) !important;
    box-shadow: 0 0.125rem 0.5rem rgba(0 0 0 / 16%);
}

.navbar .navbar-brand-wrapper {
    background-color: rgb(4, 36, 55) !important;
}

.navbar-menu-wrapper {
    background-color: rgb(4, 36, 55) !important;
}

.content-wrapper {
    background-color: rgb(3, 22, 39) !important;
    color: #fce2bb !important;
    padding: 1.8rem 1.8rem;
}

.alert-login {
    color: red !important;
    background-color: #fff !important;
    font-weight: bold;
}

.login-button {
    font-size: 17px;
    font-weight: bolder;
    padding: 0 auto;
    margin: 0 auto;
}

.footer-login {
    background: transparent !important;
    padding: 10px auto;
    transition: all 0.25s ease;
    -moz-transition: all 0.25s ease;
    -webkit-transition: all 0.25s ease;
    -ms-transition: all 0.25s ease;
    font-size: calc(0.875rem - 0.05rem);
    font-family: "Nunito", sans-serif;
    font-weight: 400;
    margin-top: 20px;
}

.sidebar .nav.sub-menu {
    background-color: rgb(4, 36, 55) !important;
    color: #fce2bb !important;
    box-shadow: 0 0.125rem 0.5rem rgba(0 0 0 / 16%);
}

.menu-title {
    color: #fce2bb !important;
}

.sidebar-dark
    .sidebar
    .nav:not(.sub-menu)
    > .nav-item
    .nav-link[aria-expanded="true"] {
    background-color: rgb(4, 26, 47) !important;
    box-shadow: 0 0.125rem 0.5rem rgba(0 0 0 / 16%);
}

.sidebar-dark.sidebar-icon-only
    .sidebar
    .nav
    .nav-item.hover-open
    .nav-link
    .menu-title {
    background-color: rgb(4, 36, 55) !important;
    border-bottom: 1px solid rgb(36, 28, 47) !important;
    color: #ffc745 !important;
}

.card-stat {
    background-color: rgb(4, 36, 55) !important;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    color: #fce2bb !important;
    background-clip: border-box;
    border: 1px solid rgb(3, 22, 39) !important;
    box-shadow: 0 0.125rem 0.5rem rgba(0 0 0 / 16%);
    border-radius: 10px;
}

.card-title {
    color: #ffc745 !important;
}

.text-gold {
    color: #ffc745 !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #4b49ac !important;
}

.base-shadow {
    box-shadow: 0 0.125rem 0.5rem rgba(0 0 0 / 16%);
}

table.dataTable.stripe tbody > tr.odd.selected,
table.dataTable.stripe tbody > tr.odd > .selected,
table.dataTable.display tbody > tr.odd.selected,
table.dataTable.display tbody > tr.odd > .selected {
    background-color: rgb(3, 22, 39) !important;
    font-size: 0.85rem !important;
}

table.dataTable.stripe tbody > tr.even.selected,
table.dataTable.stripe tbody > tr.even > .selected,
table.dataTable.display tbody > tr.even.selected,
table.dataTable.display tbody > tr.even > .selected {
    background-color: rgb(3, 22, 39) !important;
    font-size: 0.85rem !important;
}

table.dataTable.hover tbody > tr.selected:hover,
table.dataTable.hover tbody > tr > .selected:hover,
table.dataTable.display tbody > tr.selected:hover,
table.dataTable.display tbody > tr > .selected:hover {
    background-color: rgb(3, 22, 39) !important;
    font-size: 0.85rem !important;
}

table.dataTable.display tbody > tr.odd.selected > .sorting_1,
table.dataTable.order-column.stripe tbody > tr.odd.selected > .sorting_1 {
    background-color: rgb(3, 22, 39) !important;
    font-size: 0.85rem !important;
}

table.dataTable.display tbody > tr.even.selected > .sorting_1,
table.dataTable.order-column.stripe tbody > tr.even.selected > .sorting_1 {
    background-color: rgb(3, 22, 39) !important;
    font-size: 0.85rem !important;
}

.dropdown-item {
    color: #fce2bb !important;
}

.dropdown-item:hover {
    background-color: transparent;
}

h4.form-title {
    font-size: 2.5rem;
}

label.form-label {
    font-size: 0.95rem;
    font-weight: 500;
}

.form-control::placeholder {
    color: #4f4d4d;
    opacity: 1;
    font-style: italic;
}

.form-control,
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single .select2-search__field,
.typeahead,
.tt-query,
.tt-hint {
    font-size: 1rem;
    font-weight: 400;
    color: black;
}

.auth form .form-group .form-control {
    background-color: #ffffff;
}

.form-control:disabled,
.asColorPicker-input:disabled,
.dataTables_wrapper select:disabled,
.jsgrid .jsgrid-table .jsgrid-filter-row input:disabled[type="text"],
.jsgrid .jsgrid-table .jsgrid-filter-row select:disabled,
.jsgrid .jsgrid-table .jsgrid-filter-row input:disabled[type="number"],
.select2-container--default .select2-selection--single:disabled,
.select2-container--default
    .select2-selection--single
    .select2-search__field:disabled,
.typeahead:disabled,
.tt-query:disabled,
.tt-hint:disabled,
.form-control[readonly],
.asColorPicker-input[readonly],
.dataTables_wrapper select[readonly],
.jsgrid .jsgrid-table .jsgrid-filter-row input[readonly][type="text"],
.jsgrid .jsgrid-table .jsgrid-filter-row select[readonly],
.jsgrid .jsgrid-table .jsgrid-filter-row input[readonly][type="number"],
.select2-container--default .select2-selection--single[readonly],
.select2-container--default
    .select2-selection--single
    .select2-search__field[readonly],
.typeahead[readonly],
.tt-query[readonly],
.tt-hint[readonly] {
    background-color: #c2cad1;
}

.alert-success {
    color: #05f541;
    background-color: transparent;
    border-color: #05f541;
    font-size: 1rem;
}

.alert-danger {
    color: #f57e5d;
    background-color: transparent;
    border-color: #f57e5d;
    font-size: 1rem;
}

.auth .brand-logo img {
    width: 50px;
}

.auth .auth-form-light {
    background-color: rgb(4, 36, 55) !important;
    color: #ffc745 !important;
}

.table-dark,
.table-dark > td {
    background-color: rgb(4, 36, 55) !important;
    font-size: 0.85rem !important;
}

.table-unit thead {
    border-radius: 5px 0 0 5px;
    font-size: 0.85rem !important;
}

.table-dark th,
.table-dark td,
.table-dark thead th,
.table-dark tbody + tbody {
    border-color: #5a6069;
    font-size: 0.8rem !important;
}

.table-obat td {
    font-size: 0.85rem !important;
}

select.form-control,
select.asColorPicker-input,
.dataTables_wrapper select,
.jsgrid .jsgrid-table .jsgrid-filter-row select,
.select2-container--default select.select2-selection--single,
.select2-container--default
    .select2-selection--single
    select.select2-search__field,
select.typeahead,
select.tt-query,
select.tt-hint {
    color: #130a0a;
    font-weight: bold;
}

.card.card-success {
    background: #57b657;
    color: #ffffff;
}

.card.card-success:hover {
    background: #4dd14d;
}

.card.card-purple {
    background: #6a008a;
    color: #ffffff;
}

.card.card-purple:hover {
    background: #8b07b3;
}

.card.card-danger {
    background: #ff4747;
    color: #ffffff;
}

.card.card-danger:hover {
    background: #fa5f5f;
}

.card.card-indigo {
    background: #6610f2;
    color: #ffffff;
}

.card.card-indigo:hover {
    background: #772af5;
}

.alert-warning {
    color: #856400;
    background-color: rgb(4, 36, 55) !important;
    border-color: #856400;
}

.alert-danger {
    color: #852525;
    background-color: #ffdada;
    border-color: #ffcbcb;
}

.alert {
    font-size: 1em;
}

.dataTables_wrapper .dataTable button {
    padding-top: 10px;
    padding-bottom: 10px;
}

.grid-margin {
    margin-bottom: 1rem;
}

.footer {
    background-color: rgb(4, 36, 55) !important;
    font-size: 14px;
    padding: 10px 2.45rem 30px;
}

.sidebar .nav.sub-menu .nav-item .nav-link:hover {
    color: #ffc745 !important;
}

table.dataTable td {
    word-break: break-word !important;
    word-break: break-all !important;
    white-space: normal;
}

#transaksi-masuk tbody td {
    font-size: 0.8rem !important;
}

@media (max-width: 575.98px) {
    .table-responsive-sm {
        font-size: 2vw;
    }
    .table-responsive-sm > .table-bordered {
        font-size: 2vw;
    }
}

@media (max-width: 767.98px) {
    .table-responsive-md {
        font-size: 2vw;
    }
    .table-responsive-md > .table-bordered {
        font-size: 2vw;
    }
}

@media (max-width: 991.98px) {
    .table-responsive-lg {
        font-size: 2vw;
    }
    .table-responsive-lg > .table-bordered {
        font-size: 2vw;
    }
}

@media (max-width: 1199.98px) {
    .table-responsive-xl {
        font-size: 2vw;
    }
    .table-responsive-xl > .table-bordered {
        font-size: 2vw;
    }
}

.table-responsive {
    font-size: 2vw;
}

.modal .modal-dialog {
    margin-top: 80px;
}

.modal-content {
    background-color: rgb(4, 36, 55) !important;
    border: none !important;
    box-shadow: 0 0.125rem 0.5rem rgba(0 0 0 / 16%);
    border-radius: 10px;
    font-size: 1rem;
}

.modal-header {
    border: none !important;
}

.btn i {
    font-size: 0.9rem;
}

.select2-container {
    color: #110d0d;
}

table.dataTable td {
    font-size: 0.7rem;
}

table.dataTable tr.dtrg-level-0 td {
    font-size: 0.7rem;
}

.table th {
    padding: 1rem 1rem;
}

/*------------------------- scrollbar css -------------------------*/

::-webkit-scrollbar {
    width: 13px;
}

::-webkit-scrollbar-track {
    border-radius: 5px;
    background-color: rgb(3, 22, 39) !important;
}

::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgb(4, 36, 55) !important;
    box-shadow: inset 0 0.125rem 0.5rem rgb(0 0 0 / 16%);
}
