*{
    direction: rtl;
    font-family: "Vazirmatn", sans-serif;
    user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
html , body{
    /* overscroll-behavior: auto; */
    height: 100vh;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}
@font-face {
    font-family: "Vazirmatn";
    src: url(../fonts/woff2/Vazirmatn-Regular.woff2) format("woff2"),
         url(../fonts/woff/Vazirmatn-Regular.woff) format("woff"),
         url(../fonts/ttf/Vazirmatn-Regular.ttf) format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Vazirmatn";
    src: url(../fonts/woff2/Vazirmatn-Bold.woff2) format("woff2"),
         url(../fonts/woff/Vazirmatn-Bold.woff) format("woff"),
         url(../fonts/ttf/Vazirmatn-Bold.ttf) format("truetype");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@keyframes spn {
    to{
        transform:rotate(360deg)
    }
}
@keyframes move-forever {
    0% {
      transform: translate3d(-90px, 0, 0);
    }
    100% {
      transform: translate3d(85px, 0, 0);
    }
}
@keyframes charge {
    from {
      transform: translateY(5rem);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
}
@keyframes scale-in {
    from {
      scale: 0%;
      opacity: 0;
    }
    to {
      scale: 100%;
      opacity: 1;
    }
}
@keyframes scale-out {
    from {
      scale: 100%;
      opacity: 0;
    }
    to {
      scale: 0%;  
      opacity: 1;
    }
}
@keyframes opacity-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
}
@keyframes opacity-out {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
}
@keyframes slide-in {
    from {
        transform: translateX(55%) translateY(-100%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateX(55%) translateY(0) scale(1);
        opacity: 1;
    }
}
@keyframes slide-out {
    from {
        transform: translateX(55%) translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateX(55%) translateY(-100%) scale(0.8);
        opacity: 0;
    }
}
@keyframes y-in {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@keyframes y-out {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
}
@keyframes ctl {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}
@keyframes ltc {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}
@keyframes ctr {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}
@keyframes r-c {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}
@keyframes loading-item {
    0% {
        transform: translateY(10px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(10px);
    }
}
@keyframes VertSpin {
  0% { transform: rotateY(0deg) rotateX(0deg); }
  50% { transform: rotateY(180deg) rotateX(10deg); }
  100% { transform: rotateY(360deg) rotateX(0deg); }
}
@keyframes spn {
    to{
        transform:rotate(360deg)
    }
}
@keyframes gentlePulseGreen {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0px 25px rgba(50, 255, 50, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}
@keyframes gentlePulseRed {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 0px 25px rgba(255, 50, 50, 0.2);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
}

.no-scroll {
    overflow: hidden;
}
.loading-div{
    position: fixed; 
    z-index: 1100;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    justify-content: center; /* وسط افقی */
    align-items: center;   
    background-color: rgba(10, 18, 34, 0.5);
    backdrop-filter: blur(6px) brightness(1.1);
    -webkit-backdrop-filter: blur(6px) brightness(1.1);
}
.loading-div .card{
    background-color: #00000000;
    /* box-shadow: 0px 0px 12px 1px rgba(0, 0, 0,0.5); */
    margin: 0 auto;
    width: 100%;
    border-radius: 20px;
    max-width: 200px;
    align-items: center;
}
.loading-div .card p{
    text-align: center;
    color: #fff;
}
.loading {
    display: inline-flex;
    margin-top: 30px;
    margin-right: 5px;
    justify-content: center;
    /* align-items: center; */
    transform: translate(-50%, -50%);
}
.loading .loading-item {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin: 2px;
    background-color: #EC0B47;
    animation-name: loading-item;
    animation-duration: 1.5s;
    animation-iteration-count: infinite; 
}
.loading .loading-item:nth-child(1) {
    background-color: #EC0B47;
    animation-delay: 0ms;
}
.loading .loading-item:nth-child(2) {
    background-color: #EC0B47;
    animation-delay: 100ms;
}
.loading .loading-item:nth-child(3) {
    background-color: #EC0B47;
    animation-delay: 200ms;
}
.loading .loading-item:nth-child(4) {
    background-color: #EC0B47;
    animation-delay: 300ms;
}

.waves-header {
    position: fixed;
    width: 100%;
    text-align: center;
    background-color: #0a1222;
    color: white;
    z-index: -1;
}
.waves-inner-header {
    height: 50vh;
    width: 100%;
    margin: 0;
    padding: 0;
}
.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -9px;
    min-height: 100px;
    max-height: 150px;
}
.parallax > use:nth-child(1) {
    animation-delay: -2s;
    animation-duration: 4s;
    opacity: 0.2;
}
.parallax > use:nth-child(2) {
    animation-delay: -3s;
    animation-duration: 7s;
    opacity: 0.4;
}
.parallax > use:nth-child(3) {
    animation-delay: -4s;
    animation-duration: 10s;
    opacity: 0.6;
}
.parallax > use:nth-child(4) {
    animation-delay: -5s;
    animation-duration: 13s;
}
.parallax > use{
    animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
    fill: #222d42;
}
body {
    font-family: "Vazirmatn", sans-serif;
    background-color: #222d42;
    margin: 0;
    height: fit-content;
}
h1, strong, b {
    font-family: "Vazirmatn", sans-serif;
    font-weight: bold;
}
span{
    user-select: none;
}
a{
    user-select: none;
}
hr{
    border: solid;
    border-color: #818181;
    border-width: 1px;
}
.notification-container {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1200;
    width: auto;
    max-width: 90vw;
}

.notification {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    animation: slide-in 0.2s ease-out;
    padding: 10px 20px;
    border-radius: 15px;
    transform: translateX(55%);
    background-color: rgba(34, 45, 66, 0.15);
    backdrop-filter: blur(24px) brightness(1.1);
    -webkit-backdrop-filter: blur(24px) brightness(1.1);
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.4);
    width: auto;
    max-width: 80vw;
}

#notification-text {
    text-align: center;
    display: block;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    /* white-space: nowrap; */
    overflow: hidden;
    max-width: 100%;
    font-size: 14px;
    color: white;
}

.form-box-area{
    padding-top: 10px;
    text-align: center;
}
.form-box{
    display: block;
    animation: charge 0.5s both;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 2rem;
    transition: all 0.3s;
    box-sizing: border-box;
    width: 91.66666667%;
    background-color: rgba(21, 31, 49, 0.15);
    backdrop-filter: blur(6px) brightness(1.1);
    -webkit-backdrop-filter: blur(6px) brightness(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.user-box-area{
    text-align: center;
}
.user-box{
    display: block;
    animation: charge 0.3s both;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 2rem;
    transition: all 0.3s;
    box-sizing: border-box;
    width: 91.66666667%;
    background-color: rgba(21, 31, 49, 0.15);
    backdrop-filter: blur(6px) brightness(1.1);
    -webkit-backdrop-filter: blur(6px) brightness(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.alert-box-area{
    padding-top: 80px;
    text-align: center;
}
.alert-box{
    display: block;
    animation: charge 0.3s both;
    margin: 0 auto;
    padding: 2rem;
    border-radius: 2rem;
    transition: all 0.3s;
    box-sizing: border-box;
    width: 91.66666667%;
    background-color: rgba(47, 49, 21, 0.463);
    backdrop-filter: blur(6px) brightness(1.1);
    -webkit-backdrop-filter: blur(6px) brightness(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.form-image{
    animation: charge 0.5s both;
    width: 250px;
    margin-bottom: 10px;
}
.logbtn-box{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    align-items: center;
}
.a-button{
    font-family: "Vazirmatn", sans-serif;
    font-weight: bold;
    display: inline;
    text-decoration: none;
    width: 90px;
    height: 40px;
    margin: 0px 0px;
    padding: 10px 50px 10px 20px;
    border: 1px solid #0a1222;
    border-radius: 10px;
    background-color: #0a1222;
    transition-duration: .2s;
    color: white;
    overflow: hidden;
}
.a-button:hover{
    border: 1px solid #008771;
}
.p-button{
    display: inline-block;
    font-size: 18px;
    margin: 0;
    margin-right: 5px;
}
.i-button{
    position: absolute;
    z-index: 2;
    display: inline;
    font-size: 24px;
    /* margin-right: 10px; */
    right: 25px;
    width: 24px;
    height: 24px;
}
.log-icons{
    position: relative;
    display: inline-block;
    height: 100%;
    margin: 0;
}
.topprof-box{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.topprof-icons{
    position: relative;
    display: inline-block;
    height: 100%;
    margin: 0;
}
.topprof-icons h3{
    margin: 0px;
}
.accstatus-div {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    padding: 0px 10px;
    border-radius: 20px;
    
    background: rgba(50, 255, 50, 0.15);
    backdrop-filter: blur(8px) saturate(150%);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    border: 1px solid rgba(100, 255, 100, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: gentlePulseGreen 2s ease-in-out infinite;
}

.cecular-percent-box {
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.cecular-percents {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 100px;
    transition: transform 0.3s ease;
}
.cecular-percents:hover {
    transform: translateY(-5px);

}
.cecular-percents p{
    font-size: 20px;
}
.pie {
    --p:20;
    --b:6px;
    --c:#424e99;
    
    width: 90%;
    max-width: 150px;
    min-width: 100px;
    
    aspect-ratio:1;
    position:relative;
    display:inline-grid;
    margin:5px;
    place-content:center;
    font-size:25px;
    font-weight:bold;
    font-family:sans-serif;
}
.pie:before,
.pie:after {
    content:"";
    position:absolute;
    border-radius:50%;
}
.pie:before {
    inset:0;
    background:
        radial-gradient(farthest-side,var(--c) 98%,#0000) top/var(--b) var(--b) no-repeat,
        conic-gradient(var(--c) calc(var(--p)*1%),#0000 0);
    -webkit-mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
            mask:radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
    mask-border: 50%;
}
.pie:after {
    inset:calc(50% - var(--b)/2);
    background:var(--c);
    transform:rotate(calc(var(--p)*3.6deg)) translateY(calc(50% - var(--w)/2));
}
.animate {
    animation:p 1s .1s both;
}
.no-round:before {
    background-size:0 0,auto;
}
.no-round:after {
    content:none;
}
@keyframes p {
    from{--p:0}
}
@property --p {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
}

.more-detail-box{
    margin-top: 20px;
}
.more-detail-box hr {
    border: none;
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 150, 255, 0.3),
        rgba(0, 200, 255, 0.8),
        rgba(0, 150, 255, 0.3),
        transparent
    );
    background-size: 200% 100%;
    border-radius: 2px;
    margin: 8px 0;
    animation: smoothMove 4s linear infinite;
}
@keyframes smoothMove {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}
.more-details {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}
.more-details-text {
    display: inline-block;
    font-size: 18px;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 0;
}
.more-details-text p{
    font-size: 12px;
    text-align: center;
    transition: all 100ms;
}


.header-text-box{
    margin-top: 20px;
}
h1,h3,h2,h5{
    cursor: default;
    user-select: none;
    color: white;
    margin: 0;
    /* margin-top: 10px; */
}
.number-input-box{
    margin-top: 20px;
    align-items: center;
}
p{
    user-select: none;
    color: white;
    margin: 0;
    text-align: right;
}

.number-text{
    margin: 0 auto;
    margin-bottom: 5px;
    width: 90%;
}
.hiden {
    display: none;
}
.visible {
    display: block;
}
.inputs-box{
    display: flex;
    width: 100%;
}
.perfix-icons{
    position: relative;
    display: block;
    left: -5%;
    width: 12%;
}
.i-acc,.i-pas{
    position: absolute;
    z-index: 4;
    top: 8px;
    left: 60%;
    align-items: center;
    color: white;
    font-size: 20px;
    width: 20px;
}
.perfix-inputs{
    position: relative;
    display: block;
    width: 85%;
}
.inputs{
    direction: ltr;
    position: relative;
    display: inline-block;
    z-index: 3;
    width: 100%;
    height: 40px;
    font-size: 16px;
    padding: 0;
    padding: 0px 1% 0px 15%;
    color: white;
    background-color: #0a1222;
    border-radius: 10px;
    border: 2px solid #222d42;
    transition: box-shadow 300ms, 0.1s;
}
.inputs:disabled{
    background-color: gray;
    border-color: gray;
}
.inputs:focus{
    outline: none;
    box-shadow: 0px 0px 20px 1px rgba(0, 135, 113, 0.5);
}
.password-text{
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 5px;
    width: 90%;
}
.eye-pass{
    cursor: pointer;
    position: absolute;
    z-index: 5;
    left: 60%;
    width: 25px;
    top: 25%;
    height: 50%;
}
button{
    font-family: "Vazirmatn", sans-serif;
    font-weight: bold;
    margin-top: 26px;
    width: 100%;
    font-size: 20px;
    color: white;
    text-align: center;
    background-image: linear-gradient(#195141, #0c705f);
    border-radius: 10px;
    border: 1px solid #008771;
    outline: none;
    background-color: transparent;
    height: 46px;
    position: relative;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0px 0px 12px 1px rgba(0, 135, 113, 0.5);
    transition: background-image 300ms,all 0.1s;
}
/* button:hover{
    box-shadow: none;
    color: #0c705f;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
} */
button:active{
    transform: scale(0.98);
}
button:disabled{
    cursor: default;
    background-image: none;
    box-shadow: none;
    border-color: gray;
    color: white;
    transform: none;
    background-color: gray;
}
.send-code-box{
    display: block;
    justify-content: center;
}
.send-code{
    display: inline;
    font-size: 16px;
    width: 30%;
    left: 0;
    margin: 0;
    height: 44px;
}
.send-code-input{
    display: inline;
    padding: 0;
    width: 67%;
}
.text-center{
    text-align: center;
}
.navbar-top-page{
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 6%;
    align-items: center;
    padding: 10px 0;
    background-color: rgba(44, 57, 80, 0.55);
    backdrop-filter: blur(6px) brightness(1.1);
    -webkit-backdrop-filter: blur(6px) brightness(1.1);
    width: 100%;
    height: 40px;
    z-index: 999;
}
.navbar-bottom{
    position: fixed;
    z-index: 999;
    bottom: 15px;
    left: 5%;
    border-radius: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    background-color: rgba(44, 57, 80, 0.55);
    backdrop-filter: blur(6px) brightness(1.1);
    -webkit-backdrop-filter: blur(6px) brightness(1.1);
    width: 90%;
    height: 40px;
}
.navbar-bottom-selector{
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 50px;
    background: rgba(0, 200, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 30px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    border: 1px solid rgba(0, 200, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.2);
}
.navbar-bottom i{
    font-size: 18px;
    color: #fff;
}
.navbar-bottom p{
    font-weight: bold;
    font-size: 14px;
    color: #fff;
    width: 80px;
    text-align: center;
    position: relative;
    top: -10px;
}
.navbar-bottom-icon{
    color: gray;
    font-size: 24px;
    border-radius: 10px;
    padding: 0 10px;
    cursor: pointer;
    text-align: center;
    transition: all 100ms;
}
.navbar-bottom-icon:active{
    scale: 90%;
    transform: translateY(-2px);
}


#logout-icon{
    cursor: pointer;
    position: absolute;
    top: 10px;
    left: 20px;
    color: white;
    font-size: 30px;
    transition: scale 0.1s;
}
#logout-icon:active{
    scale: 90%;
}
#seller-icon{
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 30px;
    transition: scale 0.1s;
}
#seller-icon:active{
    scale: 90%;
}
.body-home-page{
    display: grid;
    margin-top: 60px;
    margin-bottom: 80px;
    grid-template-columns: repeat(4, 1fr);
    border: 20px;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.device-card{
    position: relative; 
    background-color: #151f31;
    border-radius: 20px;
    margin: 20px auto;
    margin-bottom: 0;
    width: 90%;
    min-width: 285px;
    height: 200px;
}
.offline-device-card{
    background-color: #80808080;
    border-radius: 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 5;
}
.loading_device_card_class{
    margin-left: 96px;
}
.device-top-box{
    display: flex;
    justify-content: space-between;
    border-radius: 20px;
    padding-bottom: 10px;
    cursor: pointer;
    transition: scale 0.1s;
}
.device-relays-box{
    display: flex;
    justify-content: space-between;
    border-radius: 20px;
    cursor: pointer;
    transition: scale 0.1s;
}
/* .device-relays-box:hover{
    background-color: #ffffff10;
} */
@media (hover: hover) and (pointer: fine) {
  .device-top-box:hover {
    background-color: #ffffff10;
  }
  .device-relays-box:hover {
    background-color: #ffffff10;
  }
}
.device-top-box:active{
    scale: 0.98;
}
.device-relays-box:active{
    scale: 0.98;
}
.device-top-box i{
    color: #858585;
    font-size: 30px;
    height: 30px;
    margin: auto 10px;
}
.device-top-box i::before{
    box-shadow: 0 0 10px #85858580;
    border-radius: 100%;
}
.device-card .device-top-box h3{
    margin-right: 10px;
}
.device-card hr{
    margin: 0px 5px;
    margin-bottom: 0;
}
.status-device-card{
    display: grid;
    margin: auto;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    justify-content: center;
    align-items: center;
}
.status-device-card p{
    height: 22px;
    padding: 7px 5px;
    white-space: nowrap;
}
.status-device-card i{
    color: #F44336;
    font-size: 16px;
    height: 20px;
    margin: auto 10px;
}
.status-device-card hr{
    margin: 0 5px;
}
.button-buttons{
    background-color: #00000000;
    border: none;
    cursor: pointer;
    transition: 0.1s;
}
.button-buttons:active{
    transform: scale(0.95);
    filter: brightness(1.2);
}
.card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 15px;
    padding: 40px 20px;
}
.relay-card{
    position: relative; 
    background-color: #151f31;
    text-align: center;
    border-radius: 20px;
    margin: 20px auto;
    margin-bottom: 0;
    width: 90%;
    min-width: 285px;
    height: 170px;
}
.relay-card h2{
    text-align: center;
}
.relay-card i{
    display:inline-block;
    cursor: pointer;
    color: #b1b0b0;
    font-size: 90px;
    transition: 0.1s;
}
.relay-card i:hover{
    filter: brightness(0.90);
}
.relay-card i:active{
    transform: scale(0.98);
}
.content {
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}
.setting-card {
    background-color: #151F31;
    box-shadow: 0px 0px 12px 1px rgba(0, 0, 0,0.5);
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    border-radius: 20px;
    padding-top:10px;
    padding-bottom:20px;
    text-align: center;
    /* margin-top: 60px; */
}
.setting-card button{
    padding: 15px 50px;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    outline: none;
    color: #fff;
    width: 88%;
    height: fit-content;
    margin-top: 10px;
    /* margin-right: 6%; */
    background-color: #ED0B47;
    background-image: none;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 0px 12px 1px #ED0B4780;
    transition: transform 100ms;
}
.setting-card button:hover{
    filter: brightness(.9);
}

.setting-card button:active{
    transform: scale(0.98);
}

.card-device-menu{
    display: block;
    margin-top: 60px;
    height: calc(100vh - 60px); 
    width: 100%;
    justify-content: center;
    align-items: center;
}
.card-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 15px;
    padding: 40px 20px;
}
.card {
    background-color: #151F31;
    box-shadow: 0px 0px 12px 1px rgba(0, 0, 0,0.5);
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
    border-radius: 20px;
    padding-top:10px;
    padding-bottom:20px;
}
.cardloading {
    box-shadow: none;
}
.more-drvice-button{
    margin: auto 0;
    height: 30px;
    font-size: 16px;
    padding: 0;
    width: 100px;
}

.body-person-page{
    display: flex;
    margin-top: 60px;
    margin-bottom: 60px;
    grid-template-columns: repeat(4, 1fr);
    border: 20px;
    width: 100%;
    justify-content: center;
    align-items: center;
}
.person-card{
    background-color: #151f31;
    transition: all 0.3s;
    justify-content: center;
    text-align: center;
    border-radius: 20px;
    margin-top: 20px;
    box-shadow: 2px 2px 10px black;
    width: 92%;
    padding: 20px;
}
#home-page{
    display: block;
}
#person-page{
    display: none;
}
#add-device-page{
    display: none;
}
#devices-menus{
    margin-top: 60px;
}

.profile-image{
    width: 150px;
    border-radius: 100%;
    border: 1px solid #222d42;
    background-color: #0a1222;
}
.profile-box{
    display: flex;
    justify-content: space-between;
}
.logout-box{
    display: flex;
    justify-content: space-around;
}
.profile-box>p{
    display: inline;
    font-size: 16px;
}
#change-password-button,#change-plan-button{
    margin: 0;
    font-size: 16px;
    height: fit-content;
    width: 30%;
}
#logout-button{
    margin: 0;
    font-size: 22px;
    display: flex;
    justify-content: space-between;
}
.logout-icon{
    font-size: 30px;
    margin: 0px 10px;
}
#dark-back{
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* background-color: rgba(0, 0, 0, 0.5); */
    transition: all 200ms;
    background-color: rgba(21, 31, 49, 0.15);
    backdrop-filter: blur(6px) brightness(1.1);
    -webkit-backdrop-filter: blur(6px) brightness(1.1);
}

.blur-card-box{
    z-index: 100;
    display: none;
}
#remove-device-box,#device-info-box{
    background-color: #151f31;
    transition: all 0.3s;
    justify-content: center;
    text-align: center;
    border-radius: 20px;
    transform: translate(-50%, -50%);
    top: 100px;
    left: 50%;
    margin: 0 auto;
    margin-top: 100px;
    box-shadow: 1px 1px 10px black;
    width: 92%;
    padding: 20px;
}
.blur-card-box{
    background-color: #151f31;
    transition: all 0.3s;
    justify-content: center;
    text-align: center;
    border-radius: 20px;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* margin-top: 100px; */
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.20);
    width: 85%;
    padding: 20px;
}
select{
    background-color: #0a1222;
    color: white;
    border: 1px solid #2c3950;
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 16px;
}
.close-button{
    text-align: right;
}
.close-button>i{
    color: white;
    font-size: 16px;
    cursor: pointer;
}
.yesorno-button-box{
    display: flex;
}
#yes-logout-button{
    margin-top: 10px;
    margin-left: 10px;
    
}
#no-logout-button{
    margin-top: 10px;
    background-image: linear-gradient(#511919, #700c0c);
    border: 2px solid #870000;
    box-shadow: 0px 0px 12px 1px rgba(171, 4, 40, 0.5);
}
#yes-remove-device-button{
    margin-top: 10px;
    margin-left: 10px;
}
#no-remove-device-button{
    margin-top: 10px;
    background-image: linear-gradient(#511919, #700c0c);
    border: 2px solid #870000;
    box-shadow: 0px 0px 12px 1px rgba(171, 4, 40, 0.5);
}
#no-remove-device-button:hover{
    box-shadow: none;
    background-image: none;
    color: #870000;
}
.password-block{
    margin-top: 20px;
    align-items: center;
}
.new-password-text{
    display: block;
    margin-right: 5px;
    margin-bottom: 5px;
    width: 90%;
}
.nokte-password-box{
    padding: 10px;
    margin: 10px 0;
    border-radius: 20px;
    background-color: rgba(255, 255, 0, 0.3);
}
#change-pass-button{
    margin: 0;
}
#status-text{
    padding: 0px 10px;
    border-radius: 5px;
    background-color: green;
}
.input-group {
    position: relative;
    margin: 10px 10px;
}
.input-group label {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: auto;
    right: 30px;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: bold;
    color: #4DB6AC;
    pointer-events: none;
    transition: .2s;
}
.input-group input {
    direction: rtl;
    z-index: 2;
    width: 88%;
    height: 60px;
    font-size: 20px;
    padding: 0 10px;
    color: #fff;
    /* margin-right: 3%; */
    background: transparent;
    border: 2px solid #4DB6AC;
    outline: none;
    border-radius: 8px;
}
.input-group input:focus~label,
.input-group input:valid~label,
.input-group input:disabled~label {
    top: 0;
    font-size: 16px;
    background-color: #151F31;
}
.divider {
  border: none;
  border-bottom: 1px solid #fff;
  margin: 15px;
}
.relay-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.relay-setting h3{
    color: #fff;
    margin: 10px 20px;
    text-align: right;
    width: fit-content;
}
.relayName{
    color: #fff;
    margin: 10px 20px;
    text-align: right;
    width: fit-content;
}
.radio-group {
    display: inline-flex;
    border: 2px solid #4DB6AC;
    border-radius: 8px;
    overflow: hidden;
    margin-left: 20px; /* فاصله 20px از لبه چپ */
}
.radio-group input {
    display: none;
}
.radio-group label {
    padding: 8px 10px;
    cursor: pointer;
    background: #151F31;
    color: #fff;
    transition: 0.3s;
}
.radio-group input:checked + label {
    background: #4DB6AC;
    color: #fff;
}
.delay-setting {
    margin-top: 10px;
    align-items: center;
    gap: 8px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.delay-text {
    margin-right: 20px;
}
.delay-box {
    left: 0;
}
.delay-box input {
    display: none;
}
.delay-box label {
    padding: 2px 10px;
    cursor: pointer;
    background: #151F31;
    color: #fff;
    transition: 0.3s;
}
.delay-box input:checked + label {
    background: #4DB6AC;
    border-radius: 100%;
    color: #fff;
}
.delay-box input:disabled + label {
    background: #5b5a5a;
    border-radius: 100%;
    color: #fff;
}
span{
    margin: 0;
}
.history-date{
    margin: 0 auto;
    display: block;
    background-color: #2C3950;
    color: white;
    padding: 5px 5px;
    text-align: center;
    font-size: 24px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}
table {
    width: 95%;
    margin: 20px auto;
    border-radius: 10px;
    border-collapse: collapse;
    overflow: hidden;
}
th,
td {
    padding: 8px;
    text-align: center;
    background-color: #0a122272;
    color: #fff;
}
.table-history th:nth-child(2),
.table-history td:nth-child(2) {
    width: 40%;
}
.table-history th:nth-child(1),
.table-history td:nth-child(1),
.table-history th:nth-child(3),
.table-history td:nth-child(3),
.table-history th:nth-child(4),
.table-history td:nth-child(4) {
    width: 20%;
}
thead {
    th {
        text-align: center;
        background-color: #9575CD;
    }
}
.schedules-relays{
    background-color: #2C3950;
    color: white;
    padding: 5px 5px;
    text-align: center;
    font-size: 24px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    margin: 0 auto;
    display: block;
}
.schedules-card{
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: space-between; */
    background-color: #0a1222;
    padding: 10px 15px;
    box-shadow: 0px 0px 12px 1px rgba(0, 0, 0,0.5);
    margin: 20px auto;
    width: 90%;
    border-radius: 20px;
}
.schedules-input {
    display: inline-flex;
    border: 2px solid #4DB6AC;
    border-radius: 8px;
    overflow: hidden;
    margin-left: 20px; /* فاصله 20px از لبه چپ */
}
.schedules-input input {
    display: none;
}
.schedules-input label {
    padding: 8px 16px;
    cursor: pointer;
    background: #151F31;
    color: #fff;
    transition: 0.3s;
}
.schedules-input input:checked + label {
    background: #4DB6AC;
    color: #fff;
}
.edit-icon{
    font-size: 25px;
    color: white;
    cursor: pointer;
    transition: transform 100ms;
}
.edit-icon:active{
    transform: scale(0.9);
}
.editCard{
    background-color: #151F31;
    box-shadow: 0px 0px 12px 1px rgba(0, 0, 0,0.5);
    width: 90vw;
    max-width: 400px;
    align-items: center;
    border-radius: 20px;
    padding: 0 10px;
    padding-top:10px;
    padding-bottom:20px;
    
}
.editCard h1{
    text-align: center;
}
.edit{
    margin-top: 20px;
}
.start-date {
    font-size: 20px;
    padding: 0 10px;
    direction: ltr;
    color: #fff;
    background: transparent;
    border: 2px solid #4DB6AC;
    outline: none;
    border-radius: 8px;
    width: 150px;
    height: 40px;
    text-align: center;
}
.week-grid {
    display: grid;
    text-align: right;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 20px;
}
.week-grid label{
    color: #fff;
}
[class=days] {
  width: 20px;
  height: 20px;
  color: dodgerblue;
  vertical-align: middle;
  -webkit-appearance: none;
  background: none;
  border: 0;
  outline: 0;
  flex-grow: 0;
  border-radius: 50%;
  background-color: #FFFFFF;
  transition: background 200ms;
  cursor: pointer;
}
[class=days]::before {
  content: "";
  color: transparent;
  display: block;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  border: 0;
  background-color: transparent;
  background-size: contain;
  box-shadow: inset 0 0 0 1px #CCD3D8;
}
[class=days]:checked {
  background-color: #9575CD;
}
[class=days]:checked::before {
  box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath d='M15.88 8.29L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0z' fill='%23fff'/%3E %3C/svg%3E");
}
[class=days]::-ms-check {
  content: "";
  color: transparent;
  display: block;
  width: inherit;
  height: inherit;
  border-radius: inherit;
  border: 0;
  background-color: transparent;
  background-size: contain;
  box-shadow: inset 0 0 0 1px #CCD3D8;
}
[class=days]:checked::-ms-check {
  box-shadow: none;
  background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24'%3E %3Cpath d='M15.88 8.29L10 14.17l-1.88-1.88a.996.996 0 1 0-1.41 1.41l2.59 2.59c.39.39 1.02.39 1.41 0L17.3 9.7a.996.996 0 0 0 0-1.41c-.39-.39-1.03-.39-1.42 0z' fill='%23fff'/%3E %3C/svg%3E");
}
.input-time{
    background-color: #151f3100;
    border: 2px solid #4DB6AC;
    border-radius: 8px;
    width: 150px;
    height: 40px;
    font-size: 20px;
    padding: 0 10px;
    color: #fff;
}
.input-time::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}
.edit-buttons{
    display: flex;
    gap: 30%;
    margin: 20px;
    margin-bottom: 0;
    align-items: center;
}
.deletebtn {
    padding: 10px 28px;
    font-size: 16px;
}
.deletebtn:first-child {
    background-color: #2ecc71;
    background-image: none;
    border: none;
    box-shadow: 0px 0px 12px 1px #2ecc7180;
    color: white;
}
.deletebtn:last-child {
    background-color: #e74c3c;
    background-image: none;
    border: none;
    box-shadow: 0px 0px 12px 1px #e74c3c80;
    color: white;
}
.relay-setting button{
    width: 100px;
    padding: 5px;
    font-size: 16px;
}
.slider {
    -webkit-appearance: none;
    width: 95%;
    height: 15px;
    margin-top: 10px;
    border-radius: 10px;  
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%; 
    background: #ED0B47;
    cursor: pointer;
}
.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #ED0B47;
    cursor: pointer;
}
.editInfoButton{
    width: 30%;
    margin: 0;
    height: 64px;
}
#device-info-remove-device-button{
    height: 64px;
    background: none;
    background-color: red;
    border-color: red;
    box-shadow: 0px 0px 12px 1px rgba(255, 0, 0, 0.5);
}
#device-info-remove-device-button:hover{
    color: white;
}

.header-text-box h5{
    font-size: 16px;
}
.PB{
    background-image: none;
    box-shadow: none;
    border-color: #2C3950;
    width: 32px;
    height: 32px;
    z-index: 10;
    margin: auto auto;
    padding: 3px;
}
.sp{
    margin-top: 3px;
    width:30px;
    height:30px;
    border:2.5px solid rgba(255,255,255,.2);
    border-top-color:#fff;
    border-radius:50%;
    animation:spn .5s linear infinite;
    display:inline-block
}
.showstatus{
    border-radius: 99px;
    background-color: rgba(52,211,153,.08);
    border: 1px solid rgba(52, 211, 153, .15);
    color: #34d399;
    padding: 0 10px;
}
.icons-inputs{
    position: relative;
    z-index: 3;
    width: 26px;
    color: white;
    top: 9px;
    left: 25%;
    margin: auto auto;
}
.code-input{
    width: 61%;
    padding-right: 40%;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}
.SC{
    position: absolute;
    background-image: linear-gradient(rgb(21, 72, 119), rgb(12, 112, 200));
    border-color: rgb(27, 121, 204);
    box-shadow: none;
    font-size: 16px;
    top: 6px;
    right: 6px;
    width: 37%;
    height: 32px;
    z-index: 10;
    margin: auto auto;
    padding: 3px;
}
.SC .sp{
    width: 14px;
    height: 14px;
}
.notif-div{
    background-color: rgba(255, 255, 0, 0.188);
    padding: 10px;
    border-radius: 15px;
}
.numbers-box{
    animation: charge 0.5s both;
    box-shadow: 0px 0px 12px 1px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
    border-radius: 2rem;
    padding: 5%;
    margin: 0px;
    margin-top: 20px;
    width: 90%;
}
.input-readonly{
    margin-top: 20px;
    direction: ltr;
    min-width: 92%;
    max-width: 92%;
    width: 92%;
    height: max-content;
    padding: 4%;
    border: none;
    font-size: 16px;
    border-radius: 10px;
    background-color: #0a1222;
    color: white;
    height: 50px;
}

.ng-loading-svg {
  width: 200px;  
  height: 200px;
  margin-bottom: 100px;
  transition: all 100ms;

  filter: 
    drop-shadow(0px 1px 0px #6e6a6a)
    drop-shadow(0px 2px 0px #ffffff)

    drop-shadow(0px 15px 20px rgba(0, 0, 0, 0.7));

  transform-style: preserve-3d;
  perspective: 20px;
  
  animation: VertSpin 3s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;

}
.sp{
    margin-top: 3px;
    width:30px;
    height:30px;
    border:2.5px solid rgba(255,255,255,.2);
    border-top-color:#fff;
    border-radius:50%;
    animation:spn .5s linear infinite;
    display:inline-block
}
.container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.container {
  display: flex;
  margin-top: 20px;
  position: relative;
  cursor: pointer;
  font-size: 1.5rem;
  user-select: none;
}
.checkmark {
  --clr: #0B6E4F;
  position: relative;
  top: 0;
  left: 0;
  height: 1.3em;
  width: 1.3em;
  background-color: #ccc;
  border-radius: 50%;
  transition: 300ms;
}
.container input:checked ~ .checkmark {
  background-color: var(--clr);
  border-radius: .5rem;
  animation: pulse 500ms ease-in-out;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.container input:checked ~ .checkmark:after {
  display: block;
}
.container .checkmark:after {
  left: 0.45em;
  top: 0.25em;
  width: 0.25em;
  height: 0.5em;
  border: solid #E0E0E2;
  border-width: 0 0.15em 0.15em 0;
  transform: rotate(45deg);
}
.container p{
    margin-right: 14px;
    margin-top: 2px;
    font-size: 16px;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 #0B6E4F90;
    rotate: 20deg;
  }

  50% {
    rotate: -20deg;
  }

  75% {
    box-shadow: 0 0 0 10px #0B6E4F60;
  }

  100% {
    box-shadow: 0 0 0 13px #0B6E4F30;
    rotate: 0;
  }
}

.plan-group {

    margin-top: 15px;
    animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plan-group:last-of-type {
    margin-bottom: 20px;
}

/* ========================================== */
/*  هدر گروه                                  */
/* ========================================== */
.group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.group-header .group-icon {
    font-size: 18px;
}

.group-header .group-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.group-header .group-badge {
    background: rgba(0, 200, 255, 0.15);
    color: #00c8ff;
    padding: 3px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
}

/* ========================================== */
/*  دکمه‌های انتخابی                          */
/* ========================================== */
.plan-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
#wallet-options{
    margin-top: 10px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap: 8px;
}

.plan-btn {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.05);
    margin-top: 5px;
    border-radius: 14px;
    padding: 10px 16px;
    min-width: 55px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.4);
    font-family: inherit;
    flex: 1;
    height: auto;
    min-width: 65px;
}

.plan-btn .btn-value {
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    transition: 0.3s;
}

.plan-btn .btn-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    transition: 0.3s;
    margin-top: 2px;
}

/* ====== حالت hover ====== */
.plan-btn:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.plan-btn:hover .btn-value {
    color: rgba(255, 255, 255, 0.8);
}

/* ====== حالت فعال (انتخاب شده) ====== */
.plan-btn.active {
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.15), rgba(0, 100, 255, 0.05));
    border-color: #00c8ff;
    box-shadow: 0 0 25px rgba(0, 200, 255, 0.1), inset 0 0 20px rgba(0, 200, 255, 0.05);
    transform: translateY(-3px);
}

.plan-btn.active .btn-value {
    color: #00c8ff;
}

.plan-btn.active .btn-label {
    color: rgba(0, 200, 255, 0.6);
}

/* ========================================== */
/*  نتیجه نهایی                               */
/* ========================================== */
.plan-result {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 18px 20px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.plan-result .result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.plan-result .result-row:first-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.plan-result .result-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.plan-result .result-value {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.plan-result .result-price {
    color: #00c8ff;
    font-size: 22px;
    font-weight: 700;
}

@media (max-width: 600px) {
    
    .plan-btn {
        min-width: 50px;
        padding: 8px 12px;
        flex: 1;
        min-width: 50px;
    }
    
    .plan-btn .btn-value {
        font-size: 15px;
    }
    
    .plan-btn .btn-label {
        font-size: 12px;
    }
    
    .plan-result .result-price {
        font-size: 18px;
    }
    
}
@media (max-width: 400px) {
    .plan-options {
        gap: 5px;
    }
    
    .plan-btn {
        min-width: 42px;
        padding: 6px 8px;
    }
    
    .plan-btn .btn-value {
        font-size: 14px;
    }
    
    .group-header .group-badge {
        font-size: 14px;
        padding: 2px 10px;
    }
}

.price-red-notif{
    margin-top: 10px;
    background-color: rgba(255, 50, 50, 0.15);
    padding: 10px;
    border-radius: 15px;
}


.wallet-card{
    width:auto;
    height:40px;
    cursor: pointer;
    display:flex;
    align-items:center;
    justify-content:center;

    padding:0 10px;

    background:linear-gradient(
        270deg,
        rgba(255,255,255,.18),
        rgba(255,255,255,.05),
        rgba(255,255,255,.18)
    );

    background-size:300% 300%;

    animation:glassMove 8s ease infinite;

    border:1px solid rgba(255,255,255,.25);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-radius:20px;

    box-shadow:
        0 8px 32px rgba(0,0,0,.25),
        inset 0 1px 1px rgba(255,255,255,.35);

    color:#e2e8f0;

    animation:
        glassMove 8s ease infinite,
        floating 15s ease-in-out infinite;
    transition: scale 0.1s;
}
.wallet-card:active{
    scale: 95%;
}

@keyframes floating{
    0%{
        transform:translate(0,0) rotate(0deg);
    }

    25%{
        transform:translate(2px,-1px) rotate(0.5deg);
    }

    50%{
        transform:translate(-1px,-3px) rotate(-0.5deg);
    }

    75%{
        transform:translate(-2px,1px) rotate(0.4deg);
    }

    100%{
        transform:translate(0,0) rotate(0deg);
    }
}

@keyframes glassMove{
    0%{
        background-position:0% 50%;
    }
    50%{
        background-position:100% 50%;
    }
    100%{
        background-position:0% 50%;
    }
}

.wallet-card i{
    color:#38bdf8;
    grid-row:1 / span 2;
    right: 0px;
    font-size:20px;
}

.wallet-card span{
    word-break:break-word;
    overflow-wrap:break-word;
    font-size:14px;
    font-weight:700;
    margin-right: 10px;
}

.amount-grid{
    margin-top: 20px;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
}

.amount-grid input{
    display:none;
}

.amount-grid label{

    height:45px;

    display:flex;
    align-items:center;
    justify-content:center;

    cursor:pointer;

    background:linear-gradient(
        270deg,
        rgba(255,255,255,.18),
        rgba(255,255,255,.05),
        rgba(255,255,255,.18)
    );

    background-size:300% 300%;
    animation:glassMove 8s ease infinite;

    border:1px solid rgba(255,255,255,.25);

    backdrop-filter:blur(18px);
    -webkit-backdrop-filter:blur(18px);

    border-radius:16px;

    box-shadow:
        0 8px 32px rgba(0,0,0,.25),
        inset 0 1px 1px rgba(255,255,255,.35);

    color:white;
    font-weight:600;

    transition:.25s;
}

.amount-grid input:checked + label{

    border-color:#4ade80;

    color:#4ade80;

    box-shadow:
        0 0 15px rgba(74,222,128,.35),
        inset 0 1px 1px rgba(255,255,255,.35);

    transform:translateY(-2px);
}
.toman-span{
    font-size: 10px;
    margin-right: 5px;
}
.toman-icons{
    position: relative;
    display: block;
    width: 50px;
}
.toman-icons p{
    position: relative;
    z-index: 4;
    color: white;
    padding: 6px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 200, 255, 0.15), rgba(0, 100, 255, 0.05));
}
#wallet-input{
    padding: 0px 10px;
}



@media screen and (max-width: 1230px) {
    .body-home-page {
        grid-template-columns: repeat(3, 1fr); /* 2 ستون در هر ردیف */
    }
}
@media screen and (max-width: 940px) {
    .body-home-page {
        grid-template-columns: repeat(2, 1fr); /* 2 ستون در هر ردیف */
    }
}
@media screen and (max-width: 630px) {
    .body-home-page {
        grid-template-columns: repeat(1, 1fr); /* 1 ستون در هر ردیف */
    }
}
@media (min-width: 340px) {
    .more-details-text p{
        font-size: 16px;
    }
}
@media (min-width: 370px) {
    .more-details-text p{
        font-size: 18px;
    }
}
@media (min-width: 576px) {
    .form-box,.user-box,.alert-box{
        display: block;
        box-sizing: border-box;
        width: 83%;
    }
    .notification,#notification-text{
        max-width: 75vw;
    }
    .person-card,.blur-card-box{
        width: 83%;
    }
}
@media (min-width: 768px) {
    .form-box,.user-box,.alert-box{
        display: block;
        box-sizing: border-box;
        width: 58%;
    }
    .notification,#notification-text{
        max-width: 52vw;
    }
    .person-card,.blur-card-box{
        width: 58%;
    }
}
@media (min-width: 992px) {
    .form-box,.user-box,.alert-box{
        display: block;
        box-sizing: border-box;
        width: 41%;
    }
    .notification,#notification-text{
        max-width: 38vw;
    }
    .person-card,.blur-card-box{
        width: 41%;
    }
}
@media (min-width: 1200px) {
    .form-box,.user-box,.alert-box{
        display: block;
        box-sizing: border-box;
        width: 33%;
    }
    .notification,#notification-text{
        max-width: 30vw;
    }
    .person-card,.blur-card-box{
        width: 31%;
    }
}
@media (min-width: 1600px) {
    .form-box,.user-box,.alert-box{
        display: block;
        box-sizing: border-box;
        width: 25%;
    }
    .notification,#notification-text{
        max-width: 23vw;
    }
    .person-card,.blur-card-box{
        width: 25%;
    }
}