/*color-pallet*/
:root {
    --light-green2: #3cdec1;
    --green: #023531;
    --green2: #054842;
    --light-green: rgba(2, 53, 49, 0.45);
    --lightest-green: rgba(2, 53, 49, 0.07);
    --gold: #F3C627;
    --red: #ff003b;
    --light-bg: #ffffff;
    --light-silver: #f4f5f6;
    --light-font: #f1f1f1;
    --dark-box-bg: #2A2A2A;
    --dark-font: #1f2326;
    --grey-blue: #64748B;
    --light-grey: #afb6c5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    direction: rtl;
}

html {
    scroll-behavior: smooth !important;
}

body {
    font-family: IRANSansX, sans-serif;
    font-weight: normal;
    font-size: 1vw;
    background-color: var(--light-bg);
    overflow-x: hidden;
    color: var(--dark-font);
}

::-moz-selection {
    color: var(--light-bg);
    background: var(--green2);
}

::selection {
    color: var(--light-bg);
    background: var(--green2);
}

main {
    width: 100%;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    z-index: 2;
}

main.pop-up-mode {
    z-index: 20;
}

img {
    -webkit-user-drag: none !important;
    pointer-events: none !important;
}

input {
    font-family: IRANSansX, sans-serif;
    caret-color: var(--green);
}

input[type='number']::-webkit-inner-spin-button {
    display: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

.flex-hz {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

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

.btn {
    padding: 0.5vw;
    border: none;
    outline: none;
    border-radius: 0.6vw;
    /*background-color: var(--gold);*/
    min-width: 1vw;
    font-family: IRANSansX, sans-serif;
    font-size: 0.9vw;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

::-webkit-scrollbar {
    width: 0.52vw;
    background-color: silver;
}

::-webkit-scrollbar-thumb {
    background: var(--green2);
    box-shadow: 0 0 0.5vw black;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--dark-font);
    text-align: center;
}

.input-group {
    position: relative;
}

.input-group > i {
    position: absolute;
    opacity: 0.6;
    font-size: 1.2vw;
    z-index: 5;
}

.input-group input {
    padding: 1vw;
    width: 100%;
    outline: none;
    border-radius: 0.85vw;
    border: 0.1vw solid #DCE2EAFF;
    color: var(--dark-font);
    font-size: 0.95vw;
    transition: all 0.2s ease-in-out;
    font-family: IRANSansX, sans-serif;
    caret-color: var(--green2);
    font-weight: bold;
}

.input-group input.dd {
    cursor: pointer;
}

.input-group span.input-symbol {
    position: absolute;
    right: 1vw;
    font-size: 1.2vw;
    opacity: 0.7;
    pointer-events: none;
}

.input-group i.fa-angle-down {
    position: absolute;
    left: 1vw !important;
    font-size: 0.9vw;
    transition: all 0.35s;
    pointer-events: none;
}

.input-group.open i.fa-angle-down {
    transform: rotate(180deg);
}

.input-group label {
    /*position: absolute;*/
    /*right: 1vw;*/
    /*font-size: 0.8vw;*/
    /*opacity: 0;*/
    /*visibility: hidden;*/
    /*transition: all 0.35s;*/
}

.input-group input::placeholder {
    color: #DCE2EAFF;
    font-weight: normal;
    font-size: 0.9vw;
    transition: all 0.2s ease-in-out;
}

.input-group input:hover::placeholder,
.input-group input:focus::placeholder {
    color: rgba(175, 182, 197, 0.6);
}

.input-group input:hover {
    border-color: rgba(175, 182, 197, 0.6);
}

.input-group input:focus {
    background: #f4f8fa;
}

input[type=search]::-webkit-search-cancel-button {
    display: none !important;
}

.input-group .drop-down-container {
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: var(--light-bg);
    box-shadow: 0 0 1vw rgba(0, 0, 0, 0.3);
    border-radius: 0.7vw;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: end !important;
    align-items: center;
    gap: 0.5vw;
    transition: all 0.25s;
    font-family: IRANSansX, sans-serif;
}

.input-group .drop-down-container .input-group {
    width: 95% !important;
    margin-top: 0.5vw;
}

.input-group.open .drop-down-container {
    height: 20vw;
}

.input-group .drop-down-container ul {
    width: 100%;
    height: 78%;
    overflow: auto;
    align-items: start !important;
    justify-content: start !important;
    position: relative;
}

.input-group .drop-down-container ul::-webkit-scrollbar {
    width: 0.35vw;
}

.input-group .drop-down-container ul li {
    width: 100%;
    padding: 0.5vw 1vw;
    cursor: pointer;
    transition: all 0.2s;
    gap: 1vw;
    font-size: 0.9vw;
    justify-content: start !important;
}

.input-group .drop-down-container ul li:hover {
    background-color: rgba(155, 95, 35, 0.23);
}

.input-group .drop-down-container ul li.hide {
    display: none;
}

.drop-down-search-input {
    margin: 1vw 0;
    width: 95%;
    position: relative;
}

.drop-down-search-input input[type='search'] {
    padding: 0.5vw 2vw;
    background: transparent;
    font-size: 0.85vw !important;
}

.drop-down-search-input input[type='search']:focus {
    border-color: rgba(178, 120, 38, 0.5);
}

.drop-down-search-input input[type='search']::-webkit-search-cancel-button {
    transform: scale(0.6);
}

.drop-down-search-input i {
    position: absolute;
    right: 1vw;
}

h1.main-title {
    margin: 2vw 0;
    width: 95%;
    padding-right: 1vw;
    text-align: start;
    justify-content: start !important;
    position: relative;
    font-size: 1.25vw;
    font-weight: bold;
    transition: all 0.4s ease-in-out;
}

h1.main-title span {
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    transition-delay: 0.15s;
}

h1.main-title.active span {
    opacity: 1;
    visibility: visible;
}


h1.main-title::before {
    content: "";
    width: 1vw;
    height: 2.25vw;
    transform: skew(-20deg);
    border-radius: 0.1vw;
    position: absolute;
    right: -0.75vw;
    bottom: 12%;
    transition: all 0.25s;
    opacity: 0;
    visibility: hidden;
}

h1.main-title.active::before {
    opacity: 1;
    visibility: visible;
}

h1.main-title::after {
    content: "";
    width: 0;
    height: 0.2vw;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.05));
    transform: skew(-20deg);
    border-radius: 0.1vw;
    position: absolute;
    right: -1vw;
    top: 110%;
    transition: all 0.4s ease-in-out;
}

h1.main-title.active::after {
    width: 102%;
}

@media screen and (max-width: 992px) {
    body {
        background-size: 270%;
    }

    ::-webkit-scrollbar {
        width: 0 !important;
    }

    .input-group > i {
        right: 1.5vw;
        opacity: 0.6;
        width: 4vw;
        font-size: 3.2vw;
        text-align: center;
    }

    .input-group input {
        padding: 2vw 7vw 2vw 2vw;
        border-radius: 10px;
        font-size: 2vw;
    }

    .input-group .drop-down-container {
        box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
        border-radius: 10px;
        z-index: 10;
    }

    .input-group.open .drop-down-container {
        height: 25vw;
    }

    .input-group .drop-down-container ul::-webkit-scrollbar {
        width: 0.75vw;
    }

    .input-group .drop-down-container ul li {
        padding: 2vw;
        font-size: 2vw;
    }
}

@media screen and (max-width: 450px) {
    body::-webkit-scrollbar {
        display: none !important;
    }

    body::-webkit-scrollbar-thumb {
        display: none !important;
    }


    .input-group > i {
        right: 88%;
        opacity: 0.6;
        width: 8vw;
        font-size: 4vw !important;
        text-align: center;
    }

    .input-group input {
        padding: 2vw 9vw 3vw 0;
        border-radius: 10px;
        font-size: 3.5vw;
        text-align: start;
        border: 0.4vw solid rgba(178, 120, 38, 0.45);
    }

    .input-group .drop-down-container .input-group {
        margin-top: 2.5vw;
    }

    .input-group.open .drop-down-container {
        height: 60vw;
    }

    .drop-down-search-input input[type='search'] {
        padding: 2vw 9vw 2vw 2vw !important;
        font-size: 3.5vw !important;
    }

    .drop-down-search-input i {
        font-size: 4vw;
        margin-right: 1.75vw;
    }

    .input-group .drop-down-container ul::-webkit-scrollbar {
        width: 1.2vw !important;
    }

    .input-group.open .drop-down-container .input-group input[type='search']::-webkit-search-cancel-button {
        margin-left: 3vw;
    }

    .input-group .drop-down-container ul li {
        padding: 3vw 3.5vw;
        font-size: 3.5vw;
    }

    h1.main-title {
        margin: 9vw 0;
        padding-right: 4vw;
        justify-content: start !important;
        position: relative;
        font-size: 4vw;
    }


    h1.main-title::before {
        width: 3vw;
        height: 6vw;
        border-radius: 0.35vw;
        right: -1vw;
        bottom: 12%;
    }

    h1.main-title::after {
        height: 0.6vw;
        border-radius: 0.45vw;
        right: -1vw;
    }
}