/* popup */
.nav {
    background-color: #EC668B !important;
}
.popup {
    width: 100%;
    height: 100vh;
    background-color: #00000069;
    position: fixed;
    top: 0;
    left: 0;
}

.popup .modal {
    display: inline-flex;
    padding: 20px;
    height: fit-content;
    border-radius: 10px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 400px;
    transform: translate(-50%, -50%);
    background-color: var(--secondary-2);
}

.popup .modal p {
    font-weight: 600;
    text-align: center;
}

.popup .modal button {
    width: 120px;
}

.pagination-custom .page-link {
    border: 0px solid transparent !important;
    background-color: #fff !important;
    color: #3A4969;
    border-radius: 5px;
}
main {
    min-height: 100vh;
}
.info-page {
    color: #6C757D;
}
.pagination-custom .active .page-link {
    background-color: #27AAE1 !important;
    color: #fff;
}
.pagination-custom .prev {
    margin-right: 20px;
}
.pagination-custom .next {
    margin-left: 20px;
}
form label {
    font-weight: 500;
}
.table thead th,.table tbody td {
    padding-left: 15px;
    padding-right: 15px;
}
.table td {
    font-weight: 500;
    color: #212529;
}
.bg-form {
    background-color: #F8F9FA;
    border-radius: 12px;
}
.form-custom,.form-select-custom {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #fff !important;
    border-radius: 12px;
}
.form-custom::placeholder {
    color: #CED4DA;
}
.badges {
    display: unset !important;
}
.dropdown-menu {
    border: 0px solid transparent !important;
    background: #fff !important;
    box-shadow: 0px 40px 100px 0px #44444F1A !important;
    font-weight: 600;
    font-size: 12px;
}
.text-success {
    color: #1C9F3C;
}
.text-danger {
    color: #FB4141;
}
.img-show {
    width: 400px;
    height: 200px;
    background-color: #000;
    border-radius: 10px;
    cursor:pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url("../../images/bg.png");
}
.position-bottom {
    position: absolute;
    left: 0 !important;
}

.nav.bg-white {
    box-shadow: 0px 6px 15px 0px rgba(197, 204, 205, 0.20);
}

.select2-container .select2-selection--single {
    height: 50px !important;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 50px !important;
}
.select2-container--default .select2-selection--single {
    border-radius: 12px !important;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    padding-left: 5px;
}
span.select2-selection__rendered {
    padding-left: 12px !important;
}
.select2-selection__clear {
    display: none !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-left: -12px !important;
    margin-top: 10px !important;
}
.select2-results__option,.select2-search--dropdown .select2-search__field {
    padding: 15px !important;
}
.custom-position-button {
    position: fixed;
    bottom: 20px;
    left: 0;      /* Stick to the left */
    right: 0;     /* Stick to the right */
    width: 100%;  /* Full width */
    padding-left: 70px;  /* Optional padding */
    padding-right: 70px; /* Optional padding */
}
.bg-withdraw {
    background-color: #27AAE1;
    width: 100%;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: center;
    background-image: url('../../images/bg_withdraw.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 12px;
    color: #fff;
}
.bg-withdraw p {
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 12px;
    font-weight: 500;
}
.bg-withdraw h6 {
    font-size: 20px;
    font-weight: bold;
}
.btn-white {
    color: #D02E67;
    background: #fff;
    border-radius: 12px;
    padding-left: 80px;
    padding-right: 80px;
    border-color: transparent !important;
}

/* navigasi */
.navigasi {
    box-shadow: 0 -4px 20px 0 rgba(197, 204, 205, 0.22);
    position: fixed;
    z-index: 3;
    bottom: 0;
    display: flex;
    background-color: var(--secondary-2);
    min-height: 65px;
    padding: 12px 20px;
}

.navigasi a {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    color: var(--primary-2);
    font-weight: 400;
}

.navigasi a:hover {
    color: var(--primary-2);
}

.navigasi .btn {
    padding: 0;
    border: none;
}

.navigasi .btn:active {
    color: var(--primary-2);
}

.navigasi svg {
    color: var(--primary-2);
}

@media(max-width: 900px) {
    .nav {
        width: 100%;
    }

    .popup .card {
        width: 350px;
    }

    .card-filter {
        width: 350px;
    }

    .navigasi {
        width: 100%;
    }

    .card.card-filter {
        width: 100%;
    }


}

@media(min-width: 901px) {
    .nav {
        width: 900px;
    }

    .popup .card {
        width: 420px;
    }

    .card-filter {
        width: 550px;
    }
    .navigasi {
        width: 900px;
    }
    .card.card-filter {
        width: 860px;
    }
}
.nav-active p{
    font-weight: bold;
}
.nav-active svg {
    fill: #e44f7c;
}
.nav-active svg path {
    stroke: #fff !important;
}
.table tbody td {
    padding-top: 15px;
    padding-bottom: 15px;
}
.table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-bg-type: #fff;
}

.table-striped>tbody>tr:nth-of-type(even)>* {
    background-color: #f2f2f296; /* Default Bootstrap stripe color */
}
.footer h1 {
    font-size: 18px;
}
.footer p {
    font-size: 14px;
}
.text-start p {
    font-size: 16px;
}
.info-box {
    border-radius: 12px;
    border: 0.5px solid #2F79A4;
    background: #C1EFFF;
    padding: 10px;
}
.info-box span {
    font-weight: bold;
    font-size: 16px;
}
.info-box i {
    color: #2F79A4;
}
.input-group svg {
    padding-right: 10px;
    padding-left: 20px;
}
.input-group.align-items-center {
    background-color: #F8F9FA;
}
.form-search {

}
.nav svg {
    font-size: 20px;
}
.bg-white {
    background-color: #fff !important;
}
.bg-grey {
    background-color: #c7c7c7 !important;
}
.badges-soft-yellow {
    color: #f9b700;
    background-color: #fef9dd;
}
.custom-tutup {
    margin-right: 20px;
    border: 1px solid;
    padding: 10px;
    border-radius: 20px;
}
.custom-tutup:hover {
    background-color: #fff;
    color: #EC668B !important;
    transition: ease-in-out 0.3s;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: fit-content;
    font-size: 12px;
    font-family: system-ui,sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: #0000;
    -webkit-text-stroke: 1px #000;
    background:
        linear-gradient(-60deg,#0000 45%,#000 0 55%,#0000 0)
        0/300% 100% no-repeat text;
    animation: l3 2s linear infinite;
}
.loader:before {
    content: "Sedang Menghitung";
}
@keyframes l3 {
    0%{background-position: 100%}
}

.floating-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}
.floating-wa:hover {
    background-color: #1eb954;
    text-decoration: none;
}
