.navbar .logo {
    height: 50px;
    width: auto;
}
.navbar-toggler {
    border: none;
}
.navbar-collapse.show {
    z-index: 99999;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
}
.navbar-collapse.show .d-flex{
    display: unset !important;
}
.navbar-collapse.show a {
    margin: 10px 50px 0 50px;
}
.navbar-collapse.show .login-menu {
    color: #0a0a0a !important;
    border: 1px solid #0a0a0a !important;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
#navbarContent {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#navbarContent.show {
    opacity: 1;
}
@media (min-width: 992px) {
    #navbarContent {
        opacity: 1;
        transition: none;
    }
}
@media (max-width: 500px) {
    .info-candy img{
        width: 50%;
    }
    .info-candy h2{
        font-size: 13px;
    }
    .info-candy p{
        font-size: 10px;
    }
}


.topup-wrapper {
    padding: 40px;
    background-image: url(../images/image-form.png);
    background-size: cover;
}

.topup-wrapper h2 {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-align: center;
}

.topup-wrapper h2 span {
    color: #57D4FF;
}

.topup-wrapper h3 {
    margin-bottom: 20px;
    color: white;
    font-size: 16px;
    font-weight: 700;
}

.topup-wrapper .form-topup {
    background-color: #FFFFFF1A;
    padding: 28px;
    margin-top: 28px;
}

.form-topup .form-group {
    margin-bottom: 20px;
    color: white;
}

.form-topup .form-group label {
    margin-bottom: 8px;
}

.form-topup .form-group .form-input {
    display: block;
    width: 100%;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 12px;
    outline: none;
    border: double 1px transparent;
    border-radius: 10px;
    background-image: linear-gradient(#1D1E33, #1D1E33),
                        linear-gradient(to right, #26C5F3 -13.94%, #BF3DFF 126.36%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.form-topup .form-group .form-input::placeholder {
    color: rgba(255, 255, 255, 0.5); /* putih 50% transparan */
    opacity: .5;
}

.form-topup .form-group .form-input:-webkit-autofill,
.form-topup .form-group .form-input:-webkit-autofill:hover,
.form-topup .form-group .form-input:-webkit-autofill:focus,
.form-topup .form-group .form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px #1D1E33 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.text-info-large {
    font-weight: 700;
    font-size: 18px;
}


.summary-popup .card {
    background: white !important;
}

.summary-popup .card .title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.form-summary {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.show-on-mobile {
    display: none;
}


@media (max-width: 767.98px) {
    .topup-wrapper {
        padding: 20px;
    }

    .topup-wrapper .form-topup {
        padding: 14px;
        margin-top: 0px;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .show-on-mobile {
        display: block;
    }

    .navbar-mobile {
        padding-top: 10px !important;
        padding-bottom: 12px !important;
    }
}

.select-template {
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #26C5F3;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: .3s all;
    cursor: pointer;
    /* width: 160px; */
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

.select-template .template-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.select-template .text-rp {
    font-size: 11px;
}

.select-template .text-free {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 10px;
    background-color: #FFEE92;
    color: #0a0a0a;
    border-radius: 10px;
    padding: 2px 4px;
    font-weight: 700;
}

.select-template.active, .select-template:hover {
    background: rgba(38, 197, 243, .2);
}

.scroll-x-custom {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px; /* agar tidak terlalu mepet scrollbar */
}

/* Webkit-based (Chrome, Edge, Safari) */
.scroll-x-custom::-webkit-scrollbar {
    height: 8px;
}

.scroll-x-custom::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.scroll-x-custom::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 10px;
}

.scroll-x-custom::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Firefox */
.scroll-x-custom {
    scrollbar-width: thin;
    scrollbar-color: #444 rgba(255, 255, 255, 0.1);
}


.select-payment {
    border: 5px solid transparent;
    padding: 5px;
    border-radius: 10px;
    cursor: pointer;
    transition: .1s;
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.select-payment.active {
    border: 5px solid #D02E67 !important;
}

.select-payment.active::after {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 36px;
    height: 36px;
    background-image: url('./../images/newpayments/ic_check_red.svg');
    background-size: contain;
    background-repeat: no-repeat;

}

.select-payment img {
    width: 100%;
    /* max-height: 40px; */
    object-fit: contain;
}


@media (min-width: 992px) {
    .payment-wrapper {
        max-width: 70%;
        margin-left: auto;
        margin-right: auto;
    }
}
