@font-face {
    font-family: "vazir";
    font-weight: 500;
    src: url("../fonts/Vazir-Regular-FD.ttf") format("truetype"),
    url("../fonts/Vazir-Regular-FD.woff") format("woff"),
    url("../fonts/Vazir-Regular-FD.woff2") format("woff2");
}

@font-face {
    font-family: "vazir";
    font-weight: 800;
    src: url("../fonts/Vazir-Bold-FD.ttf") format("truetype"),
    url("../fonts/Vazir-Bold-FD.woff") format("woff"),
    url("../fonts/Vazir-Bold-FD.woff2") format("woff2");
}

:root {
    --primary-color: #
}

*,
*::before,
*::after {
    background-repeat: no-repeat;
    transition: inherit;
    font-family: 'vazir', sans-serif;
}

html {
    height: 100%;
}

body {
    background-color: #f0f0f0;
    height: 100%;
    min-height: calc(100vh - 2rem);
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

main {
    flex: 1;
}

button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    cursor: pointer;
}

input:disabled {
    user-select: none;
    cursor: not-allowed;
    opacity: .75;
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-position: left 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    cursor: pointer;
    -webkit-print-color-adjust: exact;
}

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

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

button,
input,
select,
textarea {
    appearance: none;
    -o-appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    outline: none;
}

img {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-drag: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    -o-user-drag: none;
}

button:disabled,
input[type="submit"]:disabled,
input[type="reset"]:disabled,
input[type="button"]:disabled {
    pointer-events: none;
}

input[type="checkbox"]:checked {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg viewBox='0 0 16 16' fill='%23fff' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E");
    background-position: center center;
}

/* slider */
.swiper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.swiper-pagination {
    position: relative !important;
    width: auto !important;
    bottom: -2.5px !important;
}

.swiper-pagination-bullet {
    padding: 0.5rem !important;
}


/* faq buttons */
.accordion_select_button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 1.5rem 2rem;
}

.accordion_select_button .accordion_select_icon {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 2.5rem;
    height: 2.5rem;
}

.accordion_select_container {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 350ms;
}

.accordion_select_container.open {
    padding: 0 2rem 1.5rem;
    max-height: 1000px;
}

/* spinner */
.custom-loader {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(farthest-side, #1d4ed8 94%, #0000) top/8px 8px no-repeat,
    conic-gradient(#0000 30%, #1d4ed8);
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
    animation: s3 1s infinite linear;
}

@keyframes s3 {
    100% {
        transform: rotate(1turn)
    }
}

/* rating inputs */
.star_rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    --tw-text-opacity: 1;
    color: rgb(234 179 8 / var(--tw-text-opacity));
}

.star_rating input {
    display: none;
}

.star_rating label {
    cursor: pointer;
    font-size: 3rem;
    line-height: 3rem;
    --tw-text-opacity: 1;
    color: rgb(209 213 219 / var(--tw-text-opacity));
}

.star_rating :checked ~ label,
.star_rating label:hover,
.star_rating label:hover ~ label {
    --tw-text-opacity: 1;
    color: rgb(234 179 8 / var(--tw-text-opacity));
}

/* ++++++++++++ modal styles ++++++++ */
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fefefe;
    padding: 2rem;
    border: 1px solid #888;
    width: 90%;
    max-width: 420px;
}

/* the sweetalert library button */
.swal2-actions {
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    gap: 0.75rem;
}

.confirm_button,
.cancel_button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid #dc2626;
    transition: all 250ms;
}

.cancel_button {
    color: #dc2626;
}

.cancel_button:hover {
    background-color: #dc2626;
    color: white;
}

.confirm_button {
    background-color: #dc2626 !important;
    color: white;
}

.confirm_button:hover {
    opacity: 0.75;
}


.pending_star_rating {
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    font-size: 3rem;
    --tw-text-opacity: 1;
}