@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

*{
    font-family: 'Plus Jakarta Sans', sans-serif;
}

:root{
    /* Old Colors */
    --green: #00A86A;
    --green-subtle:rgb(209, 242, 229);
    --darkBlue: #003366;
    --blue: #00BEBE;
    --blue-subtle: #A9E8E8;
    --red: #E30031;
    --red-subtle: #F68BA2;
    --yellow: #CDA000;
    --yellow-subtle: #F5E29E;
    --purple: #9B59B6;
    --purple-subtle:rgb(255, 194, 242);
    --orange: #FF8500;
    --orange-subtle: #F5D19E;
    --pink: #FF69B4;
    --pink-subtle: #F69EB4;
    --gray: #808080;

    /* New Colors */
    --border: #E8ECF2;
    --text-primary: #012535;
    --text-secondary: #7f7f7f;
    --crimson: #cc0a4d;
    --cloud: #d2d5db;
    --primary: #403294;
    --secondary: #efecff;
}

.fs-8{
    font-size: 8px;
}

.fs-10{
    font-size: 10px;
}

.fs-12{
    font-size: 12px;
}

.fs-14{
    font-size: 14px;
}

.fs-16{
    font-size: 16px;
}

.fs-18{
    font-size: 18px;
}

.fs-20{
    font-size: 20px;
}

.fs-22{
    font-size: 22px;
}

.fs-24{
    font-size: 24px;
}

.fs-26{
    font-size: 26px;
}

.fs-28{
    font-size: 28px;
}

.fw-200{
    font-weight: 200;
}

.fw-300{
    font-weight: 300;
}

.fw-400{
    font-weight: 400;
}

.fw-500{
    font-weight: 500;
}

.fw-600{
    font-weight: 600;
}

.fw-700{
    font-weight: 700;
}

.p-5{
    padding: 5px;
}

.p-10{
    padding: 10px;
}

.p-15{
    padding: 15px;
}

.p-20{
    padding: 20px;
}

.pl-5{
    padding-left: 5px;
}

.pl-10{
    padding-left: 10px;
}

.pl-15{
    padding-left: 15px;
}

.pl-20{
    padding-left: 20px;
}

.p-30{
    padding: 30px;
}

.pr-5{
    padding-right: 5px;
}

.pr-10{
    padding-right: 10px;
}

.pr-15{
    padding-right: 15px;
}

.pr-20{
    padding-right: 20px;
}

.pt-5{
    padding-top: 5px;
}

.pt-10{
    padding-top: 10px;
}

.pt-15{
    padding-top: 15px;
}

.pt-20{
    padding-top: 20px;
}

.pb-5{
    padding-bottom: 5px;
}

.pb-10{
    padding-bottom: 10px;
}

.pb-15{
    padding-bottom: 15px;
}

.pb-20{
    padding-bottom: 20px;
}

.m-5{
    margin: 5px;
}

.m-10{
    margin: 10px;
}

.m-15{
    margin: 15px;
}

.m-20{
    margin: 20px;
}

.ml-5{
    margin-left: 5px;
}

.ml-10{
    margin-left: 10px;
}

.ml-15{
    margin-left: 15px;
}

.ml-20{
    margin-left: 20px;
}

.mr-5{
    margin-right: 5px;
}

.mr-10{
    margin-right: 10px;
}

.mr-15{
    margin-right: 15px;
}

.mr-20{
    margin-right: 20px;
}

.mt-5{
    margin-top: 5px;
}

.mt-10{
    margin-top: 10px;
}

.mt-15{
    margin-top: 15px;
}

.mt-20{
    margin-top: 20px;
}

.mb-5{
    margin-bottom: 5px;
}

.mb-10{
    margin-bottom: 10px;
}

.mb-15{
    margin-bottom: 15px;
}

.mb-20{
    margin-bottom: 20px;
}

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

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

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

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

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

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

.container{
    padding: 0 !important;
    /* margin: 0 !important; */
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    color:var(--text-primary);
}

.app{
    min-height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    width: 100vw;
    height: 100vh;
    max-width: 500px;
    padding-bottom: 100px;

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

a{
    text-decoration: none;
    color:var(--primary);
}



.rd-5{
    border-radius: 5px;
}

.rd-tl-5{
    border-top-left-radius: 5px;
}

.rd-tr-5{
    border-top-right-radius: 5px;
}

.rd-bl-5{
    border-bottom-left-radius: 5px;
}

.rd-br-5{
    border-bottom-right-radius: 5px;
}

.rd-10{
    border-radius: 10px;
}

.rd-tl-10{
    border-top-left-radius: 10px;
}

.rd-tr-10{
    border-top-right-radius: 10px;
}

.rd-bl-10{
    border-bottom-left-radius: 10px;
}

.rd-br-10{
    border-bottom-right-radius: 10px;
}

.rd-15{
    border-radius: 15px;
}

.rd-tl-15{
    border-top-left-radius: 15px;
}

.rd-tr-15{
    border-top-right-radius: 15px;
}

.rd-bl-15{
    border-bottom-left-radius: 15px;
}

.rd-br-15{
    border-bottom-right-radius: 15px;
}

.rd-20{
    border-radius: 20px;
}

.rd-tl-20{
    border-top-left-radius: 20px;
}

.rd-tr-20{
    border-top-right-radius: 20px;
}

.rd-bl-20{
    border-bottom-left-radius: 20px;
}

.rd-br-20{
    border-bottom-right-radius: 20px;
}

.bg-green{
    background-color: var(--green);
    color:white;
}

.bg-green-subtle{
    background-color: var(--green-subtle);
    color:var(--green);
}

.border-green{
    border: 1px solid var(--green);
}

.bg-red{
    background-color: var(--red);
    color:white;
}

.bg-red-subtle{
    background-color: var(--red-subtle);
    color:var(--red);
}

.border-red{
    border:1px solid var(--red);
}

.bg-yellow{
    background-color: var(--yellow);
    color:white;
}

.border-yellow{
    border:1px solid var(--yellow);
}

.bg-blue{
    background-color: var(--blue);
    color:white;
}

.border-blue{
    border: 1px solid var(--blue);
}

.bg-orange{
    background-color: var(--orange);
    color:white;
}

.border-orange{
    border:1px solid var(--orange);
}

.bg-purple{
    background-color:var(--purple);
    color:white;
}

.border-purple{
    border:1px solid var(--purple);
}

.btn-primary{
    background-color: var(--primary);
    color:white;
    border:none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    outline: none;
    text-align: center;
}

.btn-primary:hover, .btn-secondary:hover{
    background-color: var(--cloud);
    color:var(--text-primary);
}

.btn-secondary{
    background-color: var(--secondary);
    color:var(--primary);
    border:none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    outline: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-green{
    background-color: var(--green);
    color:white;
    border:none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    outline: none;
    text-align: center;
}

.btn-green img, .btn-secondary img, .btn-primary img{
    width: 18px;
}

.divider{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    position: relative;
}

.divider::before{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background-color: var(--border);
    z-index: 1;
}

.divider span{
    background-color: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    font-size: 12px;
    color: var(--text-secondary);
}

.divider span{
    font-size: 12px;
    color:var(--text-secondary);
}

.bg-body-2{
    background-color: #f5f5f5;
}

.section-title{
    color:var(--text-primary);
    font-size: 12px;
    font-weight: 500;
    display: block;
    margin-bottom: 3px;
}

.section-subtitle{
    color:var(--text-secondary);
    font-size: 10px;
    font-weight: 300;
    display: block;
    margin-bottom: 10px;
}

.radio-group{
    display:flex;
    flex-wrap: wrap;
    align-items: center;
    gap:10px;
}

.radio-group label{
    flex:1;
    min-width:30%;
}

.radio-group label span{
    gap:10px;
    background-color: var(--border);
    padding:5px 10px;
    border-radius: 25px;
    font-size:12px;
    font-weight:400;
    color:var(--text-primary);
    text-align: center;
    width:100%;
    display:block;
    overflow: hidden;
}

.radio-group label input{
    display:none;
}

.radio-group label input:checked + span{
    background-color: var(--primary);
    color:white;
    border-radius: 25px;
}

.radio-group label:hover{
    background-color: var(--primary);
    color:white;
    border-radius: 25px;
}

.gateway-item{
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding:5px;
    border-radius: 40px;
    background-color: var(--border);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gateway-item:hover{
    background-color: var(--primary);
    color:white;
}

.header-top{
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding:10px 20px;
    background-color: var(--primary);
    color:white;
    font-size:14px;
    position:sticky;
    font-weight: 500;
    top:0;
    z-index:1000;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
}

.header-top img{
    height:20px;
    width:20px;
}

.header-right{
    min-width:10px;
}

.text-justify{
    text-align: justify;
}

.btn-badge{
    background-color: white;
    color:var(--text-primary);
    padding:5px 25px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    display:inline-flex;
    gap:10px;
    box-shadow: 2px 2px 10px 2px rgba(0, 0, 0, 0.29);
}

.btn-badge img{
    width:15px;
}

.btn-badge span{
    font-size:12px;
    font-weight:500;
    color:var(--text-primary);
}

.lucky-bg{
    background-image: url(../image/pic/bg-spin.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.machine{
    width:350px;
    height:350px;
    background-image: url('../image/pic/machine.png');
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    text-align: center;
    justify-content: center;
    display:flex;
}

.topnav{
    display:flex;
    align-items: center;
    justify-content: space-between;
    padding:10px 20px;
    background-color:rgba(255, 45, 45, 0.24);
    color:white;
    font-size:14px;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.1);
}

.topnav a img{
    width:30px;
    height:30px;
}

.text-overflow{
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.btn-badge-primary{
    background-color: var(--primary);
    color:white;
    padding:5px 25px;
    border-radius: 25px;
    align-items: center;
    justify-content: center;
    display:inline-flex;
    gap:10px;
    font-size:12px;
    font-weight:300;
    color:white;
    border:none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.tier-item.task .tier-right{
    width:100px;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.bg-primary{
    background-color: var(--primary) !important;
}

.profile-header{
    background-image: url(../image/pic/profile-bg.png);
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    width:100%;
    height:100px;
    position:relative;
}

.profile-info{
    display:flex;
    align-items:center;
    gap:10px;
    position:absolute;
    bottom:-5px;
    left:20px;
}

.profile-image{
    width:70px;
    height:70px;
    border-radius:50%;
    overflow:hidden;
    border:6px solid white;
}

.profile-image img{
    width:100%;
    height:100%;
}