/* Write your custom CSS here */
.btn-back {
    background: linear-gradient(to right, #E1ECF4, #F3F6F9);
    border: 1px solid #A6C8E0;
    color: #295F98;
}
.tutorial-item {
    width: 30px;
    height: 30px;
}

table.dataTable td.text-right{
    text-align: right !important;
}

/* .dataTables_scrollBody {
    overflow-x: auto;
    overflow-y: hidden !important;
} */

div.dataTables_scrollBody thead {
    display: none;
}
div.container {
    width: 80%;
}
table.dataTable {
    table-layout: fixed;
    /* width: 100%; */
}
table.dataTable th {
    padding: 15px 25px !important;
    font-size: 12px;
    text-transform: none !important;
}
table.dataTable td{
    padding: 5px 25px !important;
    font-size: 12px;
}

table.dataTable td .dropdown-toggle::after {
    display: none;
}

table.dataTable td h6 {
    margin-bottom: 0px;
}

table.dataTable.table-statistik thead > tr > th,
table.dataTable.table-statistik tbody > tr > td,
table.dataTable.table-statistik tfoot > tr > th {
    width: 100px;
}

table.dataTable th:first-child, table.dataTable td:first-child {
    width: 40px !important;
}
table.dataTable th:last-child,table.dataTable td:last-child {
    width: 80px !important;
}

table.dataTable th:not(:first-child), table.dataTable td:not(:first-child) {
    width: 200px !important;
}

.dataTables_length, .dataTables_filter {
    margin-bottom: 1em;
}

.dataTables_length select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.25rem;
    width: 80px !important;
    height: 38px !important;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
}

.dataTables_filter input[type="search"] {
    height: 38px;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
}

.dataTables_wrapper .row:last-child {
    margin-top: 1em;
    margin-bottom: 1em;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center;
}

.dataTables_scrollBody tfoot.datatable_footer {
    display: none;
}

.dataTables_scrollFoot {
    display: block;
}

@media (min-width: 768px) {
    div.dataTables_wrapper div.dataTables_paginate ul.pagination {
        justify-content: flex-end;
    }
}

div.dataTables_wrapper div.dataTables_filter input {
    width: 210px;
}

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

.select2-selection.select2-selection--single {
    height: 42px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 42px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    margin-top: 5px !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #295F98 !important;
    color: white !important;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-top: 5px !important;
}

.select2-selection.select2-selection--single {
    border-radius: 10px;
}

.select2-selection.select2-selection--single {
    border-radius: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #999 !important;
}

.search-tanggal-buat-awal.form-control, .search-tanggal-buat-akhir.form-control,
.search-tanggal-bayar-awal.form-control, .search-tanggal-bayar-akhir.form-control {
    border-color: #aaaaaa;
    color: #999;
    display: block;
    width: 100%;
    padding: 1rem 1rem;
    font-size: 1rem;
    line-height: 1.25;
    color: #4E5154;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #212529;
    border-radius: 0.25rem;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.search-menu.form-control {
    border-color: #aaaaaa !important;
}

ion-icon {
    width: 1.3em;
    height: 1.3em;
}

.btn-search, .btn-cancel, .btn-export, .btn-filter {
    display: flex;
    height: 42px;
    align-items: center;
    }

.btn-search, .btn-cancel {
    --ionicon-stroke-width: 45px;
    font-weight: var(--ionicon-stroke-width);
}

.swal2-title {
    font-weight: 500 !important;
}

.swal2-styled.swal2-confirm {
    background-color: #295F98 !important;
}

.swal2-modal .swal2-styled:focus {
	-webkit-box-shadow: none !important;
	box-shadow: none !important;
}

.history-status.badge {
    font-size: 10px;
    padding: 5px 10px;
    text-transform: uppercase;
}

.dropdown-menu-end[aria-labelledby="mobileProfileDropDown"] {
    left: auto !important;
    right: 0 !important;
    transform: translate3d(0px, 54px, 0px) !important;
}

.page-header .navbar {
    min-height: 76px;
    height: 76px;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.page-header .navbar .nav-link img,
.page-header .navbar .navbar-brand .header-logo {
    max-height: 60px;
}

.btn-mobile-menu {
    background: none;
    border: none;
    padding: 6px;
    font-size: 24px;
    color: #000;
}

@media (min-width: 768px) {
    .navbar-logo-center .header-logo {
        width: 285px !important;
        max-width: 285px !important;
    }

    .modal-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 991.98px) {
    .page-header .navbar {
        justify-content: space-between;
    }

    .navbar-logo-center {
        left: 50%;
        transform: translateX(-50%);
    }

    .collapse#mobileNav {
        text-align: right;
        padding-right: 1rem;
    }

    .collapse#mobileNav .navbar-nav {
        justify-content: flex-end;
    }
}

@media screen and (max-width: 767.98px) {
    .page-header .navbar .header-logo {
        width: 220px !important;
        max-width: 220px !important;
        height: auto !important;
    }
    #validation_alert {
        flex-direction: column;
        padding: 1rem;
    }
}

.form-check-switch {
    height: 1.75em;
}

.form-switch .form-check-input {
    width: 3.5em;
}

.fs-11 {
    font-size: 11px;
    background-color: #2D2D2D;
    color: #FFF;
}

/* Custom datepicker */

.datepicker-dropdown {
    width: 250px !important;
}

.datepicker-dropdown table {
    width: 100%;
}

.datepicker-dropdown .datepicker-days td,
.datepicker-dropdown .datepicker-days th {
    width: 30px;
    height: 25px;
}

.page-sidebar .accordion-menu {
    padding: 20px 10px;
}
.translate-middle-y-2 {
    transform: translateY(-100%) !important;
}
.breadcrumb .breadcrumb-item a {
    color: #6c757d !important;
}
.breadcrumb .breadcrumb-item {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
}
.breadcrumb-item.active {
    color: #295F98 !important;
}
.authent-logo img {
    max-height: 50px;
}
.hljs {
    border-radius: 10px;
}
.form-control {
    font-size: 13px;
}
.form-switch .form-check-input:checked {
    background-color: #295F98;
    border-color: #295F98;
}

/* Popup Verifikasi Akun */
.modal-header.modal-verification-header {
    background: linear-gradient(135deg, #3E5081 0%, #A4C4E8 100%);
    color: white;
    border-bottom: none;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-header.modal-verification-header .btn-close {
    filter: brightness(0) invert(1) !important;
    opacity: 1 !important;
}

.modal-body {
    padding: 1.5rem 1.5rem 0!important; 
    max-height: 100vh;
}

.alert-success-custom {
    background-color: #e8f5e8;
    color: #2e7d32;
    border: none;
    padding: 0.75rem 1rem; 
    margin-bottom: 1rem;
    border-radius: 15px;
}

.alert-failed-custom {
    background-color: #ffebee;
    color: #d32f2f;
    border: none;
    padding: 0.75rem 1rem; 
    margin-bottom: 1rem;
    border-radius: 15px;
}

#validation_message {
    display: flex;
    align-items: center;
}

#validation_message ion-icon {
    margin-right: 6px;
}

.info-row {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s ease;
}

.info-row:hover {
    background-color: #f8f9fa;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 4px;
}

.info-value {
    color: #212529;
    background-color: #f8f9fa;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px solid #dee2e6;
    font-size: 12px;
}

.modal-footer {
    padding: 0 1.5rem 2rem !important;
    margin-top: 0;
}

.reference-text {
    font-size: 12px;
    word-break: break-all;
}

.copy-btn {
    background: none;
    border: none;
    color: #295F98;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.copy-btn:hover {
    background-color: #e7f3ff;
}
 /* End Popup Verifikasi Akun */

 .stat-widget .card-title {
    min-height: 2.5em;
    line-height: 1.3;
}

.stat-widget h2 {
    word-break: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .stat-widget h2 {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    .col-md-3 {
        width: 50%;
        margin-bottom: 14px;
    }
}

@media (max-width: 576px) {
    .col-md-3 {
        width: 100%;
    }
    
    .stat-widget .card-body {
        padding: 20px;
    }
    
    .stat-widget h5.card-title {
        font-size: 14px;
    }
    
    .stat-widget h2 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .content-body {
        padding: 10px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .card-title {
        font-size: 16px;
        margin-bottom: 15px;
    }
}