@font-face {
    font-family: iransans;
    src: url("../fonts/IRANSans-web.woff");
}
body,
html {
    background-color: #f7f7f7;
    overflow-x: hidden;
    font-family: iransans, Tahoma, sans-serif;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.text-align-justify {
    text-align: justify !important;
}

.top-1\/2 {
    top: 50%;
}

input[type="text"],
input[type="number"],
input[type="password"] {
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    padding: 0.5rem 0.75rem;
    font-size: 9pt;
    outline: none;
    color: #333;
}
textarea {
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    padding: 0.5rem 0.75rem;
    font-size: 8pt;
    outline: none;
    min-width: 100%;
    max-width: 100%;
    color: #333;
}
input[type="text"]:focus,
input[type="number"]:focus,
textarea:focus {
    border-color: #538cff;
    box-shadow: 0 0 5px #538cff30;
}
select {
    border: 1px solid #cfcfcf;
    border-radius: 2px;
    padding: 0.5rem 0.75rem;
    font-size: 9pt;
    outline: none;
    color: #333;
    margin: 0;
}
.file-upload input[type="file"] {
    width: 0;
    height: 0;
    overflow: hidden;
    visibility: hidden;
}
.file-upload {
    padding: 0.5rem 1.5rem;
    border-radius: 2px;
}
.file-upload:hover {
    background-color: #464663;
}
.file-upload .error {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
}

.error {
    color: #cd4848;
    font-size: 8pt;
}

.required-field-mark {
    color: #cd4848;
    font-size: large;
    position: relative;
    bottom: 0.5rem;
}

.select2-selection__rendered {
    line-height: 2.3rem !important;
    color: #8d8d8d !important;
    font-weight: 100 !important;
    font-size: 10pt !important;
}
.select2-container .select2-selection--single {
    height: 2.3rem !important;
}
.select2-container--default .select2-selection--single {
    border: 1px solid #cfcfcf !important;
}
.select2-selection__arrow {
    height: 2.3rem !important;
}
.select2-search__field {
    outline: none;
}
.select2-search__field:focus {
    border-color: #538cff !important;
    box-shadow: 0 0 5px #538cff51;
}
.select2-results__option {
    font-size: 10pt;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1px;
}
.pagination > .page-item .page-link {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    cursor: pointer;
    transition: 0.1s;
    color: #333;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 12px;
}
.pagination > .page-item.disabled .page-link {
    background-color: #eee;
    color: #aaa;
}

.pagination > .page-item.active .page-link {
    background-color: #538cff;
    border: 1px solid transparent;
    color: #fff;
}
.pagination > .page-item.active:hover .page-link {
    background-color: #517eda;
}
.pagination > .page-item:hover .page-link {
    background-color: #eee;
}

.ticket {
    scroll-padding: 20px 0 0 0;
}
.ticket::-webkit-scrollbar {
    width: 6.5px;
}
.ticket::-webkit-scrollbar-track {
    background: #dfe6ea;
}
.ticket::-webkit-scrollbar-thumb {
    background: #999;
    border-left: 2px solid #dfe6ea;
}
.ticket::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* input[type=text].datepicker{
    width: 10px;
} */

@media screen and (max-width: 320px) {
    .pagination > .page-item .page-link {
        width: 1.75rem;
        height: 1.75rem;
    }
}

.text-right {
    text-align: right;
}
.size-3 {
    height: 0.75rem;
    width: 0.75rem;
}
.size-14 {
    width: 3rem;
    height: 3rem;
}
.object-cover {
    object-fit: cover;
}
.max-h-56 {
    max-height: 20rem;
}
.w-\[60\%\] {
    width: 60%;
}

.min-5 {
    min-width:100%;
}
.min-4 {
    min-width:100%;
}
.min-3\.5 {
    min-width:100%;
}
.min-3\.3 {
    min-width:100%;
}
.min-3 {
    min-width:100%;
}
.min-2\.8 {
    min-width:100%;
}
.min-2\.5 {
    min-width:100%;
}
.min-2 {
    min-width:100%;
}

@media (min-width: 640px) {
    .min-5 {
        min-width: 500px;
    }
    .min-4 {
        min-width: 400px;
    }
    .min-3\.5 {
        min-width:350px;
    }
    .min-3\.3 {
        min-width: 330px;
    }
    .min-3 {
        min-width: 300px;
    }
    .min-2\.8 {
        min-width: 280px;
    }
    .min-2\.5 {
        min-width: 250px;
    }
    .min-2 {
        min-width: 200px;
    }

    .sm\:text-right {
        text-align: right;
    }
    .sm\:px-8 {
        padding-right: 2rem;
        padding-left: 2rem;
    }
    .sm\:col-span-4 {
        grid-column: span 4 / span 4;
    }
    .sm\:justify-start {
        justify-content: start;
    }
    .sm\:size-16 {
        width: 4rem;
        height: 4rem;
    }
    .sm\:w-\[55\%\] {
        width: 55%;
    }
}
@media (min-width: 768px) {
    .md\:col-span-5 {
        grid-column: span 5 / span 5;
    }
    .md\:size-18 {
        width: 4.5rem;
        height: 4.5rem;
    }
    .md\:w-\[48\%\] {
        width: 48%;
    }
}
@media (min-width: 1024px) {
    .lg\:w-3\/4 {
        width: 75%;
    }
    .lg\:size-20 {
        width: 5rem;
        height: 5rem;
    }
    .xl\:w-\[43\%\] {
        width: 43%;
    }
}
@media (min-width: 1280px) {
    .xl\:w-\[60\%\] {
        width: 60%;
    }
    .xl\:w-\[37\%\] {
        width: 37%;
    }
}
@media (min-width: 1536px) {
    .\32xl\:w-\[45\%\] {
        width: 45%;
    }
    .\32xl\:w-\[30\%\] {
        width: 30%;
    }
}
