 /* Stats cards */
.bg-light-primary {
    background-color: rgba(67, 94, 190, 0.1);
}

.bg-light-success {
    background-color: rgba(40, 167, 69, 0.1);
}

.bg-light-warning {
    background-color: rgba(255, 193, 7, 0.1);
}

.bg-light-info {
    background-color: rgba(23, 162, 184, 0.1);
}

/* Card styling */
.card {
    border: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    border-radius: 10px;
}

.card-header {
    background: none;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1.5rem;
}

.card-body {
    padding: 1.5rem;
}

/* Table styling */
.table {
    margin-bottom: 0;
}

.table thead th {
    border-top: none;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    font-weight: 600;
    color: #6c757d;
    padding-top: 1rem;
    padding-bottom: 0.75rem;
    text-align: left;
}

.table td {
    vertical-align: middle;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    text-align: left;
}

.table th.text-center, .table td.text-center {
    text-align: center !important;
}

/* Button styling */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
}

/* Form styling */
.form-control, .form-select {
    border-radius: 5px;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 0.5rem 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: #435ebe;
    box-shadow: 0 0 0 0.2rem rgba(67, 94, 190, 0.25);
}

/* Badge styling */
.badge {
    padding: 0.5em 0.75em;
    font-weight: 500;
}

/* Collapsible form */
.collapse {
    transition: all 0.3s ease;
}

.collapse.show {
    margin-top: 1rem;
}

/* Image preview */
.image-preview {
    max-width: 200px;
    max-height: 200px;
    margin-top: 10px;
}

/* Responsive styling */
@media screen and (max-width: 768px) {
    .table td[data-label] .d-flex.align-items-center,
    .table td[data-label] .d-flex.flex-column.align-items-center {
        align-items: flex-end !important;
        text-align: right;
    }
}

@media (max-width: 768px) {
    .table-responsive table,
    .table-responsive thead,
    .table-responsive tbody,
    .table-responsive th,
    .table-responsive td,
    .table-responsive tr {
        display: block;
        width: 100%;
    }
    .table-responsive thead {
        display: none;
    }
    .table-responsive tr {
        margin-bottom: 1rem;
        border-bottom: 2px solid #eee;
    }
    .table-responsive td {
        position: relative;
        padding-left: 50%;
        text-align: left !important;
        border: none;
        border-bottom: 1px solid #eee;
    }
    .table-responsive td:before {
        position: absolute;
        top: 0;
        left: 0;
        width: 48%;
        padding-left: 1rem;
        white-space: nowrap;
        font-weight: bold;
        color: #888;
        content: attr(data-label);
    }
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: left;
}
div.dataTables_wrapper div.dataTables_length{
    text-align: right;
}
.form-fieldset {
    margin-right: 10px;
}
.card-header-tabs .nav-link.active {
    background-color: #e3f0ea;
}

.select2.select2-container {
    width: 100% !important;
}

.select2.select2-container .select2-selection {
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    height: 34px;
    /* margin-bottom: 5px; */
    outline: none !important;
    transition: all .15s ease-in-out;
}

.select2.select2-container .select2-selection .select2-selection__rendered {
    color: #333;
    line-height: 32px;
    padding-right: 33px;
}

.select2.select2-container .select2-selection .select2-selection__arrow {
    background: #f8f8f8;
    border-left: 1px solid #ccc;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
    height: 32px;
    width: 33px;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
    background: #f8f8f8;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
    -webkit-border-radius: 0 3px 0 0;
    -moz-border-radius: 0 3px 0 0;
    border-radius: 0 3px 0 0;
}

.select2.select2-container.select2-container--open .select2-selection.select2-selection--multiple {
    border: 1px solid #34495e;
}

.select2.select2-container .select2-selection--multiple {
    height: auto;
    min-height: 34px;
}

.select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin-top: 0;
    height: 32px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: block;
    padding: 0 4px;
    line-height: 29px;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 4px 4px 0 0;
    padding: 0 6px 0 22px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    position: relative;
}

.select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    margin: 0;
    text-align: center;
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
}

.select2-container .select2-dropdown {
    background: transparent;
    border: none;
    margin-top: -5px;
}

.select2-container .select2-dropdown .select2-search {
    padding: 0;
}

.select2-container .select2-dropdown .select2-search input {
    outline: none !important;
    border: 1px solid #34495e !important;
    border-bottom: none !important;
    padding: 4px 6px !important;
}

.select2-container .select2-dropdown .select2-results {
    padding: 0;
}

.select2-container .select2-dropdown .select2-results ul {
    background: #fff;
    border: 1px solid #34495e;
}

.select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected] {
    background-color: #3498db;
}

.disabled-input{
    background-color: var(--tblr-bg-surface-secondary);
    color:#333;
}

/* Important part */
.modal-dialog{
    overflow-y: initial !important
}
.modal-body{
    /* height: 80vh; */
    overflow-y: auto;
}

.logo-info-1 {
    color: #2282B8;
    text-align: center;
    font-weight: 700;
    font-size: 45px;
    letter-spacing: 2px;
}

.logo-info-2 {
    font-size: 25px;
    text-align: center;
}

.logo-bg {
    background-image: url("../img/bg-login.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-size: cover; /* Agar gambar menutupi seluruh area */
    background-position: center;
    width: auto;
    height: 400px;
    margin-top: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

/* .navbar-dashboard {
    height: 60px;
    width: auto;
    padding: 5px 0 0 15px;
} */

.navbar-dashboard img {
    height: 60px;
    width: auto;
    padding: 5px 0 0 20px;
}
