@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;

    /* hilangkan scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
    &::-webkit-scrollbar {
        display: none;
    }
}

:root {
    --background-dark : #2F3462;
    --background-light : #f9f9f9;
    --background-trans1 :rgba(17, 17, 17, 0.4);
    --background-trans2 :rgba(255, 255, 255, 0.1);
    --background-trans3 :rgba(0, 0, 0, 0.05);
    --background-trans4 :#3d447b;
    --blue-1 : #009fd4;
    --blue-2 : #00a7f7;
    --red-1 : #ff5a75;
    --green-1 : #00c566;
    --text-light : #fefefe;
    --text-dark : #111111;
    --text-secondary : #8c8c8c;
    
    /* Sistem padding dan margin */
    --spacing-unit: 1px;
}

body{
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: 1px;
    font-family: 'Montserrat Alternates', sans-serif !important;
    font-style: normal;
}

input, select{
    /* hilangkan atribut appearance */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;

    /* hilangkan arrow up down pada number */
    &::-webkit-outer-spin-button,
    &::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    
}

/* Sistem padding */
.p {
    padding: calc(var(--p) * var(--spacing-unit));
}

.pl {
    padding-left: calc(var(--pl) * var(--spacing-unit));
}

.pr {
    padding-right: calc(var(--pr) * var(--spacing-unit));
}

.pt {
    padding-top: calc(var(--pt) * var(--spacing-unit));
}

.pb {
    padding-bottom: calc(var(--pb) * var(--spacing-unit));
}

/* Sistem margin */
.m {
    margin: calc(var(--m) * var(--spacing-unit));
}

.ml {
    margin-left: calc(var(--ml) * var(--spacing-unit));
}

.mr {
    margin-right: calc(var(--mr) * var(--spacing-unit));
}

.mt {
    margin-top: calc(var(--mt) * var(--spacing-unit));
}

.mb {
    margin-bottom: calc(var(--mb) * var(--spacing-unit));
}

.fs {
    font-size: calc(var(--fs) * var(--spacing-unit));
}

.fw{
    font-weight: var(--font-weight);
}

.text-secondary{
    color: var(--text-secondary) !important;
}

.text-secondary2{
    color: #f7f7f7 !important;
}

.text-blue-1{
    color: var(--blue-1) !important;
}

.text-blue-2{
    color: var(--blue-2) !important;
}

.text-red-1{
    color: var(--red-1) !important;
}

.text-light{
    color: var(--text-light) !important;
}

.text-green-1{
    color: var(--green-1) !important;
}

.btn{
    color: var(--text-light);
    border-radius: 5px;
    padding: 15px 20px;
    text-decoration: none;
    outline: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 16px;
}

.btn-primary{
    background-color: var(--blue-1);
}

.btn-danger{
    background-color: var(--red-1);
}

.background-dark{
    background-color: var(--background-dark);
}

.background-light{
    background-color: var(--background-light);
}

.container-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.content {
    max-width: 500px;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    padding-bottom: 80px;
    overflow-y: auto;
    position: relative;
}

.standard-form{
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.standard-form label{
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.standard-form input,
.standard-form select{
    font-size: 14px;
    font-weight: 400;
    padding: 15px;
    background-color:rgba(17, 17, 17, 0.40);
    border-radius: 10px;
    border: none;
    outline: none;
    color: var(--text-light);
}

.icon-input{    
    position: relative;
}

.icon-input img{
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.icon-input .end-icon{
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 1px;
}

.icon-input input,
.icon-input select{
    padding-left: 50px;
    width: 100%;
}

.hero-section{
    padding: 30px;
    background-color: var(--background-dark);
    border-radius: 0 0 25px 25px;
    color: var(--text-light);
}

.user-info{
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info img{
    width: 50px;
}

.user-info h6{
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0;
}

.user-info small{
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.card-custom-1{
    margin-top: 25px;
    background-image: url('../img/card-1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    height:55vw;
    min-height: 200px;
    max-height:270px;
    border-radius: 20px;
    padding: 25px;
    color: var(--text-light);
}

.menu-center{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
}

.menu-center a{
    width: 33.3%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1px;
}

.section-title{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title h3{
    font-size: 16px;
    font-weight: 600;
}

.section-title a{
    font-size: 12px;
    font-weight: 400;
    color: var(--blue-2);
    text-decoration: none;
}

.slide-card{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
    overflow-x: auto;
    padding:15px 0;
}

.card-slide-item{
    width: 55vw;
    min-width: 230px;
    max-width: 300px;
    padding: 25px;
    background-color: white;
    border-radius: 20px;
    color: var(--text-dark);
}

.card-slide-item a{
    text-decoration: none;
    color: var(--blue-2);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
}

.trend-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.coin-name{
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
}

.coin-symbol{
    font-size: 16px;
    font-weight: 400;
    color: var(--text-secondary);
    display: block;
    margin-top: 5px;
}

.coin-change{
    font-size: 15px;
    font-weight: 600;
    display: block;
    margin-top: 5px;
    text-align: right;
}

.navigation{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--background-dark);
    padding: 15px;
    gap: 10px;
    z-index: 1000;
}

.navigation a{
    text-decoration: none;
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    width:20%;
}

.navigation a img{
    width: 24px;
    height: 24px;
}

.navigation a.main img{
    width: 35px;
    height: 35px;
}

.headernav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
}

.header-link{
    text-decoration: none;
}

.header-link img{
    width: 24px;
    height: 24px;
}

.header-title{
    font-size: 18px;
    font-weight: 600;
}

.boxy-card{
    background-color:var(--background-trans4);
    border-radius: 10px;
    padding: 20px;
}

.boxy-card small{
    font-size: 12px;
    color: var(--text-light);
    display: block;
    margin-bottom: 10px;
}

.boxy-card h2{
    font-size: 24px;
    font-weight: 600;
    color: var(--text-light);
    padding: 0;
    margin: 0;
}

.menu-change{
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
}

.menu-change a{
    text-decoration: none;
    color: var(--text-light);
    background-color: var(--background-trans3);
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
}

.menu-change a.active{
    background-color: var(--blue-2);
}

.boxy-history{
    background-color: var(--background-trans4);
    border-radius: 10px;
}

.badge{
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 200;
    letter-spacing: 1px;
}

.badge-pending{
    background-color: var(--background-trans2);
    color: var(--text-secondary);
}

.badge-success{
    background-color:rgba(0, 197, 102, 0.35);
    color: var(--green-1);
}

.badge-danger{
    background-color:rgba(255, 90, 117, 0.35);
    color: var(--red-1);
}

.custom-input{
    position: relative;
}

.custom-input input{
    padding: 15px;
    padding-right: 50px;
    width: 100%;
    border-radius: 10px;
    border: none;
    outline: none;
    background-color: transparent;
    color: white;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
}

.custom-input .end-icon{
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 1px;
}

.qrcode{
    width: 200px;
    height: 200px;
    background-color: white;
    padding: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-overflow{
    /* address yang panjang akan di berikan enter / baris baru */
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
    overflow: auto;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
    text-align: center;
}

.word-wrap{
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-all;
    overflow-wrap: break-word;
    overflow: auto;
    text-overflow: ellipsis;
}

.radio-item{
    margin-bottom: 15px;
}

.radio-group input{
    display: none;
}

.radio-group label{
    background-color: var(--background-trans1);
    padding: 15px 25px;
    border-radius: 10px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
}

.radio-group label span{
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-light);
    display: block;
    margin-bottom: 5px;
}

.radio-group label small{
    font-size: 12px;
    display: block;
    color: var(--text-secondary);
}

.radio-group label:hover{
    background-color: var(--background-trans2);
}

.radio-group input:checked + label{
    background-color: var(--blue-2);
}

.jxchange{
    font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.cards{
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background-color: var(--background-trans3);
    border-radius: 10px;
    padding: 20px;
}

.cards small{
    font-size: 12px;
}

.qris-view img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-slider{
    display: flex;
    align-items: center;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    &::-webkit-scrollbar {
        display: none;
    }
    padding: 0 30px;
}

.menu-slider a{
    text-decoration: none;
    color: var(--text-secondary);
}

.menu-slider a.active{
    color: var(--text-light);
}

#chart{
    height: 200px;
}

.card-custom-2{
    background-image: url('../img/card-2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
    min-height: 170px;
    aspect-ratio: 315/170;
    border-radius: 20px;
    padding: 25px;
    color: var(--text-light);
    position: relative;
}

.image-card{
    width: 40px;
    height: 40px;
}

.bottom-card{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
}

.btn-custom-2{
    background-color: var(--red-1);
    color: var(--text-light);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    outline: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    &:hover{
        background-color: var(--red-1);
    }
}

.settings-menu a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-light);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-top: 30px;
    color: var(--text-dark);
}

.settings-menu a img{
    width: 24px;
    height: 24px;
}

.settings-menu a span{
    font-size: 14px;
}

.settings-menu.text-white a{
    color: var(--text-light);
}

.background-image{
    background-image: url('../img/BG.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    width: 100%;
    min-height: 160px;
    max-height: 160px;
    border-radius: 10px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    position: relative;
}

.background-image span{
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 1px;
}

.background-image small{
    font-size: 14px;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--text-light);
}

.logo-wrap{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -15vw;
}

.logo-circle{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--background-trans4);
    padding: 10px;
    border: 5px solid var(--background-dark);
    position: relative;
    z-index: 1000;
}

.logo-circle img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.box-add-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100px;
    border-radius: 10px;
    border: 2px dashed var(--blue-2);
}

.box-add-btn a{
    text-decoration: none;
    color: var(--blue-2);
    font-weight: 600;
}

.payemnt-card{
    background-color: var(--background-trans4);
    border-radius: 10px;
    padding: 20px;
}

.bank-name{
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-light);
}

.bank-number{
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.card-name small{
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 3px;
}

.card-name span{
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
}

.description{
    font-size: 14px;
    font-weight: 400;
    color: var(--text-light);
    margin-top: 5px;
    line-height: 1.4;
    letter-spacing: 1px;
    text-align: justify;
    padding-left: 17px;
}

.card-table{
    background-color: var(--background-trans3);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 15px;
}

.card-table-header{
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    padding: 15px 20px;
    background-color: var(--background-trans1);
}

.card-table-body{
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-table-body small{
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 5px;
}

.card-table-body span{
    font-size: 14px;
    font-weight: 600;
}

.alert-wrap{
    position: fixed;
    bottom: 30px;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    padding:30px;
    display:none;
    transition: all 0.3s ease;
}

.alert-wrap.active{
    display: block;
}

.alert-item{
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    background-color: var(--background-trans4);
    border-radius: 10px;
    display: flex;
    overflow: hidden;
    position: relative;
}

.alert-image{
    width: 60px;
    min-width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.alert-image img{
    width: 40px;
}

.alert-content{
    margin-left: 15px;
    padding:10px 0;
    padding-right: 15px;
}

.alert-content .alert-title{
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    display: block;
}

.alert-content .alert-message{
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    font-weight: 200;
    margin-top: 5px;
}

.alert-close{
    position: absolute;
    right: 15px;
    top: 10%;
    cursor: pointer;
}

.alert-item img{
    width: 23px;
    height: 23px;
}

.alert-item.error .alert-image{
    background-color: var(--red-1);
    background-image: url('../img/ic-error.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px;
}

.alert-item.success .alert-image{
    background-color: var(--green-1);
    background-image: url('../img/ic-success-2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px;
}

.empty{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.empty img{
    width: 140px;
}

.empty span{
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}