﻿:root {
    --dis: #B3B3B3;
    --input-bg: #F8F8F8;
    --placeholder: #8D8D8D;
    --btn-green: #3CB26A;
    --btn-main-dis: #CCEEDA;
    --dark-green: #006C2A;
    --light-green: #9BDEB5;
    --text-green: #1BA952;
    --text-orange: var(--orange);
    --dark-red: #6C0000;
    --light-red: #DE9B9B;
    --input-text: #393939;
    --dark-blue: #4759FF;
    --light-blue: #E2E5FF;
    --orange: #FB6F43;
}


@font-face {
    font-family: YekanBold;
    src: url("../ttf/IRANYekanXFaNum-Bold.ttf");
    font-weight: bold;
}

@font-face {
    font-family: YekanMedium;
    src: url("../ttf/IRANYekanXFaNum-Medium.ttf");
    font-weight: 600;
}

@font-face {
    font-family: Yekan;
    src: url("../ttf/IRANYekanXFaNum-Regular.ttf");
    font-weight: normal;
}

/* Let's get this party started */
.main-content ::-webkit-scrollbar {
    width: 3px;
}

/* Track */
.main-content ::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

/* Handle */
.main-content ::-webkit-scrollbar-thumb {
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background: var(--light-green);
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

    .main-content ::-webkit-scrollbar-thumb:window-inactive {
        background: var(--orange);
    }


.html {
    height: 100vh;
}
*{
    direction:rtl;
}
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Yekan';
    box-sizing: border-box;
    height: 100%;
    
}

body {
    overflow: hidden;
}

.rtl {
    direction: rtl;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

p {
    margin: 0;
}

a {
    text-decoration: none;
}

.text-blue {
    color: var(--dark-blue);
}

.orange-border {
    border: 2px solid var(--orange);
    border-radius: 50%;
}

.focused {
    position: absolute;
    bottom: 0px;
    right: 0;
    left: 0;
    transition: top 0.3s ease;
}

.header, .header-calendar {
    position: relative;
}

.header-calendar {
    background-image: url('../Images/calendar-header-bg.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 10px 25px 10px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: var(--orange) 4px solid;
}

.profile-image {
    position: relative;
    width: 88px;
    aspect-ratio: 1;
    border-radius:50%;
}

    .profile-image img:first-child {
        width: 100%;
        border-radius:50%;
    }

    .profile-image .edit-prof {
        position: absolute;
        bottom: 5px;
        left: 5px;
        padding: 5px;
        background-color: #FB6F43;
        border-radius: 15px;
        opacity: 1;
    }

.header-name {
    font-size: 18px;
    font-weight: bold;
}

.header-details {
    font-size: 12px;
}

.header-img {

    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    height: 355px;
}

.header-bg {
    position: fixed;
    z-index: -1;
    top: -200px;
}

.title {
    font-size: 24px;
    font-weight: bold;
    margin-top: 24px;
}

.main-container {
    margin: 0 auto;
    height: 100%;
    max-width: 760px;
    display: flex;
    flex-direction: column;
    justify-content:center;
}

.main-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 12px;
    direction: rtl;
    overflow-y: hidden;
    flex: 1;
}
.main-content-css {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 12px;
    direction: rtl;
    overflow-y: hidden;
    flex: 1;
    padding: 20px 25px;
}


.main-content-inner-shadow {
    background: #FFF;
    /*box-shadow: 0px -49px 14px -12px rgba(0, 0, 0, 0.07) inset;*/
}

.calendar {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0px 0 15px;
    overflow-y: scroll;
    margin: 16px 25px;
    margin-bottom: 0px;
    overflow-x: hidden;
}

    .calendar > div {
        width: 310px;
    }

    .calendar > p {
        color: #878787;
    }
    
.otp-inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    direction: ltr;
}

.main-input-text, .otp-input-text {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    align-items: end;
    justify-content: center;
    background-color: var(--input-bg);
    border-radius: 8px;
}

.otp-input-text {
    padding: 18px 16px;
    width: 20%;
}

    .main-input-text input::placeholder, .otp-input-text input::placeholder {
        color: var(--placeholder);
        font-weight: normal;
    }

    .main-input-text input, .otp-input-text input {
        border: none;
        background: none;
        direction: rtl;
        color: var(--input-text);
        font-weight: bold;
        width: 100%;
    }

    .otp-input-text input {
        text-align: center;
    }

        .main-input-text input:focus, .otp-input-text input:focus {
            outline: none;
            border: none;
        }

.main-input-text label {
    color: var(--dis);
    margin-left: auto;
}

.btn-container {
    margin: 0 auto;
    max-width: 760px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    direction: rtl;
    width: 100%;
    padding: 20px 25px;
    padding-top: 0px;
    /*box-shadow: 0px -12px 39px 0px rgba(0,0,0,0.19);*/
}

.btn-container2 {
    margin: 0 auto;
    max-width: 760px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    direction: rtl;
    width: 100%;

}

.main-btn, .secondary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    width: 100%;
    white-space: nowrap;
}

    .main-btn:disabled {
        background-color: var(--btn-main-dis);
    }

.main-btn {
    background-color: var(--btn-green);
    color: white;
}

.secondary-btn {
    border: 1px solid #999999;
    color: #999999;
    background: none;
    color: #3CB26A;
    font-weight: 500;
}

.btn-shadow {
    box-shadow: 0px -6px 20px 0px rgba(0, 0, 0, 0.15);
}

.resend-code > p {
    font-size: 14px;
    font-weight: 600;
    color: #545454;
}

.resend-code-subtitle {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .resend-code-subtitle p {
        font-size: 12px;
        color: #A7A7A7;
    }

    .resend-code-subtitle span, .resend-code-subtitle a {
        font-size: 12px;
        /*color: #0F85DA;*/
        text-decoration: underline;
    }

.gender-radio-button {
    border: 2px solid var(--light-green);
    border-radius: 12px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex: 1;
}

    .gender-radio-button p {
        width: 100%;
        text-align: center;
        font-weight: bold;
        font-size: 14px;
    }

.like-btn {
    padding: 4px;
    border-radius: 50%;
    background-color: var(--light-green);
}

    .like-btn img {
        width: 24px;
    }

.selected-like-btn {
    background-color: white !important;
}

.active-gender {
    background-color: var(--light-green);
    color: var(--dark-green);
}

.active-gender-red {
    background-color: var(--light-red);
    color: var(--dark-red);
}

.subtitle {
    color: #222222;
    font-size: 12px;
    font-weight: normal;
}

    .subtitle p:first-of-type {
        font-weight: bold;
        margin-bottom: 12px;
    }

.dislike {
    border: 2px solid var(--light-red) !important;
    color: var(--dark-red);
}

.header-score {
    font-size: 12px;
    font-weight: bold;
    color: white;
    padding: 6px 24px 2px;
    background-color: var(--orange);
    border-top-right-radius: 15px;
    position: absolute;
    bottom: -2px;
    left: 0;
    width: max-content;
    direction: rtl;
    font-family: YekanBold;
}

    .header-score img {
        width: 18px;
        margin-left: 5px;
        margin-bottom: 3px;
        padding: 1px;
        border-radius: 15px;
        background-color: #fff;
    }

    .header-score::after {
        content: url("../Images/right-corner.png");
        position: absolute;
        right: -11px;
        bottom: -6px;
    }

.enough-score {
    border-bottom: var(--text-green) 4px solid;
}

    .enough-score .header-score {
        background-color: var(--text-green);
    }

        .enough-score .header-score::after {
            content: url("../Images/right-corner-green.png");
        }

.days {
    color: #878787;
    font-size: 11px;
}

.cal-box {
    color: #05421C;
    font-size: 10px;
    background-color: #ebebeb;
    padding: 12px 7px 5px 16px;
    border-radius: 12px;
    position: relative;
    width: 58px;
    height: 54px;
}

    .cal-box span {
        color: #05421C;
        text-align: right;
        font-size: 14px;
        font-style: normal;
        font-family: YekanBold;
        font-weight: 700;
        line-height: normal;
    }
    .cal-box p {
        color: #05421C;
        font-size: 10px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

    .selected-day {
        background-color: white;
        outline: 2px solid var(--btn-green);
    }

.current {
    background-color: var(--light-green);
    box-shadow: 0px 4px 6.800000190734863px 0px rgba(0, 0, 0, 0.6);
}

.locked::before {
    content: url("../Images/lock.svg");
    position: absolute;
    top: 6px;
    left: 8px;
}

.not-received::before {
    content: url("../Images/unlocked.svg");
    position: absolute;
    top: 6px;
    left: 8px;
}

.done-success::before {
    content: url("../Images/small-tick.svg");
    position: absolute;
    top: 6px;
    left: 8px;
}

.done-failed::before {
    content: url("../Images/cross.svg");
    position: absolute;
    top: 6px;
    left: 8px;
}

.drawer-modal {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: end;
    justify-content: center;
    transition: 300ms;
}

.modal-dark-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.40);
    z-index: 0;
}

.profile-images {
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
    margin: 0 auto;
}

    .profile-images img {
        width: 80px;
        margin: 8px;
        border-radius:50%;
    }

.hide-modal {
    top: 100%;
}

.modal-body {
    background-color: white;
    padding: 18px 24px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    direction: rtl;
    max-width: 760px;
    max-height: 50%;
    overflow-y: scroll;
}

.message {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 12px;
    font-size: 14px;
    color: #A3A3A3;
    padding: 18px 0;
    border-bottom: 3px solid #D9D9D9;
}

    .message img {
        width: 33px;
    }

.sponsor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: bold;
    padding: 16px 0 12px 0;
}


.discount-container {
    background-color: var(--light-green);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
}

.discount-code {
    padding: 6px 24px;
    background-color: white;
    font-size: 16px;
    color: #878787;
    border-radius: 8px;
}

.copy-btn {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 12px;
    font-size: 10px;
    font-weight: bold;
    padding-left: 20px;
    color: var(--dark-green);
}

.tag {
    color: #a3a3a3;
    font-size: 10px;
    font-weight: bold;
    padding: 10px;
    border-radius: 50px;
    border: 1px solid #EBEBEB;
    color: #A3A3A3;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.alert-success {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px;
    border-radius: 12px;
    background-color: var(--light-green);
    color: var(--dark-green);
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.history-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: bold;
    width: 100%;
    color: var(--dark-blue);
}

.history-container {
    display: flex;
    align-items: start;
    justify-content: start;
    flex-direction: column;
    gap: 12px;
    height: 100%;
    max-height: 360px;
    overflow-y: auto;
}

.history-record, .history-record-right-answer {
    border: 1px solid #ebebeb;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: start;
    width: 100%;
    gap: 12px;
    cursor: pointer;
}

    .history-record > p, .history-record-right-answer > p {
        font-size: 14px;
    }

    .history-record img {
        margin-right: auto;
    }

.history-record-right-answer {
    background-color: var(--light-green) !important;
}

    .history-record-right-answer p {
        color: var(--dark-green) !important;
    }

    .history-record-right-answer span {
        color: var(--text-green) !important;
    }

.history-record-selected {
    border: 2px solid var(--orange);
    background-color: white;
}

.untouchable {
    pointer-events: none;
}

.grey-img {
    filter: saturate(0);
}

.history-date {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #F2F2F2;
    padding: 12px 12px 8px;
    border-radius: 12px;
    color: var(--dark-green);
}

    .history-date p {
        font-size: 24px;
        font-weight: bold;
        line-height: 24px;
    }

    .history-date span {
        font-size: 12px;
    }
.history-date2 {
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: #F2F2F2;
    padding: 12px 12px 8px;
    border-radius: 12px;
    color: var(--dark-green);
}

    .history-date2 p {
        font-size: 24px;
        font-weight: bold;
        line-height: 24px;
    }

    .history-date2 span {
        font-size: 12px;
    }
.history-success {
    color: var(--text-green);
}

.history-failed {
    color: var(--text-orange);
}

.image-size-adj {
    width: 85px !important;
}

.question-title {
    width:100%;
    color: #000 !important;
    font-size: 15px !important;
    font-style: normal !important;
    font-weight: 600 !important;
    line-height: 159.4%; /* 23.91px */
    text-align: justify !important;
}

.selected-answer {
    color: black;
    background: #D9D9D9;
}

.question-date {
    color: #BBB;
    width:100%;
    text-align: right;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 159.4%; /* 31.88px */
}

.question-title-blue {
    font-size: 20px;
    color: var(--dark-blue) !important;
    text-align: center;
    margin-bottom: auto;
}

.question-subtitle {
    color: #878787;
    text-align: center;
    font-size: 16px;
}

.rewards-title {
    color: var(--dark-blue);
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    margin: 0 auto 35px;
}

.rewards {
    padding: 26px 10px;
    border-radius: 10px;
    border: 1px solid #B3B3B3;
}

    .rewards > div {
        display: flex;
        align-items: center;
        justify-content: start;
        margin: 14px 0;
        gap:10px;
    }

    .rewards p {
        font-size: 14px;
        font-weight: bold;
        color: #5B5B5B;
    }

.hidden {
    display: none;
}

@media screen and (max-width: 725px) {
    .max-h-sm-200 {
        /*height: 200px;*/
    }
}

@media screen and (max-width: 360px) {
    .calendar {
        align-items: start;
    }
}

.clickable {
    opacity:1;
}
.clickable:hover{
    cursor:pointer;
    opacity:0.5;
}
.logout-btn {
    position: absolute;
    top: 5px;
    left: 10px;
}
.invalid-tooltip {
    top: 100%;
    z-index: 5;
    max-width: 100%;
    padding: .5rem;
    margin-top: .1rem;
    font-size: .875rem;
    line-height: 1;
    color: #fff;
    background-color: rgba(251, 99, 64, 0.8);
    border-radius: .2rem;
}
.object-fit{
    object-fit:contain;
}
.object-cover{
    object-fit:cover;
}
.back-btn {
    width: 40px;
    height: 35px;
    border-radius: 12px;
    background: #EBEBEB;
}
.sign-out {
    padding: 5px;
    flex-shrink: 0;
    border-radius: 15px;
    background: #FFF;
}
.icon-header{
    padding:1px;
    border-radius:8px;
    background-color:#fff;
}
.icon-header2 {
    padding: 3px;
    border-radius: 10px;
    background-color: #fff;
}
.copy {
    color: #006C2A;
    text-align: right;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.circle-white {
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0px 4px 4px 0px #00000040;
}
.text-question {
    color: #000;
    text-align: right;
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.min-height-75 {
    max-height: 75%;
    position: relative;
    z-index: 1000;
}
.skeleton-avatar {
    background: #eee;
    background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
    background-size: 200% 100%;
    animation: 1.5s shine linear infinite;
    height: 88px;
    width: 88px;
    border-radius: 50%;
}


@keyframes shine {
    to {
        background-position-x: -200%;
    }
}
.sub-text {
    text-align: center;
    font-size: 10px;
    color: #5B5B5B;
    text-align: center;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.circle-list {
    list-style-type: none;
    padding: 0;
}

    .circle-list li {
        position: relative;
        padding-right: 25px; 
        margin-bottom: 10px;
        line-height: 1.5;
    }

        .circle-list li:before {
            content: '';
            position: absolute;
            right: 0;
            top: 7px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: black;
        }

.handle-open-input{
    padding-bottom:250px;
}