*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

body {
    width: 100% !important;
    /* min-height: 100dvh; */
    line-height: 1.5;
    overflow-x: hidden;
}
html,
body,
#wrapper {
    height: 100dvh;
    overflow: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
    border: none;
    font-size: 16px;
}

textarea {
    line-height: 1.5;
    font-size: 16px;
}

button {
    cursor: pointer;
}

button {
    background: transparent;
    border: none;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
}

a:hover {
    text-decoration: none;
}

ul,
ol {
    list-style: none;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    font-weight: 600;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
    overflow-wrap: break-word;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

:focus {
    outline: none;
}

::selection {
    background: #be5b28;
    color: #ffffff;
}

[v-cloak] {
    display: none;
}

:root {
    --primary: #be5b28;
}

body {
    direction: rtl;
    background: #fff;
    color: #3c3c3c;
    font-family: "YekanBakhFA", sans-serif;
}

#wrapper {
    position: relative;
}

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

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
}

.el-popper {
    z-index: 9999999999 !important;
}

.el-select-dropdown__item.is-selected {
    color: var(--primary);
}

jdp-container {
    border-radius: 0 !important;
    padding-bottom: 0 !important;
    background: var(--primary) !important;
}

.jdp-years .jdp-year,
.jdp-months .jdp-month {
    padding-inline: 8px !important;
    width: calc(100% - 60px) !important;
    background: var(--primary) !important;
}

.jdp-years .jdp-year select,
.jdp-months .jdp-month select {
    color: #fff !important;
    font-size: 15px !important;
    scrollbar-width: none !important;
    background: var(--primary) !important;
    font-family: "YekanBakh", sans-serif !important;
}

.jdp-years .jdp-icon-plus,
.jdp-years .jdp-icon-minus,
.jdp-months .jdp-icon-plus,
.jdp-months .jdp-icon-minus {
    width: 30px !important;
    height: 30px !important;
    display: grid !important;
    border-radius: 0 !important;
    place-items: center !important;
    border-color: #fff !important;
}

.jdp-years .jdp-icon-plus svg,
.jdp-years .jdp-icon-minus svg,
.jdp-months .jdp-icon-plus svg,
.jdp-months .jdp-icon-minus svg {
    fill: #fff !important;
}

.jdp-days-header {
    margin-top: 0 !important;
    background: var(--primary) !important;
}

.jdp-days-header .jdp-day-name {
    color: #fff;
}

.jdp-days {
    background: #fff !important;
}

.jdp-days .jdp-day {
    border-radius: 0 !important;
}

.jdp-days .jdp-day.selected {
    background-color: var(--primary) !important;
}

.jdp-footer {
    background: #fff !important;
    padding-bottom: 8px !important;
}

.jdp-footer > div {
    border-radius: 0 !important;
    padding-inline: 24px !important;
    background: var(--primary) !important;
}

.jdp-time-container.jdp-only-time {
    margin-top: -8px !important;
    padding-top: 8px !important;
    background: #fff !important;
}

.jdp-time-container.jdp-only-time .jdp-time {
    border-radius: 0 !important;
    background: #f5f5f5 !important;
}

.jdp-time-container.jdp-only-time .jdp-time select {
    padding: 4px !important;
    font-size: 18px !important;
}

jdp-container .jdp-time-container .jdp-time::after {
    top: 50% !important;
    font-size: 24px !important;
    text-align: center !important;
}

.el-overlay {
    z-index: 9999999 !important;
}

.el-overlay .el-dialog {
    border-radius: 0 !important;
}

.el-overlay .el-dialog .el-dialog__header {
    display: none !important;
}

.el-scrollbar__bar {
    z-index: 999999999 !important;
}

.el-overlay-dialog {
    scrollbar-width: none;
    padding-block: 42px;
}

.el-select-dropdown__item.is-selected {
    color: var(--primary) !important;
}

.swal2-container,
.el-message,
.el-notification {
    z-index: 99999999 !important;
}

.el-notification {
    border-radius: 0 !important;
}

.el-notification__title {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #3c3c3c !important;
}
.iziToast-wrapper {
    z-index: 99999999999999999 !important;
}
.iziToast {
    min-width: 294px !important;
    border-radius: 0 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.02)
        ),
        rgba(20, 20, 20, 0.78) !important;
}

.iziToast.iziToast-color-red .iziToast-progressbar > div {
    background: #d98b8b !important;
}

.iziToast.iziToast-color-green .iziToast-progressbar > div {
    background: #a8bfa5 !important;
}

.iziToast.iziToast-color-blue .iziToast-progressbar > div {
    background: #8fafc4 !important;
}

.iziToast.iziToast-color-orange .iziToast-progressbar > div {
    background: #c8a56a !important;
}

.iziToast::after {
    display: none !important;
}

.iziToast-texts {
    font-family: "YekanBakh", sans-serif !important;
}

.iziToast-title {
    font-size: 13px !important;
    color: #fff !important;
}

.iziToast-close {
    opacity: 0.7 !important;
    filter: brightness(0) invert(1) !important;
}

@media only screen and (max-width: 481px) {
    jdp-container .jdp-footer {
        margin: 0 !important;
    }
    jdp-container .jdp-btn-today ~ .jdp-btn-empty {
        margin-inline: 0 !important;
    }
    jdp-overlay {
        z-index: 99999 !important;
    }
    jdp-container {
        z-index: 999999 !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
