﻿




@font-face {
    font-family: 'DroidArabicKufiRegular';
    src: url('../../assets/fonts/DroidKufi-Regular.woff') format('woff2'), /* Super Modern Browsers */
    url('../../assets/fonts/DroidKufi-Regular.woff') format('woff'), /* Pretty Modern Browsers */
    url('../../assets/fonts/DroidKufi-Regular.ttf') format('truetype'); /* Safari, Android, iOS */
    font-weight: normal;
    font-style: normal;
}


#template-customizer .template-customizer-open-btn {
    visibility: hidden;
    position: absolute;
    top: 180px;
    left: 0;
    z-index: -1;
    display: block;
    width: 38px;
    height: 38px;
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
    background: var(--bs-primary);
    box-shadow: 0px 2px 6px 0px rgba(115, 103, 240, 0.3);
    color: #fff !important;
    text-align: center;
    font-size: 18px !important;
    line-height: 38px;
    opacity: 1;
    -webkit-transition: all 0.1s linear 0.2s;
    -o-transition: all 0.1s linear 0.2s;
    transition: all 0.1s linear 0.2s;
    -webkit-transform: translateX(-58px);
    -ms-transform: translateX(-58px);
    transform: translateX(-58px);
}


.el-date-editor.el-input, .el-date-editor.el-input__inner {
    width: 100% !important;
}

body {
    font-family: 'DroidArabicKufiRegular', sans-serif !important;
}


.dark-style .swal2-popup .swal2-title {
    font-size: 2.375rem;
    font-weight: 500;
    color: #acabc1;
    font-family: 'DroidArabicKufiRegular', sans-serif !important;
}

.dark-style .swal2-popup .swal2-html-container {
    color: #acabc1;
    font-family: 'DroidArabicKufiRegular', sans-serif !important;
}

.light-style .swal2-popup .swal2-title {
    font-size: 2.375rem;
    font-weight: 500;
    color: #6d6b77;
    font-family: 'DroidArabicKufiRegular', sans-serif !important;
}

.light-style .swal2-popup .swal2-content {
    color: #acaab1;
    line-height: 1.375;
    font-size: 1.125rem;
    font-weight: 300;
    font-family: 'DroidArabicKufiRegular', sans-serif !important;
}


.el-form-item__error {
    color: #F56C6C;
    font-size: 12px;
    line-height: 1;
    padding-top: 4px;
    position: absolute;
    top: 100%;
    left:unset !important;
    right: 0 !important;
}

.el-form-item__content {
     line-height: unset !important; 
    position: relative;
    font-size: 14px;
}

.el-form--label-top .el-form-item__label {
    padding: 0px 0 0px !important;
}

.el-form-item__label {
     line-height: unset !important; 
}

.el-form-item.is-required:not(.is-no-asterisk) .el-form-item__label-wrap > .el-form-item__label:before, .el-form-item.is-required:not(.is-no-asterisk) > .el-form-item__label:before {
    content: '*';
    color: #F56C6C;
    margin-right: 4px;
    float: left !important;
}

.btn-primary.btn[class*=btn-]:not([class*=btn-label-]):not([class*=btn-outline-]):not([class*=btn-text-]):not(.btn-icon):not(:disabled):not(.disabled) {
    box-shadow: 0 0.125rem 0.375rem 0 rgba(115, 103, 240, 0.3);
    font-family: 'DroidArabicKufiRegular', sans-serif !important;
}

.el-form-item {
    margin-bottom: 0px !important;
}

/* جولة التعريف الأولى (Shepherd.js) — محاذاة عربية */
.mso-shepherd-step.shepherd-element,
.mso-shepherd-step .shepherd-text,
.mso-shepherd-step .shepherd-title {
    direction: rtl;
    text-align: right;
    font-family: 'DroidArabicKufiRegular', 'Segoe UI', Tahoma, sans-serif;
}

.mso-shepherd-step .shepherd-text {
    white-space: pre-line;
    line-height: 1.65;
}

.mso-shepherd-step .shepherd-footer {
    justify-content: flex-start;
    flex-direction: row-reverse;
    gap: 0.5rem;
}

.mso-shepherd-step .shepherd-header {
    justify-content: flex-end;
}

/* صفحة إضافة مستخدم مركز — تخطيط بطاقات (مستوحى من نمط المنتج في Vuexy) */
.branch-user-add-page .branch-user-add-avatar {
    width: 140px;
    height: 140px;
}

.branch-user-add-page .branch-user-add-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branch-user-add-page .branch-user-perm-tile {
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.branch-user-add-page .branch-user-perm-tile:hover {
    border-color: rgba(var(--bs-primary-rgb), 0.45) !important;
    box-shadow: 0 0.125rem 0.375rem rgba(var(--bs-primary-rgb), 0.12);
}

.branch-user-add-page .branch-user-add-footer {
    position: sticky;
    bottom: 0;
    z-index: 3;
}

.branch-user-add-page .el-checkbox {
    white-space: normal;
    line-height: 1.5;
    align-items: flex-start;
}

.branch-user-add-page .el-checkbox__label {
    white-space: normal;
    line-height: 1.5;
}

/* القائمة النمطية للمرفق — عمود جانبي وسلة */
.facility-national-formulary-page .nf-side-stack {
    position: relative;
}

@media (min-width: 992px) {
    .facility-national-formulary-page .nf-side-stack {
        position: sticky;
        top: 4.5rem;
        align-self: flex-start;
    }
}

.facility-national-formulary-page .nf-basket-scroll {
    max-height: 240px;
    overflow-y: auto;
}

.facility-national-formulary-page .font-monospace {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.875rem;
}