html, body {
    margin: 0;
    padding: 0;
    background: #000000;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

@font-face {
    font-family: "Dirooz";
    src: local("Dirooz"),
         url("assets/Dirooz.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Oswald";
    src: local("Oswald"),
         url("assets/Oswald.woff2") format("woff2");
    font-display: swap;
}


.loading {
    display: flex;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: #000000;
}

.loader {
    height: 30px;
    aspect-ratio: 3;
    --c:no-repeat linear-gradient(#FFFFFF 0 0);
    background:
      var(--c) calc(0*100%/5) 50%,
      var(--c) calc(1*100%/5) 50%,
      var(--c) calc(2*100%/5) 50%,
      var(--c) calc(3*100%/5) 50%,
      var(--c) calc(4*100%/5) 50%,
      var(--c) calc(5*100%/5) 50%;
    background-size:calc(100%/6 + 1px) 50%;
    animation: l19 1s infinite cubic-bezier(0.5,170,0.5,-170);
}

@keyframes l19 {
    14.28% {background-position: calc(0*100%/5) 51%, calc(1*100%/5) 50%, calc(2*100%/5) 50%, calc(3*100%/5) 50%, calc(4*100%/5) 50%, calc(5*100%/5) 50%}
    28.57% {background-position: calc(0*100%/5) 50%, calc(1*100%/5) 51%, calc(2*100%/5) 50%, calc(3*100%/5) 50%, calc(4*100%/5) 50%, calc(5*100%/5) 50%}
    42.85% {background-position: calc(0*100%/5) 50%, calc(1*100%/5) 50%, calc(2*100%/5) 51%, calc(3*100%/5) 50%, calc(4*100%/5) 50%, calc(5*100%/5) 50%}
    57.14% {background-position: calc(0*100%/5) 50%, calc(1*100%/5) 50%, calc(2*100%/5) 50%, calc(3*100%/5) 51%, calc(4*100%/5) 50%, calc(5*100%/5) 50%}
    71.42% {background-position: calc(0*100%/5) 50%, calc(1*100%/5) 50%, calc(2*100%/5) 50%, calc(3*100%/5) 50%, calc(4*100%/5) 51%, calc(5*100%/5) 50%}
    85.71% {background-position: calc(0*100%/5) 50%, calc(1*100%/5) 50%, calc(2*100%/5) 50%, calc(3*100%/5) 50%, calc(4*100%/5) 50%, calc(5*100%/5) 51%}
}

.content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

.r_join {
    background-color: rgba(68, 68, 68, 0.27);
    max-width: 320px;
    max-height: 320px;
    padding: 10px;
    border-radius: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Dirooz";
    color: white;
    margin-top: 50%;
    translate: 0 -25%;
}

.r_logo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    overflow: hidden;
    border: 1px solid #1b1b1b;
}

.r_info{
    font-family: "Dirooz";
    user-select: none;
    font-weight: 500;
    padding-top: 15px;
    padding: 10px;
}

.r_title {
    font-family: "Dirooz";
    font-weight: 600;
    user-select: none;
    font-size: 1.4rem;
}

.r_button{
    font-family: "Dirooz";
    border-radius: 60px;
    background: #414141;
    color: white;
    padding: 10px;
    margin: 5vw;
    min-width: 110px;
    min-height: 4vh;
    text-align: center;
    font-weight: 600;
    margin-top: 5px;
    cursor: pointer;
    user-select: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    position: fixed;
    width: 100%;
    height: 10vh;
    bottom: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: "Oswald";
    font-size: 10vw;
    text-shadow: -1px 0px 3px #0C0C0C;
    user-select: none;
    background: #000000;
}

.emoji {
    font-family: "Oswald";
    font-size: 7vw;
    text-shadow: -1px 0px 3px #0C0C0C;
    user-select: none;
}

.version {
    position: absolute;
    width: 100%;
    height: 5vh;
    top: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: "Oswald";
    font-size: 3vw;
    text-shadow: -1px 0px 3px #0C0C0C;
    user-select: none;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90vw;
    height: auto;
    padding: 15px;
    margin: 5vw;
    gap: 1em;
    margin-top: 10vh;
}

.main-row {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 19vh;
    width: 85%;
    gap: 1em;
}

.main-button {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: rgba(68, 68, 68, 0.536);
    border: 1px solid #0c0c0c;
    border-radius: 8px;
    height: 100%;
    width: 40vw;
    overflow: hidden;
}

.main-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    width: 35%;
    height: 35%;
    padding: 3vh;
}

.main-label {
    color: #FFFFFF;
    font-family: "Dirooz";
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 12.5%;
    direction: rtl;
    user-select: none;
}

.main-round-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(68, 68, 68, 0.536);
    color: #FFFFFF;
    width: 100%;
    height: 3vh;
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 3.5vw;
    border-radius: 60px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    direction: rtl;
}

.main-loading {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 999;
}

.page-header {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.page-icon-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    width: 30%;
    height: 30%;
}

.page-header-icon {
    width: 100%;
    height: 100%;
}

.page-header-text {
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 4.75vw;
    border-radius: 60px;
    padding: 14px;
    text-align: center;
    user-select: none;
    direction: rtl;
    color: #FFFFFF;
}

.page-sub-header-text {
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 2.75vw;
    border-radius: 60px;
    padding-bottom: 14px;
    text-align: center;
    user-select: none;
    direction: rtl;
    color: #FFFFFF;
}

.page-items {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    width: 80vw;
    gap: 1em;
    padding-top: 25px;
    padding-bottom: 25px;
}

.item {
    width: 80%;
    padding: 3vh;
    border-radius: 0.5rem;
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    user-select: none;
    direction: rtl;
    background: #cccac5;
    color: #252525;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.5rem;
}

.item p {
    margin: 0;
    pointer-events: none;
    user-select: none;
    gap: 5px;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
}

.item-disabled {
    width: 80%;
    padding: 3vh;
    border-radius: 0.5rem;
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 1rem;
    text-align: center;
    user-select: none;
    direction: rtl;
    background: #cccac5;
    color: #252525;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.5rem;
    pointer-events: none;
    cursor: not-allowed;
}

.help-android {
    width: 80%;
    padding: 2vh;
    border-radius: 0.5rem;
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    direction: rtl;
    background: #cccac5;
    color: #252525;
}

.help-ios {
    width: 80%;
    padding: 2vh;
    border-radius: 0.5rem;
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    direction: rtl;
    background: #cccac5;
    color: #252525;
}

.help-windows {
    width: 80%;
    padding: 2vh;
    border-radius: 0.5rem;
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    direction: rtl;
    background: #cccac5;
    color: #252525;
}

.back-button {
    position: fixed;
    width: 7vw;
    height: 7vw;
    user-select: none;
    cursor: pointer;
    z-index: 998;
    left: 6vw;
    top: 1.6vh;
    padding: 1vh;
}

.balance {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    padding: 0;
    margin: 0;
    gap: 0.25em;
}

.balance-amount {
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 4.75vw;
    text-align: center;
    user-select: none;
    direction: rtl;
    color: #45d45d;
}

.tooman {
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 4.75vw;
    text-align: center;
    user-select: none;
    direction: rtl;
    color: #45d45d;
}

.add-balance-button {
    width: 80%;
    padding: 2vh;
    border-radius: 0.5rem;
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    direction: rtl;
    background: #cccac5;
    color: #252525;
}

.add-balance-type-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80%;
    padding: 2vh;
    border-radius: 0.5rem;
    font-family: "Dirooz";
    font-weight: 1000;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    direction: rtl;
    background: #cccac5;
    color: #252525;
}

.add-balance-type-button p {
    margin: 0;
    background-color: #00000000;
}

.service-loading {
    height: calc(50vh - 20px);
    width: 85vw;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 10px 0;
}

.no-service {
    height: calc(50vh - 20px);
    width: 85vw;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 10px 0;
}

.no-service p {
    color: #ffffff;
    direction: rtl;
    font-family: "Dirooz";
    font-weight: 1000;
    font-size: 1rem;
    border: 2px dotted #FFFFFF;
    border-radius: 10px;
    padding: 4%;
}

.service-list {
    height: calc(50vh - 20px);
    width: 85vw;
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 10px 0;
}

.service-list::-webkit-scrollbar {
    display: none;
}

.service {
    background: #cccac5;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 0 14px;
    cursor: pointer;
    gap: 1em;
}

.service p {
    font-family: "Oswald";
    font-weight: 1000;
    font-size: 20px;
    text-align: center;
}

.service:hover {
    transform: scale(1.05);
}

.service-status-on {
    width: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #26c539;
    box-shadow: 0 0 0 0 #26c549;
    animation: l1 1s infinite;
}

.service-status-standby {
    width: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #c5b826;
    box-shadow: 0 0 0 0 #c5b836;
    animation: l1 1s infinite;
}

.service-status-off {
    width: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #c52626;
    box-shadow: 0 0 0 0 #c52626;
    animation: l1 1s infinite;
}

@keyframes l1 {
    100% {box-shadow: 0 0 0 9px #0000}
}

.service-name {
    display: flex;
    align-items: center;
    justify-content: baseline;
    gap: .5em;
    margin-top: 7vh;
}

.service-name p {
    color: #FFFFFF;
    font-family: "Oswald";
    font-weight: 1000;
    font-size: 30px;
    margin: 0;
}

.service-info-panel {
    width: 80vw;
    height: 40vh;
    border-radius: 15px;
    background-color: #181818;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4%;
    margin: 4%;
}

.service-info-row {
    height: 45%;
    width: 100%;
    padding: 3%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

.service-info-cell {
    width: 30%;
    height: 100%;
    background-color: #a5a5a565;
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 1%;
    padding-bottom: 1%;
    user-select: none;
}

.service-info-cell div {
    font-size: 20px;
    padding: 0;
    margin: 0;
}

.service-info-cell p {
    padding: 0;
    margin: 0;
    color: #FFFFFF;
    font-family: "Dirooz";
    font-weight: 1000;
    font-size: 12px;
    direction: rtl;
}

.service-info-cell p:nth-child(2) {
    padding: 0;
    margin: 0;
    color: #ffffff;
    font-family: "Dirooz";
    font-weight: 1000;
    font-size: 15px;
    padding: 5%;
    padding-bottom: 10%;
}

.service-options {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 1em;
    width: 80vw;
}

.options-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    width: 100%;
    height: auto;
}

.service-option {
    width: 45%;
    height: 110%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background-color: #a5a5a565;
    border-radius: 15px;
    font-family: "Dirooz";
    padding: 1%;
    user-select: none;
    cursor: pointer;
    transition: all 200ms;
    direction: rtl;
    text-align: center;
}

.service-option:hover {
    background-color: #a5a5a5;
}

.service-option div {
    font-size: 15px;
}

.service-option p {
    flex: 1;
    font-size: 0.75rem;
    font-weight: 700;
}

.popup-panel {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1000;
    overflow-y: scroll;
    scrollbar-width: none;
}

.popup-panel > .popup {
    width: 80%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    background-color: #252525;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding-top: 5%;
    padding-bottom: 5%;
    max-height: 80%;
    overflow-y: scroll;
    scrollbar-width: none;
}

.popup-logo {
    font-size: 50px;
    user-select: none;
}

.popup-text {
    font-family: "Dirooz";
    font-size: 1rem;
    font-weight: 1000;
    color: #FFFFFF;
    direction: rtl;
    text-align: center;
    padding: 5%;
    user-select: none;
    overflow-y: unset;
}

.popup-textarea-header {
    font-family: "Dirooz";
    font-size: 0.7rem;
    font-weight: 1000;
    color: #FFFFFF;
    direction: rtl;
    text-align: right;
    padding: 3%;
    user-select: none;
    max-height: 32vh;
    overflow-y: auto;
    width: 70%;
    white-space: pre-line;
    overflow-y: unset;
}

.popup-input {
    width: 80%;
    background-color: #00000000;
    border: none;
    border-bottom: 2px solid #1b1b1b;
    border-radius: 2px;
    color: #FFFFFF;
    font-family: "Oswald";
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    margin-top: 10%;
}

.popup-error {
    width: 80%;
    font-family: "Dirooz";
    font-weight: 700;
    font-size: 0.8em;
    text-align: right;
    color: #a31818;
    direction: rtl;
    user-select: none;
}

.popup-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    direction: rtl;
    margin-top: 5%;
    width: 100%;
    gap: 1em;
}

.popup-textarea {
    resize: vertical;
    background-color: #00000000;
    font-family: 'Oswald';
    color: #ffffff;
    font-size: .9rem;
    font-weight: 1000;
    border: 3px solid #1b1b1b;
    padding: 2%;
    border-radius: 9px;
    margin-bottom: 3%;
    resize: none;
    min-height: 10vh;
}

.popup-list {
    width: 60%;
    overflow-y: auto;
    max-height: 15vh;
    display: flex;
    flex-direction: column;
    color: #FFFFFF;
    font-family: "Oswald";
    font-weight: 1000;
    font-size: 1rem;
    border: 2px solid #181818;
    border-radius: 15px;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 1%;
    padding-bottom: 1%;
}

.popup-selector {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
    width: 80%;
    border-bottom: 2px solid #414141;
    max-height: 42vh;
    overflow-y: scroll;
    scrollbar-width: none;
    padding-bottom: 3%;
}

.popup-selector span {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1em;
}

.popup-selector span div {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    color: #ffffff;
    width: 35%;
    padding: 3%;
    font-family: "Oswald";
    font-weight: 1000;
    font-size: 1rem;
    border-radius: 15px;
    transition: all 200ms;
    user-select: none;
    cursor: pointer;
    direction: rtl;
    gap: 6px;
}

.popup-selector .selected {
    background-color: #45d45d;
    border: 2px solid #45d45d;
}

.popup-balance {
    font-family: "Dirooz";
    font-size: 1rem;
    font-weight: 1000;
    color: #FFFFFF;
    direction: rtl;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    user-select: none;
    width: 80%;
}

.popup-balance-amount {
    color: #45d45d;
    user-select: all;
}

.copy-container {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
}

.config-copy {
    width: 25%;
    height: 22px;
    background-color: #26c539;
    border-radius: 8px;
    direction: rtl;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Dirooz";
    font-weight: 1000;
    color: #ffffff;
    font-size: 0.8rem;
    user-select: none;
    cursor: pointer;
}

.option-confirm {
    width: 40%;
    height: 6vh;
    background-color: #26c539;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Dirooz";
    font-weight: 1000;
    color: #ffffff;
    font-size: 1rem;
    user-select: none;
    cursor: pointer;
}

.option-cancel {
    width: 40%;
    height: 6vh;
    background-color: #c52626;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Dirooz";
    font-weight: 1000;
    color: #ffffff;
    font-size: 1rem;
    user-select: none;
    cursor: pointer;
}

.red {
    color: #c52626;
    font-weight: 1000;
    font-size: 15px;
}

.green {
    color: #3bc526;
    font-weight: 1000;
    font-size: 15px;
}

.current-mail {
    display: flex;
    direction: rtl;
    align-items: baseline;
    justify-content: center;
    gap: 1em;
    color: #ffffff;
    font-family: "Dirooz";
    font-weight: 1000;
    font-size: 0.9rem;
    user-select: none;
}

.current-mail div {
    color: #c5b836;
    font-family: "Oswald";
}

.mail-button {
    width: 80%;
    padding: 2vh;
    border-radius: 0.5rem;
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    direction: rtl;
    background: #cccac5;
    color: #252525;
    opacity: 0;
}

.mail-cancel-button {
    width: 80%;
    padding: 2vh;
    border-radius: 0.5rem;
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    direction: rtl;
    background: #c52626;
    color: #FFFFFF;
    opacity: 0;
}

.mail-set-button {
    width: 80%;
    padding: 2vh;
    border-radius: 0.5rem;
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    direction: rtl;
    background: #26c556;
    color: #FFFFFF;
    opacity: 0;
}

.ref-wrap {
    display: flex;
    flex-direction: column;
    margin-top: 5%;
    margin-bottom: 5%;
    border: 3px solid #373737;
    border-radius: 15px;
    padding: 2%;
    gap: 0.8em;
    align-items: center;
}

.ref-score {
    width: 80vw;
    display: flex;
    direction: rtl;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-family: "Dirooz";
    gap: 1em;
    font-weight: 1000;
    font-size: 1.2rem;
    user-select: none;
}

.ref-score div {
    background-color: #26c539;
    border-radius: 5px;
    color: #0C0C0C;
    font-size: 1.5rem;
    font-family: "Oswald";
    width: 25vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-link {
    display: flex;
    direction: rtl;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

.ref-link p {
    font-family: "Dirooz";
    font-size: 1.1rem;
    font-weight: 1000;
    color: #FFFFFF;
    user-select: none;
}

.textarea-wrap {
    height: 5vh;
    background-color: #00000000;
    border-radius: 9px;
    border: 3px solid #373737;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 45vw;
    overflow: hidden;
}

.textarea-wrap img {
    width: 15%;
    height: auto;
    padding: 2%;
    cursor: pointer;
    user-select: none;
}

.ref-textarea::-webkit-scrollbar {
    height: 8px;
}

.ref-textarea {
    resize: none;
    background-color: #00000000;
    font-family: 'Oswald';
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 1000;
    border: none;
    width: 80%;
    height: 100%;
    flex: 1;
    direction: ltr;
    margin-left: 2%;
    overflow-y: hidden;
    overflow-x: auto;
    word-wrap: break-word;
    white-space: nowrap;
    outline: none;
    border: none;
    line-height: 1.7rem;
}

.ref-text {
    width: 100%;
    font-family: 'Dirooz';
    color: #ffffff;
    direction: rtl;
    text-align: center;
    font-weight: 1000;
    margin-top: 1vh;
    user-select: none;
    font-size: 0.76rem;
    display: block;
    line-height: 1.8;
}

.highlight {
    background-color: #26c539;
    border-radius: 5px;
    color: #0C0C0C;
    font-size: 0.76rem;
    font-family: 'Dirooz';
    padding: 0 5px;
    display: inline-block;
    font-weight: 900;
}

.ref-prizes {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
    margin-top: 5vh;
}

.ref-button {
    width: 80%;
    padding: 1vh;
    border-radius: 0.5rem;
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    cursor: pointer;
    user-select: none;
    direction: rtl;
    background: #ffffff;
    color: #0C0C0C;
    display: flex;
    justify-content: center;
}

.balance-wrap {
    display: flex;
    flex-direction: column;
    margin-top: 5%;
    margin-bottom: 5%;
    border: 3px solid #373737;
    border-radius: 15px;
    padding: 2%;
    gap: 0.8em;
    align-items: center;
    padding-bottom: 5%;
}

.balance-input-area {
    display: flex;
    direction: rtl;
    align-items: baseline;
    justify-content: center;
    width: 80vw;
    padding-left: 5%;
    padding-right: 5%;
    gap: 1em;
}

.balance-input-area p {
    color: #FFFFFF;
    font-family: "Dirooz";
    font-size: 1.3rem;
    font-weight: 1000;
}

.amount-input {
    max-width: 60%;
    flex: 1;
    background-color: #00000000;
    border: none;
    border-bottom: 2px solid #1b1b1b;
    border-radius: 2px;
    color: #FFFFFF;
    font-family: "Oswald";
    font-weight: 700;
    font-size: 1.3rem;
    text-align: center;
}


.amount-input::-webkit-inner-spin-button,
.amount-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}


.amount-input[type=number] {
    -moz-appearance: textfield;
}


.input-error {
    width: 80%;
    font-family: "Dirooz";
    font-weight: 700;
    font-size: 0.8em;
    text-align: right;
    color: #a31818;
    direction: rtl;
    user-select: none;
}

.balance-link {
    width: 80vw;
    display: flex;
    direction: rtl;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
}

.balance-link p {
    font-family: "Dirooz";
    font-size: 0.8em;
    font-weight: 1000;
    color: #FFFFFF;
    user-select: none;
}

.balance-textarea-wrap {
    height: 5vh;
    background-color: #00000000;
    border-radius: 9px;
    border: 3px dotted #373737;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 45vw;
    overflow: hidden;
    flex: 1;
}

.balance-textarea-wrap img {
    width: 7%;
    height: auto;
    padding: 2%;
    cursor: pointer;
    user-select: none;
}

.balance-textarea {
    resize: none;
    background-color: #00000000;
    font-family: 'Oswald';
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 1000;
    border: none;
    width: 100%;
    height: 100%;
    direction: ltr;
    margin-left: 2%;
    margin-top: 4%;
    overflow-y: auto;
    overflow-x: hidden;
    word-wrap: break-word;
}


.banner-area {
    width: 100%;
    overflow: hidden;
    direction: rtl;
    border-top: 2px solid #ffffff3d;
    border-bottom: 2px solid #ffffff3d;
    font-family: "Dirooz";
    font-size: 0.6rem;
    font-weight: 1000;
    color: #ffffffc2;
    background-color: transparent;
    padding: 0.5em 0;
    position: relative;
    white-space: nowrap;
}

#banner-scroll-wrapper {
    display: inline-flex;
    white-space: nowrap;
    direction: rtl;
}

.search-bar {
    display: block;
    width: 89%;
    height: auto;
    background: transparent;
    font-family: "Dirooz";
    font-weight: bold;
    font-size: 4vw;
    border-radius: 9px;
    border: 3px solid #2b2b2a;
    padding: 8px 20px;
    box-sizing: border-box;
    color: #5f5f5f;
    direction: rtl;
}

.search-bar:focus {
    color: #cccac5;
    border: 3px solid #cccac5;
    outline: none;
}

.search-bar::placeholder {
    color: #5f5f5f;
}

.search-bar::-webkit-input-placeholder {
    color: #5f5f5f;
}

.search-bar:-moz-placeholder {
    color: #5f5f5f;
}

.search-bar::-moz-placeholder {
    color: #5f5f5f;
}

.search-bar:-ms-input-placeholder {
    color: #5f5f5f;
}

.search-bar:focus::placeholder {
    color: #cccac5;
}

.search-bar:focus::-webkit-input-placeholder {
    color: #cccac5;
}

.search-bar:focus:-moz-placeholder {
    color: #cccac5;
}

.search-bar:focus::-moz-placeholder {
    color: #cccac5;
}

.search-bar:focus:-ms-input-placeholder {
    color: #cccac5;
}

.error-page {
    display: flex;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.error-page-header {
    font-size: 6rem;
}

.error-page-text {
    color: #ffffff;
    font-size: 1.55rem;
    width: 60%;
    direction: rtl;
    text-align: center;
    font-family: "Dirooz";
    font-weight: 1000;
}