:root{
    /* پس‌زمینه‌های کلی */
    --body-bg:#0b0b0b;                               /* به‌جای خاکستری 4040، مشکی مدرن‌تر */
    --main-bg:#141414;
    --match-card-bg:#151515;
    --head-bg:#111111;
    --message-bg:#141414;
    --it-bg:#191919;

    /* متن و سایز */
    --main-color:#e7e7e7;
    --main-font-size:13px;
    --margin-auto:0 auto;
    --text-shadow:none;                             /* متن تمیزتر و خواناتر */

    /* کارت‌ها و آیتم‌ها */
    --card-bg:linear-gradient(160deg,#2a2a2a,#121212);
    --item-bg:#202020;
    --side-item-bg:linear-gradient(135deg,#151515,#252525);

    /* بوردر و خطوط */
    --single-border:1px solid rgba(255,255,255,0.06);
    --head-line-bg:rgba(245,197,24,0.22);           /* همون طلایی، ولی نرم‌تر و شیشه‌ای‌تر */
    --topic-line:#d8af26;                           /* خط و تایتل طلایی شیک */

    /* رنگ‌های طلایی اصلی */
    --bas-item-color:#f5c518;                       /* هایلایت‌ها / اوِدز / تگ‌ها */
    --btn-bg:#f5c518;
    --btn-shadow:0 3px 0 #9d7600;

    /* هاور ضریب‌ها / آیتم‌های مهم */
    --odds-hover:linear-gradient(57deg,#f5c518,#b58512);

    /* سایه‌ها */
    --item-shadow:0 12px 30px rgba(0,0,0,0.8);
    --message-shadow:0 12px 28px rgba(0,0,0,0.85);
    --card-shadow:0 14px 32px rgba(0,0,0,0.9);
}



*{
    margin: 0;
    padding: 0;
}
body{
    background: var(--body-bg);   
    font-size: var(--main-font-size);
    padding: 20px;
  
}
a{
    text-decoration: none;
    color: unset;
}
/* اگر از قبل hidden داری و استفاده می‌شه، همون کافیه */
.hidden {
    display: none;
}

/* بک‌گراند تیره روی کل صفحه */
.popup,
.casino-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* جعبه وسط */
.popup-content,
.casino-content {
        background: #10132105;
    border-radius: 60px;
    padding: 31px 24px;
    max-width: 365px;
    width: 80%;
    color: #fff;
    box-shadow: inset 7px -2px 17px 9px rgba(0, 0, 0, 0.5);
}

/* دکمه پاپ‌آپ اسپورت */
.popup-btn {
    margin-top: 12px;
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    background: #ffb800;
    cursor: pointer;
}

/* بالای اوورلی کازینو */
.casino-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.close-casino {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
}

/* کارت‌های بازی داخل کازینو */
.casino-games {
    display: grid;
    gap: 10px;
}

.game-card {
    background:#171b2ab0;
    border-radius: 28px;
padding: 16px 16px;}

.game-card button {
    margin-top: 8px;
    width: 100%;
    padding: 8px;
    border-radius: 999px;
    border: none;
    background: #ffb800;
    cursor: pointer;
}



.main-container{
    background: var(--main-bg);
    color: var(--main-color);
    border-radius: 15px;
    margin: var(--margin-auto);
    max-width: 1300px;
    border-radius: 30px;
}
.t-header svg{
    width: 20px;
}

.user-bx{
    display: flex;
    gap: 10px;
    border-radius: 0 15px 0 0;
    background: var(--card-bg);
    padding: 10px;
    font-size: 13px;
    cursor: pointer;
}
.user-bx img{
    width: 40px;
}
.user-bx .balance-box{
    display: flex;
    align-items: center;
    gap: 3px;
}

.t-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: var(--head-bg);
    overflow: hidden;
    box-shadow: 0px -1px 15px #181818;
    border-radius: 30px 30px 0 0;
}
.t-header::after{
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 100%;
    background: linear-gradient(-48deg,rgba(0, 0, 0, 0)55%,rgba(245, 197, 24, 0.17),#f5c5185e );
    border-radius: 15px 0 0 0;
}
.name-and-balance{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.user-prof{
    border: 1px solid #f5c518;
    border-radius: 25px;
    padding: 2px;
    box-shadow: 0px 3px 2px black;
}

.add-b-box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: var(--item-bg);
    padding: 5px 3px;
    border-radius: 20px;
    box-shadow: var(--item-shadow);

}
.add-b-box .dollar-svg{
    border-right: var(--single-border);
    margin: 0 5px;
}
.not-btn{
    background: var(--item-bg);
    padding: 10px;
    border-radius: 20px;
    box-shadow: var(--item-shadow);
}
.not-add{
    display: flex;
    gap: 5px;
}
.rewards-box{
    display: flex;
    position: relative;
    border-left: 1px solid var(--bas-item-color);
    box-shadow:55px -57px 71px #000;
}

.rewards-box::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(90deg,#f000,#303030);
}

.rewards-box img{
    width: 66px;
}
.rewards-box h1{
    color: var(--bas-item-color);
    text-shadow: var(--text-shadow);
}
.rewards-box {
    font-size: 12px;
}

.head-left-side{
    display: flex;
}

.site-bx{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    transition: max-width 0.4s ease-in;
    max-width: 220px;
    width: 220px;
    justify-content: space-between;
}
.site-bx.closed{
    overflow: hidden;
    max-width: 40px;
}
.site-bx.actived{
   max-width: 220px !important;
}

@media (max-width:768px) {
    .site-bx{
        overflow: hidden;
        max-width: 40px;
    }
}
.site-bx img{
    width: 40px;
}
.lang{
    position: relative;
}
.lang select{
    appearance: none;
    border: none;
    border-radius: 25px;
    width: 30px;
    height: 30px;
    text-align: center;
    font-size: 17px;
    background: var(--item-bg);
}
.lang .select-navigation-btn{
    position: absolute;
    width: 7px;
    right: 2px;
    bottom: -1px;
    background: var(--item-bg);
    padding: 1px;
    border-radius: 25px;
}
.site-bx .site-name{
    display: flex;
    gap: 3px;
}

.site-bx .site-name span:nth-child(1){
    font-weight: bold;
}
.site-bx .site-name span:nth-child(2){
    color: var(--bas-item-color);
}
.site-bx .close-men svg{
    padding: 6px;
    background: var(--item-bg);
    border-radius: 25px;
    height: 12px;
    width: 12px;
    border: 2px solid #404040;
    position: relative;
    top: 3px;

}

.site-bx .close-men.closed{
    position: fixed;
    z-index: 212;
    left: 67px;
    top: 77px;
    transform: rotate(180deg);
}

.search-box{
    display: flex;
    position: relative;
    background: var(--item-bg);
    padding: 7px 10px;
    border-radius: 25px;
    width: 250px;
    justify-content: space-between;
    box-shadow: var(--item-shadow);
}
.search-box input{
    background:none;
    border: none;
    outline: none;
    color: var(--main-color);
    font-size: 12px;
    text-shadow: var(--text-shadow);

}

.left-side svg{
    width: 25px;
    height: 25px;
}
.left-side{
    padding: 10px;
    width: 215px;
    background: var(--head-bg);
    padding-left: 15px;
    max-width: 220px;
    transition: max-width 0.4s ease-in;
    height: 98%;
    border-radius: 0 0 0 30px;
    border-right: 1px solid #ffcc1617;
}
.left-side.closed{
    overflow: hidden;
    max-width: 35px;
}
.left-side.closed .left-side-item{
    background: unset;
    box-shadow: unset;
}
.left-side > * {
    flex-shrink: 0; 
}

.left-side .left-side-item {
    display: grid;
    grid-template-columns: auto 3fr; 
    align-items: center;
    gap: 19px;
    margin-bottom: 15px;
    background:var(--side-item-bg);
    border-radius: 10px;
    position: relative;
    padding: 5px;
    mask-image: linear-gradient(to top, #0000 0px, black 1rem);
    box-shadow: inset 0 0 10px #181818;
    cursor: pointer;
}
.left-side-item .side-item-atach{
    position: absolute;
    right: 28px;
    bottom: -4px;
}
.left-side-item img{
    width: 55px;
}
.left-side-item .side-item-atach::after{
   content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    background: linear-gradient(180deg,#ff3c0000,#242424);
    left: 0;
    border-radius: 100px 100px 66px 66px;
}

.left-side .left-side-item .ic{
    background: var(--item-bg);
    border-radius: 20px;
    padding: 3px;
    position: relative;
    z-index: 10;
    width: 25px;
    height: 25px;
}
.left-side-item:hover .ic{
    background:linear-gradient(180deg,#d0a505 55%,#f70);
}
.left-side-item:hover{
    background: var(--item-bg);
    box-shadow: unset;
}
.left-side .left-side-item .ic:hover{
    background:linear-gradient(180deg,#d0a505 55%,#f70);
}


.hidden{
    display: none !important;
}


.left-side .left-side-item:hover .item-border-anim{
    display: block;
}
@keyframes draw {
to { stroke-dashoffset: 0; }
}



main{
    display: flex;
    justify-content: space-between;
    height: 900px;
    position: relative;
    overflow: hidden;
}

main .middle-box{
    display: flex;
    flex-direction: column;
    width: 57%;
    padding: 0 10px;
    transition: all 0.5s ease-in;
    margin: 0;
    position: relative;
    left: 0;
}
.middle-box.animate-to-right{
    left: 100%;
    overflow: hidden;
}
.middle-box.animate-to-left{
    left:-100%;
    overflow: hidden;
}

.swiper-container {
    width:100%;
    height:230px;
    margin-top: 40px;
    overflow: hidden;
    border-radius: 50px;
    box-shadow: 0px 9px 13px #0f0f0f;
    position: relative;
}
/* .swiper-container::after{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px; 
    background: rgba(27, 27, 27, 0.74);
    backdrop-filter: blur(2px); 
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
} */
.swiper-wrapper .swiper-slide{
    border-radius: 50px;
}

.swiper-pagination{
    max-width: 100px;
    left: unset !important;
    right: 30px !important;
    bottom: 15px !important;
}

.swiper-pagination-bullet{
    background: #fff;
    opacity: 0.4;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active{
    background: #f5c518;
    opacity: 1;
}

.swiper-slide{
    background-size: cover;
    background-repeat: no-repeat;
}

.slider-menu{
    display:flex;
    gap: 10px;
    position: relative;
    top: -36px;
    left: 53px;
    z-index: 10;
}
.slider-menu .slider-menu-item{
    display: flex;
    align-items: center;
    gap: 4px;
}
.slider-menu .slider-menu-item svg{
    width: 25px;
}

.live-chat{
    min-width: 250px;
    width: 250px;
    margin: 20px 5px;
    background: var(--item-bg);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.live-chat .live-chat-head svg{
    width: 25px;
}

.live-chat .live-chat-head{
    background: var(--head-bg);
    border-radius: 25px 25px 0 0 ;
    padding: 10px;
    box-shadow: 0 3px 38px #070707;
}

.live-chat .live-chat-head .title{
    display: flex;
    gap: 3px;
}


.mobile-nav{
    position: fixed;
    display: none;
    z-index: 100;
    bottom: 0;
    width: 100%;
    background: var(--head-bg);
    box-shadow: 0 -5px 12px #1a1a1a;
}
.mobile-nav-items{
    display: flex;
    width:100%;
    justify-content: space-around;
    padding: 10px 0;
    color: white;
    cursor: pointer;
}
.mobile-nav-item{
    display: flex;
    flex-direction: column;
    align-items: center;

}
.mobile-nav-item svg{
    width: 20px;
   
}


.chat-user-prof{
    width: 33px;
}

.chat-box{
    overflow: scroll;
    max-height: 84%;
    scrollbar-width: none;
}
.live-chat-item{
    margin: 10px;
    padding: 10px;
    background: #1c1c1c;
    border-radius: 15px;
    max-width: 310px;
    box-shadow: 2px 2px 0px #151515;
    animation: message 1s ease-in;
    position: relative;
}

.live-chat-item .chat-main{
    display: flex;
    gap: 10px;
    font-size: 13px;
}
.chat-body{
    width: 80%;
}
.chat-body .chat-user-name{
    margin-bottom: 7px;
    color: #b3b3b3;
}
.live-chat-item .chat-date{
    color: #b7b6b6;
    font-size: 10px;
    text-align: right;
    margin-top: 10px;
}
.chat-text{
    font-size: 12px;
    line-height: 16px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.casino-games{
    margin-top: 20px;
    padding: 12px;
    position: relative;
}
.casino-games h1{
    font-size: 16px;
    margin-bottom: 15px;
}

.casino-games .games-wrap{
    display: flex;
    gap: 10px;
    overflow: auto;
    scrollbar-width: thin;
}

.games-wrap .game-item img{
    width: 130px;
    border-radius: 18px;
    height: 100%;
    max-height: 160px;
    cursor: pointer;
}
.casino-games .games-count{
    position: absolute;
    top: 10px;
    left: 137px;
    color: #f5c518;
}
.middle-box.max{
    width:67%;
}

.sport-item-head{
    display: flex;
    padding-bottom: 6px;
    margin-bottom: 8px;
    justify-content: center;
    position: relative;
}
.sport-item-head::BEFORE{
    background: var(--head-line-bg);
    border-radius: 50%;
    bottom: 0;
    content: "";
    height: 2px;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}
.match-head-info{
    display: flex;
    gap: 10px;
    background: var(--match-card-bg); 
    position: relative;
    top: 2px;
}
.match-info{
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
.match-info img{
    width:20px !important;
}
.match-info .match-home , .match-info .match-away{
    display: flex;
    gap: 5px;
    align-items: center;
}

.match-h2h{
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 10px;
}
.match-h2h .odds{
    background: #242424;
    padding: 4px 20px;
    border-radius: 4px;
    cursor: pointer;
}
.odds:hover{
    background:var(--odds-hover);
}
.match-item{
    background:var(--match-card-bg);
    padding: 15px 10px;
    border-radius: 15px;
    box-shadow: 3px 4px 6px black;
}
.match-wrap{
    padding: 11px 8px;
}
.send-live-chat{
    position: absolute;
    bottom: 0;
    width: 100%;
    background: var(--card-bg);
    padding: 5px 3px;
    display: flex;
    justify-content: space-around;
    border-radius: 18px 18px 0 0;
}
.send-live-chat svg{
    width: 30px;
    margin-right: 7px;
}
.send-live-chat input{
    background: none;
    border: none;
    outline: none;
    color: white;
    width: 80%;
    margin-left: 10px;
}
.close-live-chat{
    display: none;
}
.login-register-btns{
  display: flex;
  gap: 10px;
  padding: 0 5px;
  padding: 10px 13px;
}
.login-register-btns a{
    padding: 9px 13px;
    background: #f5c518;
    color: black;
    border-radius: 10px;
    text-shadow: 0 0 10px white;
    box-shadow: 2px 2px 0px #9d7600;
    font-weight: bold;
    cursor: pointer;
}

.login-form svg,.register-form svg{
  width: 30px;
}
.shadow-overlay{
  position: fixed;
  width: 100%;
  height: 100%;
  background: #0000004f;
  z-index: 110;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}


.l-r-p-boxs{
  position: absolute;
  z-index: 10;
  background: var(--main-bg);
  width: 50%;
  height: 100%;
  border-right: 1px solid #3f3f3f;
  box-shadow: 19px 0px 23px #151515;
  transition: all 0.6s ease-out;
  left: 0;
  top: 0;
  border-radius: 0 30px 30px 30px;
  overflow-y: auto;
  scrollbar-width: none;

}
.profile-box{
    display: none;
}
.l-r-p-boxs.closed{
    left: -50%;
    visibility: hidden;
    overflow: hidden;
}
.l-r-p-boxs.login-active .login-form{
    display: block !important;
}
.l-r-p-boxs.register-active .register-form{
    display: block !important;
}
.l-r-p-boxs.profile-active .profile-box{
    display: block !important;
}

.close-lrp-nav svg{
    width: 20px;
    position: fixed;
    right: -7px;
    top:510px;
    background: #1b1b1b;
    padding: 8px;
    border: 1px solid #3f3f3f;
    border-radius: 25px 0 0 25px;
    cursor: pointer;
    left: 48.5%;
    border-radius: 25px;
}
.login-form,.register-form{
    margin: 10px;
    gap: 10px;
    display: none;
}
.login-form .main-form,.register-form .main-form{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
}
.form-topic{
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.form-topic h2{
    background:  var(--main-bg);
    position: relative;
    z-index: 1;
    top: -2px;
    padding: 2px 10px;
}

.form-topic::before{
    background:var(--topic-line);
    border-radius: 50%;
    bottom: 0;
    content: "";
    height: 2px;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    animation: line-width 1s ease-in ;
}

.form-item{
  background: linear-gradient(198deg,#68634c,#353535,#202020);
    border-radius: 6px;
    width: 70%;
    padding: 6px 5px;
    margin-top: 30px;
    position: relative;
    box-shadow: inset 4px -5px 8px #0000004f;
    border-bottom: 1px solid #373737;
}
.form-item input{
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    outline: none;
    padding: 10px;
}

.main-form button{
    margin: 25px;
    border: none;
    background: linear-gradient(160deg,#a49353,#202020);
    width: 33%;
    padding: 12px;
    border-radius: 28px;
    box-shadow: 0 0 4px #0f0f0f;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 3px black;
    cursor: pointer;
}

@keyframes line-width {
    0%{
        width: 0;
    }
    100%{
        width: 100%;
    }
}

.form-item .lab{
    position: absolute;
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    top: -22px;
    z-index: -1;
}
.form-item .lab label{
    font-weight: bold;
}


/* loding */

.loader {
--main-size: 4em;
--text-color: #ffffff;
--shine-color: #ffffff40;
--shadow-color: #aaaaaa;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
user-select: none;
position: relative;
font-size: var(--main-size);
font-weight: 900;
text-transform: uppercase;
color: var(--text-color);
width: 7.3em;
height: 1em;
filter: drop-shadow(0 0 0.05em var(--shine-color));
}

.loader .text {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
white-space: nowrap;
overflow: hidden;
position: absolute;
}

.loader .text:nth-child(1) {
clip-path: polygon(0% 0%, 11.11% 0%, 11.11% 100%, 0% 100%);
font-size: calc(var(--main-size) / 20);
margin-left: -2.1em;
opacity: 0.6;
}

.loader .text:nth-child(2) {
clip-path: polygon(11.11% 0%, 22.22% 0%, 22.22% 100%, 11.11% 100%);
font-size: calc(var(--main-size) / 16);
margin-left: -0.98em;
opacity: 0.7;
}

.loader .text:nth-child(3) {
clip-path: polygon(22.22% 0%, 33.33% 0%, 33.33% 100%, 22.22% 100%);
font-size: calc(var(--main-size) / 13);
margin-left: -0.33em;
opacity: 0.8;
}

.loader .text:nth-child(4) {
clip-path: polygon(33.33% 0%, 44.44% 0%, 44.44% 100%, 33.33% 100%);
font-size: calc(var(--main-size) / 11);
margin-left: -0.05em;
opacity: 0.9;
}

.loader .text:nth-child(5) {
clip-path: polygon(44.44% 0%, 55.55% 0%, 55.55% 100%, 44.44% 100%);
font-size: calc(var(--main-size) / 10);
margin-left: 0em;
opacity: 1;
}

.loader .text:nth-child(6) {
clip-path: polygon(55.55% 0%, 66.66% 0%, 66.66% 100%, 55.55% 100%);
font-size: calc(var(--main-size) / 11);
margin-left: 0.05em;
opacity: 0.9;
}

.loader .text:nth-child(7) {
clip-path: polygon(66.66% 0%, 77.77% 0%, 77.77% 100%, 66.66% 100%);
font-size: calc(var(--main-size) / 13);
margin-left: 0.33em;
opacity: 0.8;
}

.loader .text:nth-child(8) {
clip-path: polygon(77.77% 0%, 88.88% 0%, 88.88% 100%, 77.77% 100%);
font-size: calc(var(--main-size) / 16);
margin-left: 0.98em;
opacity: 0.7;
}

.loader .text:nth-child(9) {
clip-path: polygon(88.88% 0%, 100% 0%, 100% 100%, 88.88% 100%);
font-size: calc(var(--main-size) / 20);
margin-left: 2.1em;
opacity: 0.6;
}

.loader .text span {
animation:
    scrolling 2s cubic-bezier(0.1, 0.6, 0.9, 0.4) infinite,
    shadow 2s cubic-bezier(0.1, 0.6, 0.9, 0.4) infinite;
}

.loader .text:nth-child(1) span {
background: linear-gradient(
    to right,
    var(--text-color) 4%,
    var(--shadow-color) 7%
);
background-size: 200% auto;
background-clip: text;
color: transparent;
}

.loader .text:nth-child(2) span {
background: linear-gradient(
    to right,
    var(--text-color) 9%,
    var(--shadow-color) 13%
);
background-size: 200% auto;
background-clip: text;
color: transparent;
}

.loader .text:nth-child(3) span {
background: linear-gradient(
    to right,
    var(--text-color) 15%,
    var(--shadow-color) 18%
);
background-size: 200% auto;
background-clip: text;
color: transparent;
}

.loader .text:nth-child(4) span {
background: linear-gradient(
    to right,
    var(--text-color) 20%,
    var(--shadow-color) 23%
);
background-size: 200% auto;
background-clip: text;
color: transparent;
}

.loader .text:nth-child(6) span {
background: linear-gradient(
    to right,
    var(--shadow-color) 29%,
    var(--text-color) 32%
);
background-size: 200% auto;
background-clip: text;
color: transparent;
}

.loader .text:nth-child(7) span {
background: linear-gradient(
    to right,
    var(--shadow-color) 34%,
    var(--text-color) 37%
);
background-size: 200% auto;
background-clip: text;
color: transparent;
}

.loader .text:nth-child(8) span {
background: linear-gradient(
    to right,
    var(--shadow-color) 39%,
    var(--text-color) 42%
);
background-size: 200% auto;
background-clip: text;
color: transparent;
}

.loader .text:nth-child(9) span {
background: linear-gradient(
    to right,
    var(--shadow-color) 45%,
    var(--text-color) 48%
);
background-size: 200% auto;
background-clip: text;
color: transparent;
}

.loader .line {
position: relative;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
height: 0.05em;
width: calc(var(--main-size) / 2);
margin-top: 0.9em;
border-radius: 0.05em;
}

.loader .line::before {
content: "";
position: absolute;
height: 100%;
width: 100%;
background-color: var(--text-color);
opacity: 0.3;
}

.loader .line::after {
content: "";
position: absolute;
height: 100%;
width: 100%;
background-color: var(--text-color);
border-radius: 0.05em;
transform: translateX(-90%);
animation: wobble 2s cubic-bezier(0.5, 0.8, 0.5, 0.2) infinite;
}

@keyframes wobble {
0% {
    transform: translateX(-90%);
}
50% {
    transform: translateX(90%);
}
100% {
    transform: translateX(-90%);
}
}

@keyframes scrolling {
0% {
    transform: translateX(-100%);
}
100% {
    transform: translateX(100%);
}
}

@keyframes shadow {
0% {
    background-position: -98% 0;
}
100% {
    background-position: 102% 0;
}
}



.loading-overlay{
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0d0d0d61;
    backdrop-filter: blur(2px);
}

.result-message{
    position: fixed;
    right: 34px;
    z-index: 1100;
    top: 92px;
    padding: 10px;
    border-radius: 10px;
    font-weight: bold;
    box-shadow: 0 4px 10px black;
    transition: all 0.5s ease-in;
    right: -250px;
}

.result-message.actived{
    right: 34px;
}

.agrement{
    margin: 20px;
}
.r-btn{
    cursor: pointer;
    color: #f5c518;
    font-weight: bold;
}
.user-profile-holder{
    display: flex;
    justify-content: center;
}
.user-profile-holder img{
    width: 160px;
    border-radius: 50%;
    border: 2px solid #3f3f3f;
    margin-top: 40px;
    position: relative;
    z-index: 1;
    background: #1b1b1b;
    top: -23px;
}

.user-cash-box{
    display: flex;
    justify-content: center;
}

.user-cash-box .add-b-box svg{
    width: 25px;
}

.profile-form{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.change-name-btn{
    position: absolute;
    right: 9px;
    top: 5px;
    height: 80%;
    background: linear-gradient(40deg,#313131 56%,#f5c518);
    display: flex;
    align-items: center;
    width: 68px;
    justify-content: center;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.disabled-input{
    background:#484848;
}
.submit-change-btns {
    display: flex;
    align-items: center;
    gap: 5px;
     position: absolute;
    right: 9px;
    top: 5px;
     height: 80%;
     width: 70px;
     justify-content: space-between;
}
.submit-change-btns svg{
    width: 30px;
}

.submit-change-btns .save-change,.submit-change-btns .unsave-change{
    cursor: pointer;
}
#change-name-input{
    display: flex;
    align-items: center;
}
#change-name-input input{
    max-width: 67%;
    overflow: auto;
}

.last-login-box{
    margin: 20px;
    width: 67%;
    justify-content: center;
    display: flex;
    border: 1px solid #3f3f3f;
    padding: 10px;
    border-radius: 10px;
    position: relative;
}
.last-login-head{
    position: absolute;
    left: 14px;
    top: -15px;
    background: #1b1b1b;
    padding: 5px 10px;
}

.last-login-info{
    margin: 10px;
    display: flex;
    gap: 10px;
}
.last-login-time{
    color: #868686;
}

.change-name-loading {
    width: 25px;
    height: 25px;
    position: absolute;
    right: 30px;
    border: 2px solid ;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

.logout-btn{
    padding: 9px 13px;
    background: #f5c518;
    color: black;
    border-radius: 10px;
    text-shadow: 0 0 10px white;
    box-shadow: 2px 2px 0px #9d7600;
    font-weight: bold;
    cursor: pointer;
    width: 50px;
    margin: 0 auto;
    text-align: center;
}
.change-pass-box{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.change-pass-box .form-item{
    width: 90%;
}
.change-pass-btn{
    background: linear-gradient(40deg,#313131 56%,#dfbf4d);
    border: none;
    margin: 10px;
    padding: 11px;
    width: 90%;
    border-radius: 10px;
    color: white;
    font-weight: bold;
}
.logout-btn-box{
    display: flex;
    justify-content: center;
    margin-bottom: 100px;
}

.swiper-wrapper{
    height: 100%;
}
.swiper-slide{
    height: 100%;
}





.crypto-withdraw-box {
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    left: 50%;
    padding: 10px;
}

.crypto-tabs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(15, 20, 35, 0.9);
    padding: 12px 16px;
}
#crypto-withdraw-form input{
width: 90%;
}
.crypto-tab {
    padding: 10px 20px;
    background: #2196F3;
    border: none;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.crypto-tab:hover {
    background: #1976D2;
}

.crypto-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.crypto-back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.crypto-icon-svg {
    width: 35px;
    height: 35px;
}

.crypto-main-container {
    padding: 20px;
}

.crypto-currency-selector {
    margin-bottom: 20px;
}

.crypto-currency-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(60, 60, 60, 0.6);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}
.crypto-withdraw-box .form-topic{
    margin-top: 25px;
}

.crypto-currency-btn:hover {
    background: rgba(35, 40, 60, 0.7);
}

.crypto-currency-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-form-section {
    margin-bottom: 20px;
}

.crypto-form-group {
    margin-bottom: 16px;
}

.crypto-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin-bottom: 8px;
}

.crypto-balance {
    float: right;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
}

.crypto-wallet-val {
    color: #f5c518;
    font-weight: 600;
}

.crypto-form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--it-bg);
    border-radius: 10px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
    border: none;
    box-shadow: 1px 2px 0px #292929;
}



.crypto-submit-section {
    width: 100%;
    margin-top: 20px;
}

.crypto-bonus-section {
    margin-bottom: 16px;
}

.crypto-min-deposit {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 193, 7, 0.1);
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #FFC107;
}

.crypto-lds-ripple {
    display: none;
    width: 40px;
    height: 40px;
    margin: 0 auto 16px;
}

.crypto-lds-ripple div {
    position: absolute;
    border: 2px solid #2196F3;
    opacity: 1;
    border-radius: 50%;
    animation: crypto-lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.crypto-lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}

@keyframes crypto-lds-ripple {
    0% {
        top: 18px;
        left: 18px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 36px;
        height: 36px;
        opacity: 0;
    }
}

.crypto-withdraw-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--btn-bg);
    box-shadow: var(--btn-shadow);
    border: none;
    border-radius: 10px;
    color: black;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.crypto-withdraw-btn:hover {
    background: linear-gradient(45deg, #d2b619, #a77a00);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(33, 150, 243, 0.3);
}

.crypto-warning-box {
    background: rgba(255, 152, 0, 0.1);
    border: 1px solid rgba(255, 152, 0, 0.3);
    border-radius: 10px;
    padding: 16px;
    margin: 20px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* History Section Styles */
.crypto-awaiting-section {
    margin-top: 30px;
}

.crypto-awaiting-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.crypto-withdrawal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.crypto-withdrawal-item:hover {
    transform: translateY(-1px);
}

/* .crypto-withdrawal-item.crypto-pending {
} */

.crypto-withdrawal-item.crypto-approved {
    border-left: 4px solid #699f4c;
}

.crypto-withdrawal-item.crypto-rejected {
    border-left: 4px solid #ff0000;
}

.crypto-left-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.crypto-visa-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-payment-info {
    display: flex;
    flex-direction: column;
}

.crypto-payment-method {
    font-size: 14px;
    font-weight: 500;
    color: white;
    margin-bottom: 2px;
    font-weight: bold;
}

.crypto-payment-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.crypto-right-section {
    display: flex;
align-items: end;
gap: 10px;
flex-direction: column;
}

.crypto-amount {
    font-size: 14px;
    font-weight: 600;
    display: flex;
align-items: center;
gap: 4px;
}

/* Loading state */
.crypto-withdraw-loading {
    position: relative;
}

.crypto-withdraw-loading.show {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .crypto-withdraw-box {
        border-radius: 8px;
    }
    
    .crypto-main-container {
        padding: 16px;
    }
    
    .crypto-tabs {
        padding: 10px 16px;
    }
    
    .crypto-withdrawal-item {
        padding: 8px 10px;
    }
    
    .crypto-left-section {
        gap: 10px;
    }
    
    .crypto-visa-icon {
        width: 32px;
        height: 32px;
    }
}

.crypto-awaiting-title span{
text-align: center;
background:var(--it-bg);
box-shadow: 1px 2px 0px #262626;
padding: 5px 10px;
border-radius: 10px;
font-size: 15px;
}

.crypto-awaiting-title span.it-active{
background: var(--btn-bg);
box-shadow: var(--btn-shadow);
font-size: 16px;
color: black;
}

.w-box-f{
display: none;
}
.w-box-f.is-active{
display: block;
}

#withdraw-form input{
width: 90% !important;
}

.wallet-address-text{
font-size: 12px;
color: #838897;
}

.w-item-detail{
    padding: 10px;
    background: var(--it-bg);
    box-shadow: 1px 2px 0px #181818;
}
.w-item-detail .detail-item{
display: flex;
flex-direction: column;
gap: 3px;
margin-bottom: 10px;
font-size: 13px;
}

.w-item-detail .detail-item span,.w-item-detail .detail-item a{
    overflow-wrap: break-word;
}


.w-item-detail .w-info,.w-item-detail .w-hash{
background: #171f39;
padding: 7px;
border-radius: 5px;
font-size: 12px;
}
.w-item-detail .w-hash{
color: #0480c0;
}

.w-item-detail.hide{
display: none;
}


@media (max-width:768px) {
    .user-profile-holder img{
        width: 60px;
    }
    .last-login-box{
        width: 81%;
    }
    .l-r-p-boxs{
        width: 100%;
        top: 30px;
        border-radius: 50px !important;
        border-top: 1px solid #464646;
        z-index: 110;
        position: fixed;
    }
    .l-r-p-boxs.closed{
        top: 100%;
        left: 0;
    }
    .form-item{
        width: 85%;
    }
    .close-lrp-nav svg{
        right: 24px;
        z-index: 100;
        top: 41px;
        left: unset;
        transform: rotate(-90deg);
        border-radius: 25px;
        width: 15px;
    }
    .site-bx .close-men svg{
        display: none;
    }
    .close-live-chat{
        display: block;
    }
    .send-live-chat{
        padding: 13px 3px;
    }
    .casino-games .games-wrap{
        flex-wrap: wrap;
    }
    .casino-games .game-item img{
        width: 110px;
        max-height: 130px;
    }
    body{
        padding: unset;
    }
    .main-container{
        border-radius: unset;
    }
    .t-header{
        border-radius: unset;
    }
    .t-header::after{
        border-radius: unset;
    }
    .rewards-box{
        display: none;
    }
    main .middle-box{
        width: 95%;
    }
    .swiper-container{
        height: 166px;
        margin-top: 18px;
        border-radius: 10px;
    }
    .swiper-container .swiper-slide{
        border-radius: 10px;
    }
    .search-box{
        display: none;
    }
    .user-prof{
        height: 40px;
    }
    .user-name{
        font-size: 11px;
        width: 45px;
        overflow: hidden;
        white-space: nowrap;
    }
    .user-bx{
        border-radius: unset;
    }
    .mobile-nav{
        display: flex;
    }
    .live-chat{
        position: fixed;
        z-index: 101;
        right: -4px;
        height: 100%;
        top: -18px;
        border-radius: unset;
        width: 100%;
        visibility: hidden;       
        min-width: unset;
        max-width: 0;
        transition: max-width 0.5s ease-out;
    }
    .left-side{
        position: fixed;
        z-index: 11;
        width: 93%;
        visibility: hidden;
        max-width: 0;
        transition: max-width 0.5s ease-out;
    }

    .t-header{
        position: sticky;
        top: 0;
        z-index: 100;
    }
    .live-chat .live-chat-head{
        display: flex;
        justify-content: space-between;
        align-items: center;
    }


}


.actived{
    max-width: 100%;
    visibility: visible;
}
.hidden{
    display: none !important;
}








.new-ticket-btn{
   background: #313131;
    padding: 9px;
    border-radius: 10px;
    font-size: 13px;
    box-shadow: 1px 1px 0px #464646;
    cursor: pointer;
}
.about-this-page{
    font-size: 13px;
    max-width: 5px 0;
}
.s-box-list{
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    overflow-y: auto;
}
.ticket-item-head{
    display: flex;
    justify-content: space-between;
    padding: 5px;
}
.ticket-status{
    display: flex;
    align-items: center;
    gap: 5px;
}
.detail-ticket-l{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    background: #222;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 1px 2px 0px #1c1c1c;
}
.detail-ticket-l span,.detail-ticket-l svg{
    cursor: pointer;
}
.t-item{
    background: #313131;
    border-radius: 10px;
    padding: 10px;
    margin-top: 10px;
    box-shadow: 2px 2px 0px #3e3e3e;
}
.s-opened-box{
    display: none;
}
.s-opened-box.active{
    display: block;
}

.s-closed-box.hide{
    display: 'none';
}

.ticket-detail-head{
    margin: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 11px;
    background: var(--item-bg);
    border-radius: 10px;
    box-shadow: 2px 2px 0px #3c3c3c;
}
.ticket-detail-box{
    display: none;
    position: fixed;
    width: 100%;
    top: 0;
    height: 100%;
    background: var(--main-bg);
    left: 0;
    z-index: 100;
}
.ticket-detail-box.active{
    display: block;
}
.messages-list{
    margin: 10px;
    padding: 10px;
    overflow-y: scroll;
    max-height: 100%;
    box-sizing: border-box;
    padding-bottom: 200px;
    max-width: 700px;
    margin: 0 auto;
}
.messages-list.no-message{
    position: relative;
    bottom: -34%;
    text-align: center;
}

.message-item{
    width: 70%;
background: var(--item-bg);
padding: 10px;
border-radius: 10px;
font-size: 14px;
margin-top: 10px;
}

.message-item.support{
    background: #384847;
}
.message-item.user{
margin-left: auto;
}


.message-head{
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    padding: 7px;
    margin-bottom: 7px;
}
.message-head span{
    font-size: 10px;
    color: #919090;
}
.message-text{
    width: 100%;
    display: block;
}

.send-answer-form{
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 13px;
    border-top: 1px solid #555;
    display: flex;
    justify-content: center;
    right: -12px;
    background: var(--item-bg);
}
.send-answer-form textarea{
    width: 73%;
    padding: 0 10px;
    padding-top: 0px;
    outline: none;
    border: none;
    background: var(--main-bg);
    color: white;
    padding-top: 13px;
}
.send-answer-form span{
    background: var(--main-bg);
    padding: 3px 10px;
    align-items: center;
    display: flex;
    cursor: pointer;
}
.t-d-icon{
    background: var(--main-bg);
    border-radius: 5px;
    top: 2px;
    position: relative;
    box-shadow: 1px 1px 0 #000;
}
.closed-text{
position: fixed;
bottom: 0;
width: 100%;
padding: 13px;
border-top: 1px solid #3f4d64;
display: flex;
justify-content: center;
right: -12px;
background: #2d3748;
}

.new-ticket-box{
    position: relative;
    background: #313131;
    padding: 15px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    display: none;
    margin: 10px;
    box-shadow: 2px 2px 0px #3e3e3e;
}
.new-ticket-box.active{
    display: flex;
}
.new-ticket-head{
    display: flex;
flex-direction: column;
width: 100%;
}
.new-ticket-input{
    border: none;
    outline: none;
    padding: 10px;
    border-radius: 6px;
    background: #222;
    color: white;
    box-shadow: 1px 2px 0px #1c1c1c;
    margin-top: 10px;
}
.ticket-create-btn{
    width: 100%;
    text-align: center;
    margin: 10px;
    background: var(--btn-bg);
    box-shadow: var(--btn-shadow);
    border-radius: 6px;
    color: black;
    padding: 10px 0;
    cursor: pointer;
    margin-top: 20px;
}
.close-new-ticket-box{
    position: absolute;
    right: 10px;
    top: 10px;
}
.support-box{
    display: none;
    padding: 12px;
}
.support-box svg{
    width: 20px;
    height: 20px;
}

.l-r-p-boxs.support-active .support-box{
    display: block !important;
}

.s-box-head{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 12px;
}
.s-box-head-title{
    display: flex;
    align-items: center;
    gap: 8px;

}
.s-box-content{
    padding: 3px;
}
.support-box .form-topic{
    margin-top: 20px;
}

#close-n-ticket{
    background: #1b1b1b;
    border-radius: 10px;
    cursor: pointer;
}

.withdraw-box{
    display: none;
}

.l-r-p-boxs.withdraw-active .withdraw-box{
    display: block !important;
}

.withdraw-profile-btn svg{
    width: 25px;
}
.withdraw-profile-btn{
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--item-bg);
    padding: 7px 10px;
    border-radius: 25px;
    cursor: pointer;
}

.profile-pay-prev{
    display: flex;
    justify-content: space-evenly;
}
.admin-options svg{
    width: 20px;
    position: absolute;
    right: 12px;
    top: 2px;
}

.left-side .more-info{
    position: relative;
    top: 100px;
}

.notification{
    position: fixed;
    background: #303030;
    padding: 15px;
    z-index: 100;
    right: 402px;
    border-radius: 15px 0 15px 15px;
    box-shadow: 2px 2px 0px #353535;
    display: none;
    max-height: 68%;
    overflow: auto;
    scrollbar-width: thin;
    padding-top: 38px;
}
.notification .notif-item{ 
    padding: 10px;
    border-radius: 4px;
    max-width: 400px;
    margin-bottom: 10px;
    overflow: auto;
    background: #222;
    scrollbar-width: none;
    overflow: auto;
    color: #bbb;
    line-height: 23px;
}
.notif-item.not-seen{
    box-shadow: 0 0 8px #4d4d4d;
    border-right: 1px solid #f5c518;
    background: var(--message-bg);
}
.have-notif{
    width: 8px;
    height: 8px;
    background: red;
    border-radius: 50%;
    position: absolute;
    top: 19px;
    
}

.not-date{
    position: relative;
    bottom: 10px;
    left: 7px;
    font-size: 11px;
    color: #979797;
}
#close-not-box{
    background: #514f4f;
    border-radius: 10px;
    position: absolute;
    right: 10px;
    top: 10px;
}


        
.af-box{
    background: var(--card-bg);
    visibility: hidden;
    overflow-y: hidden;
    max-height: 0;
    transition: all 0.6s ease-in;
    display: block;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    border-radius: 0 0 10px 10px;
    position: relative;
    top: -6px;
    z-index: -1;
    box-shadow: 2px 2px #3e3e3e;
}
.af-box.active{
    visibility: visible;
    padding: 19px;
    max-height: 1000px;
    opacity: 1;
    position: relative;
    z-index: 1000;
}
.af-title{
    display: flex;
    justify-content: center;
    font-weight: bold;
}
.percent-commission{
    display: flex;
justify-content: space-between;
align-items: center;
margin: 10px 0;
}
.percent-show{
    display: flex;
flex-direction: column;
padding: 0 10px;
font-size: 12px;
}
.com-point{
    color: #93ff27;
font-weight: bold;
font-size: 17px;
}
.max-com{
    display: flex;
    width: 34%;
    color: #93ff27;
    font-weight: Bold;
}
.com-text{
    font-size: 13px;
    padding: 10px;
    background: var(--message-bg);
    border-radius: 10px;
    border-left: 1px solid #93ff27;
}
.ref-link-box{
    padding: 2px;
    margin-top: 20px;
}
.ref-link{
    font-size: 12px;
}
.link-box{
    background: var(--message-bg);
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 5px;
border-radius: 10px;

}
.ref-title-text{
    font-size: 14px;
    font-weight: bold;
}
.copy-link-btn{
    background: #273040;
    padding: 0 4px;
    border-radius: 9px;
    cursor: pointer;
}

.ref-info{
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    background: var(--message-bg);
    border-radius: 10px;
    margin-top: 10px;
}

.total-friends,.total-rewards{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 3px;
    font-size: 13px;
}
.opened-box{
    display: none;
}
.opened-box.active{
    display: block;
}

.closed-box.hide{
    display: none;
}

.create-ref-btn{
display: flex;
justify-content: center;
background: #f5c518;
border-radius: 10px;
color: black;
font-weight: bold;
padding: 9px;
box-shadow: 0 2px 1px black;
cursor: pointer;
}
.r-history{
    margin-top: 20px;
}
.r-h-item{
    display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 1px solid #333d4d;
margin-top: 10px;

}
.r-h-all-items{
    padding: 10px;
    background: var(--message-bg);
    font-size: 13px;
    max-height: 250px;
    overflow-y: auto;
}
.r-h-amount{
    color: #93ff27;

}

#affiliate-btn {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: var(--item-bg);
    border-radius: 10px;
    box-shadow: 2px 2px #3e3e3e;
    align-items: center;
}
#affiliate-btn svg{
    width: 25px;
}
.r-bx{
    width: 70%;
    margin: 0 auto;
    margin-bottom: 20px;
}
.r-histry{
    margin-top: 10px;
}

.transactions-btn{
    width: 67%;
    margin: 0 auto;
    margin-bottom: 20px;

}

.transactions-box{
    display: none;
}

.l-r-p-boxs.transaction-active .transactions-box{
    display: block;
}

.transactions-box .form-topic{
    margin-top: 25px;
}

.trans-items{
    padding: 20px;
    margin: 20px;
    background: var(--item-bg);
    border-radius: 10px;
    box-shadow: 2px 2px #353535;
}
.trans-item{
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    border-radius: 4px;
    background: #3a3a3a;
    margin-bottom: 5px;
}
.trans-time{
    color: #757575;
}

.get-more-trans{
    margin: 0 auto;
    width: 100px;
    background: #3a3a3a;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 2px 2px #131313;
    cursor: pointer;
    margin-bottom: 100px;
}

.c-green{
    color: #30ff30;
}
.c-red{
    color: #ff4949;
}


.deposit-box{
    display: none;
    padding: 15px;
}

.l-r-p-boxs.deposit-active .deposit-box{
    display: block;
}

.deposit-btn{
    cursor: pointer;
}

.live-chat-item:last-child{
    margin-bottom: 30px;
}

.live-chat-item:first-child{
    margin-top: 30px;
}
.live-chat-item{
    min-width: 180px;
    
}

.deposit-box .form-topic{
    margin-top: 25px;
}





.deposit-box {
    color: #fff;
    padding: 20px;
    border-radius: 12px;
}



/* ----- Form ----- */
.deposit-box form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* label */
.deposit-box label {
    display: block;
    font-size: .9rem;
    font-weight: 600;
    color: #ccc;
    margin-bottom: 6px;
}

/* input */
.deposit-box input[type=number] {
    width: 50%;
    padding: 12px 16px;
    background: #222;
    border: 1px solid #444;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border .2s, box-shadow .2s;
}
.deposit-box input[type=number]:focus {
    border-color: #f5c518;
    box-shadow: 0 0 0 2px rgba(245,197,24,.3);
}

/* min-amount hint */
.deposit-box span[style*="font-size: 12px"] {
    font-size: .75rem;
    color: #aaa;
    display: block;
    margin-top: -8px;
    margin-bottom: 8px;
}

/* submit button */
.deposit-box button[type=submit] {
    background: #f5c518;
    color: #303030;
    font-weight: bold;
    font-size: 1rem;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s, transform .1s;
}
.deposit-box button[type=submit]:hover {
    background: #e0b417;
}
.deposit-box button[type=submit]:active {
    transform: translateY(1px);
}

/* loading spinner (hidden by default) */
.deposit-box .dot-spinner {
    display: none;
    justify-content: center;
    margin-top: 12px;
}
.deposit-box .dot-spinner.show { display: flex; }
.deposit-box .dot-spinner__dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: #f5c518;
    border-radius: 50%;
    animation: dotPulse 1.4s infinite ease-in-out both;
}
.deposit-box .dot-spinner__dot:nth-child(1) { animation-delay: -0.32s; }
.deposit-box .dot-spinner__dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes dotPulse {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

/* ----- Payment History ----- */
.deposit-box > div.pt-8 {
    border-top: 1px solid #444;
    padding-top: 24px;
    margin-top: 24px;
}
.deposit-box > div.pt-8 h2 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: #f5c518;
}

/* history list */
.deposit-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 500px;
    overflow-y: auto;
}
.deposit-box ul::-webkit-scrollbar {
    width: 6px;
}
.deposit-box ul::-webkit-scrollbar-track {
    background: #222;
}
.deposit-box ul::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

/* each item */
.deposit-box li {
    background: #222;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    border: 1px solid #444;
}
.deposit-box li div p:first-child {
    font-weight: 600;
    color: #f5c518;
}
.deposit-box li div p:last-child {
    font-size: .85rem;
    color: #aaa;
    margin-top: 2px;
}

/* status badges */
.deposit-box li span {
    font-size: .8rem;
    font-weight: 600;
}
.deposit-box li span.text-green-400 { color: #4ade80; }
.deposit-box li span.text-orange-400 { color: #fb923c; }
.deposit-box li span.text-red-400 { color: #f87171; }




@media (max-width:768px) {
     .live-chat-item{
        margin: 10px auto;
     }
    .transactions-btn{
        width: 84%;
    }
    .r-bx{
        width: 89%;
    }
    .notification{
        right: 0;
        top: 4px;
        z-index: 1001;
        max-height: 92%;
    }
    #close-not-box{
        position: fixed;
    }

}


























