/* .text-primary {
    color: #00C0C8 !important;
} */

.card-img,
.card-img-top {
    border-top-left-radius: var(--bs-card-inner-border-radius);
    border-top-right-radius: var(--bs-card-inner-border-radius);
    height: 185px !important;
}

.card-image-promotion {
    height: 70vh !important;
}

.left-sidebar {
    width: 220px !important;
}

@media (min-width: 992px) {
    #main-wrapper[data-layout=vertical][data-sidebartype=full] .body-wrapper {
        margin-left: 217px !important;
    }
}

@media (min-width: 992px) {
    #main-wrapper[data-layout=vertical][data-header-position=fixed] .app-header {
        width: calc(100% - 220px) !important;
    }
}

.mobile-bottom-nav {
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
    background: #ffffff;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.mobile-bottom-nav .container {
    max-width: 100%;
    padding: 0 16px;
}

/* Tambahkan CSS ini untuk mengatur spacing */
.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-around;
    gap: 0px;
    /* Menambah gap kecil antar item */
}

.mobile-bottom-nav .nav-items a {
    flex: 1;
    min-width: 0;
    /* Mencegah item dari overflow */
    text-align: center;
}

.mobile-bottom-nav .nav-items span {
    font-size: 12px;
    /* Mengurangi ukuran font text */
    display: block;
    white-space: nowrap;
}

.mobile-bottom-nav a {
    color: #9e9e9e;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    min-width: 60px;
}

.mobile-bottom-nav a.active {
    color: #01c0c8;
    background: rgba(93, 135, 255, 0.1);
    border-radius: 10px;
}

.mobile-bottom-nav a i {
    font-size: 20px;
    margin-bottom: 4px;
}

.mobile-bottom-nav span {
    font-size: 12px;
    font-weight: 500;
}

/* Margin bottom untuk konten */
@media (max-width: 991.98px) {
    body {
        margin-bottom: 75px !important;
    }
}

@media (max-width: 768px) {
    .wizard-circle>section {
        padding: 1rem !important;
    }

    .btn-md-lg {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .alert {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
}

/* Footer tinggi default untuk wizard; akan dioverride via JS */
:root { 
    --wizard-footer-h: 88px; 
}

.wizard-content {
    min-height: 500px;
    /* Sesuaikan dengan kebutuhan */
    padding-bottom: var(--wizard-footer-h);
    /* Memberikan ruang untuk button (dinamis) */
}

/* Wrapper footer wizard fixed di bawah */
.wizard-actions {
    padding: 16px 20px;
    background: #fff;
    border-top: 1px solid #eee;
    z-index: 1030;
}

.wizard>.actions>ul {
    margin-top: 20px !important;
}

.wizard>.content {
    min-height: 20em !important;
    /* Sesuaikan dengan kebutuhan */
    margin-bottom: 0;
}

.wizard>.content>.body {
    padding: 0;
    width: 100%;
    height: auto;
    position: relative;
}

/* Memperbaiki spacing pada mobile */
@media (max-width: 768px) {
    .wizard-content {
        padding-bottom: var(--wizard-footer-h);
    }

    .wizard>.actions {
        padding: 15px;
    }

    .wizard>.actions>ul {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 20px !important;
    }

    .wizard>.actions>ul>li {
        margin: 0;
    }
}

.disabled-link {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.table-responsive {
    overflow-y: hidden;
}

/* WhatsApp Share Button Styles */
.whatsapp-share-btn {
    transition: all 0.1s ease;
}

.whatsapp-share-btn:hover {
    transform: scale(1);
    background-color: #075e54 !important;
    /* WhatsApp's darker green color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.dataTables_wrapper .dataTables_length {
    float: left;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
    margin-bottom: 10px;
}

.dataTables_wrapper .dataTables_length label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.dataTables_wrapper .dataTables_filter label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.dataTables_wrapper .dataTables_length select {
    margin: 0 5px;
}

.dataTables_wrapper .dataTables_filter input {
    margin-left: 5px;
}

/* Memastikan container memiliki clearfix */
.dataTables_wrapper::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive adjustments untuk DataTables */
@media (max-width: 768px) {
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter {
        float: none;
        text-align: center;
        margin-bottom: 10px;
    }
}

.wizard-content .actions a[href="#previous"] {
    background: transparent !important;
    color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.wizard-content .actions a[href="#previous"]:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.08) !important;
}

.rounded-md {
    border-radius: 10px;
}

.fs-10 {
    font-size: 4rem;
}

.card-lock {
    min-height: 80vh;
}

.modal-header {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

/* ===== Dashboard: Hero Card ===== */
.dash-hero {
    background: #00C0C8;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}
.dash-hero .card-body {
    padding: 24px;
}
.dash-hero__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.dash-hero__left {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.dash-hero__welcome {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
}
.dash-hero__divider {
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin-top: 12px;
    margin-bottom: 12px;
}
.dash-hero__row {
    display: flex;
    align-items: center;
    gap: 24px;
}
.dash-hero__icon {
    color: rgba(255, 255, 255, 0.8);
    font-size: 64px;
    line-height: 64px;
}
.dash-hero__label {
    color: #FFFFFF;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
}
.dash-hero__amount {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
}
.dash-hero__btn {
    background: #FFFFFF;
    border: 1px solid #FFFFFF;
    border-radius: 8px;
    color: #00C0C8;
    padding: 8px 16px;
    height: 48px;
}

/* ===== Dashboard: Metric Cards ===== */
.metric-card {
    background: rgba(0, 192, 200, 0.1);
    border-bottom: 3px solid #00C0C8;
    border-radius: 8px;
}
.metric-card .card-body {
    padding: 24px;
}
.metric-card__content {
    display: flex;
    align-items: center;
    gap: 24px;
}
.metric-card__icon {
    font-size: 36px;
    line-height: 36px;
    color: #00C0C8;
}
.metric-card__label {
    color: #00C0C8;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    margin: 0;
}
.metric-card__amount {
    color: #00C0C8;
    font-weight: 700;
    font-size: 22px;
    line-height: 28px;
    margin: 0;
}

/* ===== Dashboard: Empty State Cards ===== */
.empty-card {
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}
.empty-card .card-header {
    background: #FFFFFF;
    border-bottom: 1px solid #E5EAEE;
    min-height: 50px;
    padding: 0;
}
.empty-card__title {
    color: rgba(42, 53, 70, 0.5);
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
}
.empty-card .card-body {
    padding: 16px;
}
.empty-card__box {
    background: rgba(235, 241, 245, 0.5);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    height: 100%;
    /* min-height: 265px; */
}
.empty-card__icon { font-size: 48px; line-height: 48px; color: rgba(42, 53, 70, 0.7); }
.empty-card__text {
    color: rgba(42, 53, 70, 0.7);
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    margin: 0;
}

/* ===== Modal Styling ===== */
.modal-content {
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    border: 0;
}

.modal-header {
    border-bottom: 0;
    padding: 20px 24px 0 24px;
}

.modal-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 24px;
    color: #2A354F;
}

.modal-body {
    padding: 16px 24px 20px 24px;
}

.modal-footer {
    border-top: 0;
    padding: 0 24px 24px 24px;
}

/* Modal Statistik */
.stats-modal__travel {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #2A354F;
    margin-bottom: 4px;
}

.stats-modal__package {
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    color: #00C0C8;
    margin-bottom: 16px;
}

.stats-modal__box {
    background: rgba(0, 192, 200, 0.08);
    border-radius: 8px;
    padding: 16px;
}

.stats-modal__item {
    margin-bottom: 12px;
}

.stats-modal__item:last-child {
    margin-bottom: 0;
}

.stats-modal__label {
    font-size: 14px;
    line-height: 18px;
    color: #2A354F;
    margin-bottom: 4px;
}

.stats-modal__value {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
    color: #00C0C8;
}

.stats-modal__btn {
    background: #FFFFFF;
    border: 1px solid #00C0C8;
    border-radius: 8px;
    color: #00C0C8;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
}

.stats-modal__btn:hover {
    background: rgba(0, 192, 200, 0.08);
    border-color: #00C0C8;
    color: #00C0C8;
}

/* Modal Tarik Dana */
.withdraw-modal__balance-box {
    background: rgba(0, 192, 200, 0.08);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

.withdraw-modal__balance-label {
    font-size: 14px;
    line-height: 18px;
    color: #2A354F;
    margin-bottom: 4px;
}

.withdraw-modal__balance-amount {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #00C0C8;
}

.withdraw-modal__form-label {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #2A354F;
    margin-bottom: 8px;
}

.withdraw-modal__form-control {
    border: 1px solid #E5EAEE;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 18px;
}

.withdraw-modal__form-control:focus {
    border-color: #00C0C8;
    box-shadow: 0 0 0 0.2rem rgba(0, 192, 200, 0.25);
}

.withdraw-modal__help-text {
    font-size: 12px;
    line-height: 16px;
    color: #6C757D;
    margin-top: 4px;
}

.withdraw-modal__btn-cancel {
    background: #FFFFFF;
    border: 1px solid #00C0C8;
    border-radius: 8px;
    color: #00C0C8;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
}

.withdraw-modal__btn-cancel:hover {
    background: rgba(0, 192, 200, 0.08);
    border-color: #00C0C8;
    color: #00C0C8;
}

.withdraw-modal__btn-submit {
    background: #00C0C8;
    border: 1px solid #00C0C8;
    border-radius: 8px;
    color: #FFFFFF;
    padding: 8px 16px;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
}

.withdraw-modal__btn-submit:hover {
    background: #00A8B0;
    border-color: #00A8B0;
    color: #FFFFFF;
}

div.dataTables_wrapper div.dataTables_info {
    padding-top: 0px !important;
}

.dataTables_filter,
.dataTables_length {
    margin-bottom: 0px !important;
}

/* Material Icons Styling */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 18px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

/* Material Icons size adjustments */
.material-icons.fs-8 {
    font-size: 0.875rem;
}

.sidebar-link .material-icons {
    font-size: 18px;
    color: #01C0C8;
}

.sidebar-link.active .material-icons {
    color: #01C0C8;
}

.mobile-bottom-nav .material-icons {
    font-size: 20px;
    color: #9e9e9e;
}

.mobile-bottom-nav a.active .material-icons {
    color: #01c0c8;
}

/* Smaller icons for buttons and inline elements */
.btn .material-icons,
button .material-icons {
    font-size: 16px;
}

/* Icons in table actions */
.table .material-icons,
.dropdown-item .material-icons {
    font-size: 16px;
}

/* Icons in cards and metrics */
.card .material-icons,
.metric-card__icon .material-icons {
    font-size: 20px;
}

/* Icons in empty states */
.empty-card__icon.material-icons {
    font-size: 36px;
}

/* Icons in hero sections */
.dash-hero__icon .material-icons {
    font-size: 48px;
}

/* Icons in small text contexts */
small .material-icons,
.text-muted .material-icons {
    font-size: 14px;
}

/* Icons in headers */
.display-6 .material-icons {
    font-size: 32px;
}

/* Icons with me-1, me-2 spacing */
.me-1 .material-icons,
.me-2 .material-icons {
    font-size: 16px;
}

/* Icons in form inputs */
.form-control + .material-icons,
.input-group .material-icons {
    font-size: 16px;
}