.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;
    }
}

.wizard-content {
    min-height: 500px;
    /* Sesuaikan dengan kebutuhan */
    padding-bottom: 80px;
    /* Memberikan ruang untuk button */
}

.wizard>.actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: #fff;
    border-top: 1px solid #eee;
}

.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: 100px;
    }

    .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 Alignment Fixes */
.dataTables_wrapper .dataTables_length {
    float: left;
    margin-bottom: 10px;
}

.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;
    }
}