/*--------------------------------------------------------*/
/* Common
/*--------------------------------------------------------*/
@font-face {
    font-family: "web_Yekan";
    font-style: normal;
    font-weight: normal;
    src: url('../font/web_Yekan.woff?v=1') format('woff');
}

.rtl{
    direction: rtl;
    text-align: right;
    font-family: web_Yekan, sans-serif;
}

.ltr{
    direction: ltr;
    text-align: left;
    /*font-family: Nunito, sans-serif;*/
}

.hide{
    display: none;
}


/*--------------------------------------------------------*/
/* Form Fields:
/*--------------------------------------------------------*/
html[dir="ltr"] .just-validate-success-field.field-require{
    border-left-color: #5afd62 !important;
}

html[dir="rtl"] .just-validate-success-field.field-require{
    border-right-color: #5afd62 !important;
}

html[dir="ltr"] .field-require{
    border-left: solid 5px #fd5a5a !important;
    border-radius: 5px;
}

html[dir="rtl"] .field-require{
    border-right: solid 5px #fd5a5a !important;
    border-radius: 5px;
}


html[dir="ltr"] .field-normal{
    border-left: solid 5px #5afd62 !important;
    border-radius: 5px;
}

html[dir="rtl"] .field-normal{
    border-right: solid 5px #5afd62 !important;
    border-radius: 5px;
}



/*--------------------------------------------------------*/
/* Form loading overlay
/*--------------------------------------------------------*/
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    /*backdrop-filter: blur(2px);*/
    display: none;
    z-index: 5;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

html.dark .loading-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




/*--------------------------------------------------------*/
/* toast
/*--------------------------------------------------------*/



/*--------------------------------------------------------*/
/* datepicker
/*--------------------------------------------------------*/
html.dark .period_picker_input {
    /*color: #fff;*/
}

html.dark .period_picker_box {
    background: #171717;
    border: 1px solid rgba(206, 206, 206, 0.1);
}



html.dark .period_picker_box{
    color: #cecece;
}

html.dark .period_picker_box .button_text{
    color: #000;
}


html.dark .period_picker_box .period_picker_days table table th.period_picker_month:hover {
    color: rgba(176, 176, 176, 0.7);
}

html.dark .period_picker_box .period_picker_days table table.period_picker_first_letters_table th {
    color: rgba(255, 255, 255, 0.5);
}

html.dark .period_picker_box .period_picker_close,
html.dark .period_picker_box .period_picker_max_min,
html.dark .period_picker_box .period_picker_resizer {
    filter: invert(100%);
}
html.dark .period_picker_box .xdsoft_navigate {
    filter: invert(100%);
}

html.dark .period_picker_box .period_picker_head_title {
    color: rgba(255, 255, 255, 0.5);
}


/*--------------------------------------------------------*/
/* search
/*--------------------------------------------------------*/
.search .select2-selection__arrow b{
    border: none !important;
}

