* {
    scroll-behavior: smooth !important;
    font-family: "Montserrat", sans-serif !important;
    /* -ms-overflow-style: none !important;
    scrollbar-width: none !important; */
}

html {
    height: -webkit-fill-available !important;
}

::selection {
    background: #bc8c42;
    color: #fff;
}

::-moz-selection {
    background: #bc8c42;
    color: #fff;
}

:root[data-coreui-theme="light"] {
    --body-bg-image: url("/assets/img/bg/main_white.webp");
    --body-text-color: #212529;
}

:root[data-coreui-theme="dark"] {
    --body-bg-image: url("/assets/img/bg/main_black.webp");
    --body-text-color: #fff;
    --cui-body-bg: #1b1b1b;
    --cui-card-bg: #1f1f1f;
    --cui-dropdown-bg: #1f1f1f;
    --cui-modal-content-bg: #1f1f1f;
}

body {
    background: var(--body-bg-image) no-repeat center center fixed;
    background-size: cover;
    color: var(--body-text-color);
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none !important;
}

/* CSS buat Material Symbols */
.material-symbols-rounded {
    font-family: "Material Symbols Rounded" !important;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ms-filled {
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24 !important;
}

.material-icons-round {
    font-family: "Material Icons Round" !important;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 48;
}

.icon-blue { color: #0000F5 !important; }

/* Sidebar Custom */
.sidebar-brand {
    display: flex !important;
    justify-content: center;
    align-items: center;
    height: 81px;
    padding: 0 !important;
    margin: 0 auto;
    text-align: center;
}

.sidebar-brand img {
    max-height: 85px;
    width: auto;
    display: block;
}

.sidebar-nav .nav-link.active {
    background-color: #bc8c42 !important;
    color: #fff !important;
    font-weight: bold;
    border-radius: 32px;
}
.sidebar-nav .nav-link:hover {
    border-radius: 32px;
}

.sidebar-nav .nav-link.active .nav-icon,
.sidebar-nav .nav-link.active .material-symbols-rounded {
    color: #fff !important;
}

.travel-name {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Warna Custom Datatable*/
.dt-bootstrap5 .dataTables_paginate .page-item.active .page-link {
    background-color: #bc8c42 !important;
    border: 1px solid #bc8c42 !important;
    color: #fff !important;
}

.form-control:focus,
.form-select:focus,
.btn:focus,
.page-link:focus {
    border-color: #bc8c42 !important;
    box-shadow: 0 0 0 0.2rem rgba(188, 140, 66, 0.25) !important;
    outline: none !important;
}

.dataTables_wrapper .dataTables_paginate .page-item.active .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(188, 140, 66, 0.25) !important;
    outline: none !important;
}

.dt-bootstrap5 .dataTables_paginate .page-item .page-link:hover {
    background-color: #a6783a !important;
    border: 1px solid #a6783a !important;
    color: #fff !important;
}

.dt-bootstrap5 .dataTables_paginate .page-item .page-link {
    color: #bc8c42 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dataTables_length select:focus {
    border-color: #bc8c42 !important;
    box-shadow: 0 0 0 0.2rem rgba(188, 140, 66, 0.25) !important;
    outline: none !important;
}

.dataTables_length select:hover {
    border-color: #a6783a !important;
    color: #a6783a !important;
}

/* Tombol HUMS Primary */
.btn-hums-primary {
    background-color: #bc8c42;
    border: 1px solid #bc8c42;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.btn-hums-primary:hover,
.btn-hums-primary:focus {
    background-color: #a6783a; /* lebih gelap sedikit */
    border-color: #a6783a;
    color: #fff;
}

.btn-hums-primary:active {
    background-color: #8f652f; /* lebih pekat */
    border-color: #8f652f;
    color: #fff;
}

.btn-hums-primary:disabled,
.btn-hums-primary.disabled {
    background-color: #bc8c42;
    border-color: #bc8c42;
    color: #f5f5f5;
    opacity: 0.65;
    cursor: not-allowed;
}

/* Efek focus */
.btn-hums-primary:focus {
    box-shadow: 0 0 0 0.25rem rgba(188, 140, 66, 0.25);
    outline: none;
}

/* Card HUMS Primary */
.card-hums-primary {
    background: linear-gradient(135deg, #bc8c42, #5a3312);
    border: none;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.card-hums-primary .card-header {
    background: rgba(0, 0, 0, 0.15);
    border-bottom: none;
    color: #fff;
    font-weight: 600;
}

.card-hums-primary .card-body {
    color: #fff;
}

.card-hums-primary .card-body {
    color: #fff;
}

/* Text HUMS Primary */
.text-hums-primary {
    color: #bc8c42;
}

/* Sweetalert custom color */
.colored-toast.swal2-icon-success {
    background-color: #a5dc86 !important;
}

.colored-toast.swal2-icon-error {
    background-color: #f27474 !important;
}

.colored-toast.swal2-icon-warning {
    background-color: #f8bb86 !important;
}

.colored-toast.swal2-icon-info {
    background-color: #3fc3ee !important;
}

.colored-toast.swal2-icon-question {
    background-color: #87adbd !important;
}

.colored-toast .swal2-title {
    color: white;
}

.colored-toast .swal2-close {
    color: white;
}

.colored-toast .swal2-html-container {
    color: white;
}

/* Cell color */
.bg-success-2 {
    background-color: #b6d7a8;
}
.bg-hums-primary {
    background-color: #eccc9b;
}
.bg-danger-2 {
    background-color: #ea9999;
}
