@charset "UTF-8";
/*------------------------------------------------------------------
[Master Stylesheet]

Project        :   sash – Bootstrap 5  Admin & Dashboard Template
Copyright      :   Spruko Technologies Private Limited 
Author         :   Spruko
Author URL     :   https://themeforest.net/user/spruko
Support	       :   support@spruko.com
License        :   Licensed under ThemeForest License

-------------------------------------------------------------------*/
body, .modal {
    overflow-y: auto;
}

.footer {
    margin-top: -2.5rem;
}

.fontEN {
    font-family: 'Roboto', sans-serif !important;
}

.pointer {
    cursor: pointer;
}

.border-input {
    border-color: #05c3fb;
}

.rtl .app-sidebar__toggle:before {
    content: "\e908" !important;
}

.logo-color {
    display: inline-block;
    height: 5rem;
}

.logo-white {
    display: none;
}

.login-input {
    padding: 0 45px 0 0 !important;
}

.rtl .login-input {
    padding: 0 0 0 45px !important;
}


.dark-mode .logo-color {
    display: none;
}

.dark-mode .logo-white {
    display: inline-block;
    height: 5rem;
}

.swal2-input {
    text-align: center;
}

.swal2-validation-message {
    display: none !important;
}
mark {
    padding: 0;
    background: yellow !important;
}

.landing-title {
    background: linear-gradient(to right, transparent, #6c5ffc, transparent);
    height: 1px;
    margin: 0px auto;
    width: 70px !important;
    margin-block-end: 10px;
}

/* Mobile-first styling for .input100 inputs */
.input100, .select2-container, .form-control {
    display: block;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

    /* Add a more pronounced shadow on focus */
    .input100:focus, .select2-container:focus, .form-control:focus {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
        border-color: #80bdff;
        outline: 0;
    }

    /* optional – remove spinners on number/date inputs on mobile */
    .input100[type="number"]::-webkit-outer-spin-button,
    .input100[type="number"]::-webkit-inner-spin-button,
    .input100[type="date"]::-webkit-calendar-picker-indicator {
        -webkit-appearance: none;
        margin: 0;
    }
.input-group-text {
    border: 1px solid #ced4da;
    appearance: none;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}

.input-container input {
    border: none;
    box-sizing: border-box;
    outline: 0;
    padding: .75rem;
    position: relative;
    width: 100%;
}

input[type="date"]::-webkit-calendar-picker-indicator, input[type="month"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

.swal2-container {
    z-index: 999999 !important;
}

.swal2-title {
    font-size: 1.5em !important;
    line-height: 1.5 !important;
}

.swal2-styled.swal2-confirm {
    background-color: #1a9eda !important;
}

.fa-1-5x {
    font-size: 1.5em;
}

.fs-75 {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 87.5%;
}
.min-vh-75 {
    min-height: 75px !important;
}

.mt-n1 {
    margin-top: -0.25rem !important;
}

.mb-n1 {
    margin-bottom: -0.25rem !important;
}

.mt-n2 {
    margin-top: -0.5rem !important;
}

.mb-n2 {
    margin-bottom: -0.5rem !important;
}

iconify-icon {
    font-size: 1.4em;
    vertical-align: middle;
    text-align: center;
}

.font-size-30 {
    font-size: 30px;
}
.form-group {
    margin-bottom: 0.5rem;
}
.input-group > .select2-container {
    width: auto !important;
    flex: 1 1 auto !important;
}

    .input-group > .select2-container .select2-selection--single {
        height: 100% !important;
        line-height: inherit !important;
    }

    .input-group > .select2-container .select2-selection--single {
        border-radius: 0 7px 7px 0;
    }

.rtl .input-group > .select2-container .select2-selection--single {
    border-radius: 7px 0 0 7px;
}

.select2-container .select2-selection--single {
    border-color: #05c3fb !important;
}

.icon-radius {
    border-radius: 7px 0 0 7px !important;
}

.rtl .icon-radius {
    border-radius: 0 7px 7px 0 !important;
}

/*.rtl .icontext-menu .side-menu .side-menu__icon {
    margin-left: 8px !important;
}*/

/*.toast {
    top: 56px;
    text-align: center;
}*/

@media (min-width: 992px) {
    .toast {
        top: 12px;
    }
}

@media (max-width: 480px) {
    .header .nav-link {
        padding-top: inherit !important;
        padding-bottom: inherit !important;
    }
}

.header .profile-1 .dropdown-item {
    padding: 0.75rem 1.25rem !important;
}

.wrap-login100 {
    max-width: 350px;
}

.slow {
    opacity: 0;
}

.showSlow {
    opacity: 1 !important;
    transition: opacity .5s ease-in;
}
/* login */
.login-img {
    background-image: none;
}

    .login-img.light-mode::before {
        background: linear-gradient(to right, #1a9eda 0%,#fdfdfd 50%,#1a9eda 100%);
    }

    .login-img.dark-mode::before {
        background: linear-gradient(to right, #4e4e68 0%,#1a1a3c80 50%,#4e4e68 100%);
    }

@media (max-width: 568px) {
    .login-img.light-mode::before {
        background: linear-gradient(to right, #1a9eda80 0%,#fdfdfd 50%,#1a9eda80 100%);
    }
}

.dark-mode .wrap-login100 {
    box-shadow: 0px 0px 7px 3px #74829c;
}

.dark-mode .box-shadow {
    box-shadow: 0px 0px 7px 3px #74829c;
}

.login-social-icon span {
    letter-spacing: inherit;
    padding: 5px;
}

.login-social-icon::before, .login-social-icon::after {
    width: 20%;
}

.ribbone-icon {
    color: #fff;
    width: 30px;
    font-size: 16px;
    padding-inline-start: 7px;
    padding-inline-end: 7px;
}

.header {
    color: white !important;
    border-bottom: none !important;
    box-shadow: 0px 0px 7px 3px #74829c !important;
}

.light-mode.rtl .header {
    background: linear-gradient(to left, #fdfdfd 130px, #fdfdfd 0%, #73caf2 35%,#fdfdfd 55%,#73caf2 75%, #fdfdfd 100%);
}

.light-mode.ltr .header {
    background: linear-gradient(to right, #fdfdfd 130px, #fdfdfd 0%, #73caf2 35%,#fdfdfd 55%,#73caf2 75%, #fdfdfd 100%);
}

@media (max-width: 991px) {
    .light-mode .header {
        background: linear-gradient(to right, #fdfdfd 0%,#73caf2 25%,#fdfdfd 50%,#73caf2 75%,#fdfdfd 100%) !important;
    }

    .light-mode .app-sidebar {
        background: linear-gradient(to bottom, #fdfdfd 75px, #fdfdfd 0%,#73caf2 100%) !important;
    }
}

/*.dark-mode .header {
    background: linear-gradient(to right, #1a1a3c80 0%,#4e4e68 50%,#1a1a3c80 100%)
}*/

.light-mode .app-sidebar {
    background: linear-gradient(to bottom, #fdfdfd 75px, #fdfdfd 0%,#73caf2 50%, #fdfdfd 100%);
    border-left: none !important;
    border-right: none !important;
}

.icontext-menu .side-header {
    border: none;
}

.max-width-40 {
    max-width: 20px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Tablet */
@media (max-width: 991px) {
    .rtl .m-30 {
        margin-left: -30px;
    }
    .ltr .m-30 {
        margin-left: 10px;
    }
}
/* Mobile */
@media (max-width: 600px) {

}


@media (min-width: 992px) {
    .back-shadow {
        margin-top: 77px;
        box-shadow: 0 0 0 0 white, 0 0 0 0 white, 0px 0px 7px 3px #74829c !important;
    }
    .btn-wa:hover {
        transform: translateY(-4px) scale(1.05);
        box-shadow: 0 8px 24px rgba(37, 211, 102, .65);
    }

        .btn-wa:hover::before {
            opacity: 1;
            transform: scale(1.15);
        }
}

@media (max-width: 991px) {
    .icontext-menu.app.sidenav-toggled .back-shadow {
        box-shadow: 0 0 0 0 white, 0 0 0 0 white, 0px 0px 7px 3px #74829c !important;
    }

    .ltr .light-dark-icon {
        position: absolute;
        left: 50px;
        right: auto;
    }

    .rtl .light-dark-icon {
        position: absolute;
        right: 60px;
        left: auto;
    }
}


.ltr .ms-auto {
    margin-right: inherit !important;
    margin-left: auto !important;
}

.ltr {
    direction: ltr !important;
}

.rtl .d-rtl {
    /*    font-family: 'Tajawal', sans-serif;*/
    direction: rtl !important;
    text-align: left;
}

.rtl .d-ltr {
    /*    font-family: "IBM Plex Sans", sans-serif;*/
    direction: ltr !important;
    text-align: right;
}

/*    .rtl .d-ltr::placeholder {
               font-family: 'Tajawal', sans-serif;
        direction: ltr !important;
        text-align: right;
    }
*/
#global-loader {
    background: #ffffff75;
}

.required label:after {
    content: "*";
    color: red
}

.lower .col-1, .upper .col-1 {
    padding: 3px
}

.tooth {
    height: 55px;
    background-repeat: no-repeat;
    cursor: pointer
}

.upper, .lower {
    margin-left: 0px;
    margin-right: 0px;
}

    .upper .text-info, .lower .text-info {
        line-height: 1.5;
    }

.URBorder {
    padding: 0 5px;
    border-right: 2px solid red;
    border-bottom: 2px solid red;
}

.ULBorder {
    padding: 0 5px;
    border-left: 2px solid red;
    border-bottom: 2px solid red;
}

.LRBorder {
    padding: 0 5px;
    border-right: 2px solid red;
    border-top: 2px solid red;
}

.LLBorder {
    padding: 0 5px;
    border-left: 2px solid red;
    border-top: 2px solid red;
}

.flip_H {
    transform: scale(-1,1);
    display: inline-block;
    color: red;
}

.flip_V {
    transform: scale(1,-1);
    display: inline-block;
    color: red;
}

.flip_No {
    display: inline-block;
    color: red;
}

.flip_HV {
    transform: scale(-1,-1);
    display: inline-block;
    color: red;
}

.fontAR {
    font-family: 'Tajawal', sans-serif !important; /*Noto Naskh Arabic*/
}

.fontEN {
    font-family: 'Roboto', sans-serif !important;
}

#selectLanguage .fontAR, #selectLanguage .fontEN {
    background: url(../images/lang/languages.png) no-repeat center;
    background-size: 25px;
    width: 50px;
}

.header .dropdown-menu {
    transform: translate3d(-4px, -5px, 0px) !important;
}

.rtl .header .dropdown-menu {
    transform: translate3d(10px, -5px, 0px) !important;
}

@media (max-width: 991px) {
    .header .dropdown-menu {
        transform: translate3d(-4px, -20px, 0px) !important;
    }

    .rtl .header .dropdown-menu {
        transform: translate3d(10px, -20px, 0px) !important;
    }
}

@media (max-width: 767px) {
    .header .dropdown-menu {
        transform: translate3d(-2px, -25px, 0px) !important;
    }

    .rtl .header .dropdown-menu {
        transform: translate3d(10px, -25px, 0px) !important;
    }
}

@media (max-width: 480px) {
    .header .dropdown-menu {
        transform: translate3d(0px, -30px, 0px) !important;
    }

    .rtl .header .dropdown-menu {
        transform: translate3d(10px, -30px, 0px) !important;
    }
}

.form-control-plaintext {
    padding: 0.375rem 0.5rem;
}

.rtl .input-group > :not(.input-group-text) {
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.ltr .input-group > :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    margin-left: -2px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
}

.avatar {
    border: 2px solid #1a9eda;
}

.password {
    -webkit-text-security: disc;
    -moz-webkit-text-security: disc;
    -moz-text-security: disc;
}

.rtl .form-select {
    padding: 0.5rem 0.75rem 0.5rem 1.75rem;
}

.ltr .form-select {
    background-position: right 0.75rem center;
}

.select2-search--dropdown .select2-search__field {
    padding: 4px 0.75rem;
}

.card-header {
    padding: 0.75rem 1rem;
}

.card-body {
    padding: 15px;
}

.service-settings {
    position: absolute;
    top: 10px;
    right: 20px;
}

.service-invoice {
    position: absolute;
    top: 10px;
    left: 20px;
}

/* ladda-spinner */
.rtl .ladda-button[data-style=zoom-in] .ladda-spinner {
    left: auto;
    right: 50%;
    margin-left: auto;
    margin-right: -8px;
}

.rtl .ladda-button[data-style=zoom-in][data-loading] .ladda-spinner {
    margin-left: auto;
}

/*.was-validated .input-group-text {
    border-color: #e23e3d;
}*/

.was-validated .input-group-text {
    border-color: #58c995;
}

.valid-border {
    border-color: #58c995 !important;
}

.invalid-border {
    border-color: #e23e3d !important;
}

.invalid-border-select2 {
    border: 1px solid red !important;
    border-radius: 7px;
}

.was-validated .custom-control-input:valid ~ .custom-control-label::before, .custom-control-input.is-valid ~ .custom-control-label::before {
    background-color: white;
}

.ltr .was-validated textarea.form-control:invalid, .ltr textarea.form-control.is-invalid {
    padding-left: 0.75rem;
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.1875rem + 0.375em);
}

.ltr .ltr-layout {
    display: none;
}

.ltr .rtl-layout {
    display: block;
}

.rtl .rtl-layout {
    display: none;
}

.rtl .ltr-layout {
    display: block;
}

@media (max-width: 991px) {
    .header {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

        .header.hor-header {
            position: inherit;
            top: auto;
        }
}


/* added for calander*/
nav {
    margin: 10px;
}

.columns {
    display: flex;
}

.column-main {
    flex-grow: 1;
}

.column-left {
    margin-right: 10px;
}

.toolbar {
    margin: 10px 0px;
}

    .toolbar > .toolbar-item:not(:last-child) {
        border-right: 1px solid #ccc;
    }

.toolbar-item {
    padding: 0px 10px;
}

.toolbar button {
    background-color: #f3f3f3;
    border: 1px solid #c0c0c0;
    color: #333;
    padding: 6px 12px;
    /* width: 80px; */
    border-radius: 2px;
    cursor: pointer;
    margin-right: 5px;
}

.view-toolbar button {
    display: inline-block;
    text-align: center;
    /* background-color: #3c78d8; */
    background-color: #3d85c6;
    border: 1px solid #1155cc;
    color: #fff;
    padding: 6px 20px;
    border-radius: 2px;
    cursor: pointer;
    margin-right: 1px;
    width: 80px;
    text-decoration: none;
}

.view-toolbar {
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.fc .fc-toolbar.fc-header-toolbar {
    margin-bottom: -5px;
    padding: 5px;
}

.fc-toolbar-chunk {
    margin-bottom: 10px;
}

.fc-direction-ltr .fc-timegrid-col-events {
    margin: 0 5px 0 5px;
}

.fc .fc-toolbar-title {
    font-size: 1.5em;
}

a.bg-primary-event {
    background: linear-gradient(to bottom, #237db6, #1f2667) !important;
}


a.bg-success-event {
    background: linear-gradient(to bottom, #3db096, #246b5b) !important;
}

a.bg-danger-event {
    background-image: linear-gradient(to bottom, #fd4a68, #b51b35) !important;
}

    a.bg-primary-event:hover, a.bg-primary-event:focus, a.bg-success-event:hover, a.bg-success-event:focus, a.bg-danger-event:hover, a.bg-danger-event:focus {
        opacity: .8;
    }

    a.bg-success-event::after, a.bg-primary-event::after, a.bg-danger-event::after {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(to right, #ffffff00, #ffffff50) !important;
        margin-bottom: -1px;
        bottom: inherit;
        font-size: .4rem;
        width: 100%;
        padding: 0 5px;
        text-align: right;
    }

a.bg-success-event::after {
    content: "New";
    color: lightyellow;
}

.rtl a.bg-success-event::after {
    content: "جديد";
    text-align: left;
    background: linear-gradient(to left, #ffffff00, #ffffff50) !important;
}

a.bg-primary-event::after {
    content: "Review";
    color: lightyellow;
}

.rtl a.bg-primary-event::after {
    content: "مراجعة";
    text-align: left;
    background: linear-gradient(to left, #ffffff00, #ffffff50) !important;
}

a.bg-danger-event::after {
    content: "Defaulter";
    color: lightyellow;
}

.rtl a.bg-danger-event::after {
    content: "تخلف عن السداد";
    text-align: left;
    background: linear-gradient(to left, #ffffff00, #ffffff50) !important;
}


@media (max-width: 767px) {
    .fc .fc-toolbar-title {
        position: inherit;
    }

    .fc table {
        font-size: .9em !important;
    }

    .fc-toolbar-chunk .btn {
        padding: 0.25rem !important;
    }
}
/* */

.month-time {
    display: inline-block;
    width: 55px;
    margin-right: 5px;
    text-align: right;
}

body .month_default_event_inner {
    border-left: 5px solid #6fa8dc;
}

body .month_default_cell_header {
    text-align: center;
}

    body .month_default_cell_header:hover {
        text-decoration: underline;
        cursor: pointer;
    }

body .calendar_default_event_inner {
    margin-bottom: 1px;
    padding-left: 8px;
}

body .calendar_default_event_bar,
body .calendar_default_event_bar_inner {
    width: 5px;
    margin-bottom: 1px;
}

.month_default_event_delete {
    right: auto !important;
    left: 2px;
}


/* datatable */
.table.dataTable thead > tr > th:first-child.sorting:before, .table.dataTable thead > tr > th:first-child.sorting:after {
    content: '';
    display: none;
}


table.dataTable > thead > tr > th:first-child:not(.sorting_disabled) {
    padding: 0 !important;
}

table.dataTable > thead > tr > th:not(first-child):not(.sorting_disabled) {
    padding-right: 30px !important;
}

div.dataTables_wrapper div.dataTables_processing {
    top: 50px !important;
}

table.dataTable thead th, table.dataTable thead td, table.dataTable tfoot th, table.dataTable tfoot td {
    text-align: center;
}

.dataTables_wrapper .dataTables_info {
    float: inherit;
}

.light-mode .table thead th, .light-mode .text-wrap table thead th {
    background: #1a9eda;
    color: #ebedef;
}

.formModal .header-datatable, .formModal .table th {
    color: #ebedef !important;
    font-size: 0.75rem;
    text-align: center;
}

.table thead th {
    border-top: 2px solid;
}

.dataTable td {
    text-align: center;
}

.hideBorder1 {
    border-right: none !important;
}

.light-mode .hideBorder2 {
    border-right: 1px solid #dee2e6 !important;
}

.rtl .rotate-180 {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
}

.page-link {
    padding: 0.25rem 0.5rem;
    font-size: 14px;
    height: 100%;
    vertical-align: middle;
    line-height: revert;
}

@media screen and (max-width: 991px) {
    table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
        height: 1.5em;
        width: 1.5em;
        line-height: 1.5em;
        margin-top: -14px;
        font-size: 16px;
        font-weight: bold;
    }
}

@media screen and (max-width: 767px) {
    div.dataTables_wrapper div.dataTables_length {
        text-align: inherit !important;
    }
}

@media screen and (max-width: 480px) {
    .limited-text-15 {
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 15ch;
    }

    .limited-text-20 {
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        max-width: 20ch;
    }
}

table.dataTable > tbody > tr.child span.dtr-title {
    min-width: 100px;
}

/* full calandar */

.fc-event-title {
    white-space: break-spaces !important;
}

.fc-col-header thead th {
    padding: 5px !important;
}

.fc-direction-ltr .fc-timegrid-slot-label-frame,
.fc .fc-timegrid-slot-label {
    height: 3.5rem;
}

.fc-timegrid-event .fc-event-main {
    padding: 1px 1px 0;
    /*    color: white !important;
    text-align: center;*/
}

.fc-media-screen .fc-timegrid-event {
    cursor: pointer;
    margin: 2px;
}

.fc-direction-ltr .fc-toolbar > * > :not(:first-child) {
    margin-bottom: 0;
}

.fc-timegrid-slot {
    cursor: pointer;
}

.fc-createAppointments-button {
    visibility: hidden;
}

.light-mode .fc-col-header thead th,
.light-mode .fc-direction-ltr .fc-timegrid-slot-label-frame,
.light-mode .fc .fc-timegrid-slot-label {
    background-color: #1a9eda;
    color: #ffffff;
}

.dark-mode .fc-col-header thead th,
.dark-mode .fc-direction-ltr .fc-timegrid-slot-label-frame,
.dark-mode .fc .fc-timegrid-slot-label {
    background-color: #1b1b30;
}

.fc-v-event .fc-event-main-frame {
    padding: 5px;
    color: white;
    text-align: center;
}

.fc-timegrid-event .fc-event-time {
    color: yellow;
}

/*.fc-timegrid-event-harness .fc-event-new {
    background: #219F11 !important;
    border: #30B105 1px solid !important;
}

.fc-timegrid-event-harness .fc-event-follow-up {
    background: #0A8780 !important;
    border: #33938E 1px solid !important;
}

.fc-timegrid-event-harness .fc-event-defaulter {
    background: #DC3545 !important;
    border: #FFB88C 1px solid !important;
}*/

.fc-timegrid-axis {
    vertical-align: middle !important;
    white-space: nowrap;
}

.fc-list-table thead {
    display: none;
}

@media (max-width: 767px) {
    .fc .fc-toolbar {
        display: flex;
    }
}

.event-mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-attachment: fixed;
}

.overlay-light, .overlayl-light:after {
    background-color: rgba(0,150,136,0.3);
}

.SearchDiv {
    cursor: pointer;
    display: contents;
}

.yellow {
    color: #ff0 !important
}

    .yellow:hover {
        color: #ffff0075 !important
    }

.yellowInset {
    -moz-box-shadow: inset 0 0 10px yellow;
    -webkit-box-shadow: inset 0 0 10px yellow;
    box-shadow: inset 0 0 10px yellow;
}
/*Btns */
/* Add this to your website's CSS */
.btn, .close {
    touch-action: manipulation;
    border: outset;
    border-width: 1.5px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease-in-out;
}

    .btn:hover, .close:hover {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.25);
        transform: translateY(-1px);
    }

    .btn:active, .close:active {
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.15);
        transform: translateY(1px);
        border-style: inset;
    }

    .btn:focus, .close:active {
        outline: none;
        box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25), 0 4px 8px 0 rgba(0, 0, 0, 0.25);
    }

.rtl .custom-close {
    left: 16px !important;
    padding: 0 !important;
}
.ltr .custom-close {
    right: 16px !important;
    padding: 0 !important;
}

/* --- WhatsApp icon enhancements --- */
.btn-wa {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, .45);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .btn-wa::before {
        content: "";
        position: absolute;
        inset: -4px;
        border-radius: 50%;
        border: 2px solid #25d366;
        opacity: 0;
        transform: scale(.8);
        transition: transform .35s ease, opacity .35s ease;
    }

    .btn-wa:active {
        transform: translateY(-1px) scale(.98);
    }

    .btn-wa iconify-icon {
        width: 40px;
        height: 40px;
        color: #25d366;
    }

.rtl .custom-alert {
    padding: 0.75rem .5rem 0.75rem 2.25rem !important;
    margin-bottom: .5rem;
}

.ltr .custom-alert {
    padding: 0.75rem 2.25rem 0.75rem .5rem !important;
    margin-bottom: .5rem;
}

.btn-primary {
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-outline-info {
    color: #1170e4;
    border-color: #1170e4;
}
    .btn-outline-info:hover {
        background-color: #1170e4;
        border-color: #1170e4;
    }

.btn-outline-danger {
    border-color: #dc3545;
}

    .btn-outline-danger:hover {
        border-color: #1170e4;
    }

.btn-circle {
    border-radius: 50%;
}

.btn-group-xs > .btn, .btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px
}

.btn-table {
    display: inline-flex;
    margin-top: -3px;
    margin-bottom: -3px;
    padding: .3rem;
}

.btn-table-s {
    display: inline-flex;
    margin-top: -5px;
    margin-bottom: -5px;
    padding: .3rem;
}

.btnLayer {
    position: absolute;
    top: -5px;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 999999;
    border: none;
    background-color: #f4f1f1;
    z-index: 999999
}

    .btnLayer:hover {
        border: 1px solid white;
    }

.btnDeleteLayer {
    left: -5px
}

.img-zoom {
    width: 100%;
    border: 1px solid #eee;
    cursor: zoom-in;
}

.img-zoom {
    position: relative;
    display: inline-block; /* or block, as you need */
}

    .img-zoom iconify-icon {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        opacity: 0;
        transition: opacity .25s ease;
        pointer-events: none; /* keep the link clickable */
    }

    .img-zoom:hover iconify-icon {
        opacity: .5;
    }

.btn-save {
    position: absolute;
    left: 15px
}

.btn-cancel {
    position: absolute;
    right: 15px
}

.rtl .btn-cancel {
    right: auto;
    left: 15px;
}

.btn-follow {
    position: absolute;
    left: 80px
}

.btn-header-save {
    position: absolute;
    top: 8px;
}

.ltr .btn-header-save {
    left: 20px;
}

.btnEditLayer {
    right: -5px
}

.fa-angle-double-down {
    width: 15px;
}

.float {
    z-index: 10;
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 80px;
    left: 20px;
    background-color: #1a9eda;
    opacity: .25;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 3px #999;
}

.ltr .float {
    left: auto;
    right: 20px;
}

    .float:hover {
        opacity: 1;
        color: #FFF;
    }

.my-float {
    margin-top: 18px;
    font-size: 24px;
}

.sync-float {
    margin-top: 12px;
    font-size: 36px;
}

.fa-spin {
    animation-name: spin;
    animation-duration: 2000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.delete-img {
    position: absolute;
    right: 50px;
    bottom: -15px
}

    .delete-img i, .update-img i {
        border-radius: 50%
    }

.update-img {
    position: absolute;
    left: 50px;
    bottom: -15px
}

.circular_image {
    border-radius: 50%;
    overflow: hidden;
    background-color: transparent;
    display: inline-block;
    vertical-align: middle;
}

    .circular_image img {
        width: 100%;
    }

.rtl .delete-img {
    right: auto;
    left: 5px;
}

.rtl .update-img {
    left: auto;
    right: 5px;
}

.mb-66, .my-66 {
    margin-bottom: 6rem !important;
}

/*End Btns*/
/*Modal*/
/*.modal-dialog {
    margin: 1rem auto !important;
}*/

@media (max-width: 576px) {
    .container {
        padding-right: 0;
        padding-left: 0;
    }

/*    .modal-dialog {
        margin: 1rem !important;
    }*/

    .swal2-container.swal2-top, .swal2-container.swal2-center, .swal2-container.swal2-bottom {
        grid-template-columns: 1em minmax(0, 1fr) 1em !important;
    }

    #ServiceToothContainer {
        font-size: 12px;
        margin-left: 40px;
    }

    .rtl #ServiceToothContainer {
        margin-right: 50px;
        margin-left: 0;
        font-size: 12px;
    }
}

.modal-open, body {
    padding-right: 0 !important
}

.formModal .modal {
    padding-right: 0 !important;
}

.modal-header {
    display: initial
}

.modal-footer, .modal-header {
    padding: .5rem 1rem
}

.light-mode .modal-footer, .light-mode .modal-header {
    background-color: #e0ffff;
}

.dark-mode .modal-footer, .dark-mode .modal-header {
    background-color: #282f53;
}

.modal-title {
    text-align: center;
    padding-top: 5px;
}


.light-mode .modal-title {
    color: #007bff;
    font-weight: 600;
}

.modal {
    padding-left: 0 !important;
}

#imageZoomModal {
    z-index: 99999;
}

.modal-btn {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    z-index: 99999;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    text-decoration: none;
}

.delete-btn {
    border-radius: 50%;
    background-color: white;
    position: absolute;
    top: 0;
    border-color: #e82646;
    right: -5px;
}

.rtl .delete-btn {
    right: auto;
    left: -5px;
}

.btn-save {
    position: absolute;
    left: 15px;
}

.rtl .btn-save {
    left: auto;
    right: 15px;
}

.modal-header .close {
    font-family: 'Roboto';
    color: #dc3545;
    background-color: transparent;
    font-weight: 600;
    font-size: 20px;
    padding: 4px 12px;
    line-height: .9;
    border-radius: 3px;
    border: 1px solid #dc3545;
    position: absolute;
    top: 8px;
    right: 15px;
}


.rtl .modal-header .close {
    left: 15px;
    right: inherit;
}

.modal-header .close:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

.closeFooter .modal-footer {
    text-align: center;
    display: inline-block;
}

.upper .right, .lower .right {
    padding-right: 2rem !important;
    padding-left: 0 !important;
}

.upper .left, .lower .left {
    padding-left: 2rem !important;
    padding-right: 0 !important;
}

.flash {
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    animation-name: flash;
}

@keyframes flash {
    10%, 100%{
        opacity: 1;
        background-color: rgba(0,0,0,.05);
    }

    40% {
        opacity: 0;
        background-color: #e0ffff;
    }
}

.form-select {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23000000' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px;
}

.rtl .form-select {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23000000' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat left 0.75rem center/8px 10px;
}

.bg-mistyrose {
    background-color: mistyrose;
}
/* dark mode*/
.dark-mode .bg-primary {
    background: #1e1e2f !important; /* surface */
    border-color: #3f51b5 !important; /* accent / primary */
}

.dark-mode .bg-secondary {
    background: #27293d !important; /* slightly lighter surface */
    border-color: #5a5c7d !important; /* secondary accent */
}
/* info */
.dark-mode .bg-info {
    background: #0d324d !important; /* deep muted blue */
    border-color: #0288d1 !important; /* accent info */
}

/* success */
.dark-mode .bg-success {
    background: #0d382d !important; /* deep muted green */
    border-color: #388e3c !important; /* accent success */
}

.dark-mode .bg-mistyrose {
    background-color: #1b1b30;
}

.dark-mode #ImageLink {
    background-color: slategray;
}

div.dataTables_wrapper div.dataTables_length select {
    border: outset;
    border-width: 1.5px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
    border-color: inherit !important;
}
.dark-mode .border-secondary,
.dark-mode div.dataTables_wrapper div.dataTables_filter input,
.dark-mode div.dataTables_wrapper div.dataTables_length select {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.dark-mode .form-select {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23ffffff' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px;
}

.dark-mode.rtl .form-select {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23ffffff' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat left 0.75rem center/8px 10px;
}

.dark-mode label .dark-mode .text-primary {
    color: #dedefd !important;
}

.dark-mode input {
    color: var(--primary-bg-color) !important;
}

.dark-mode .avatar {
    border: 2px solid #dedefd;
}

@media (max-width: 320px) {
    .tooth {
        height: 35px;
    }

    #upperRight h6, #upperLeft h6, #lowerRight h6, #lowerLeft h6 {
        display: none;
    }

    #ServiceToothContainer {
        font-size: 8px;
    }
}

@media (max-width: 360px) {
    #ServiceToothContainer {
        font-size: 8px;
    }
}

@media (max-width: 767px) {
    div .dataTables_wrapper div.dataTables_processing {
        top: 50px !important;
    }
    .modal-backdrop.show {
        opacity: 0.9;
    }
    /*    table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
        font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji" !important;
        line-height: 1 !important;
        font-size: 1rem !important;
    }*/

    /*input[type="date"]::-webkit-calendar-picker-indicator,
    input[type="month"]::-webkit-calendar-picker-indicator,
    input[type="datetime-local"]::-webkit-calendar-picker-indicator,
    button .fe {
        display: none;*/
    /*        margin-left: -25px;*/
    /*}

    .float {
        bottom: 70px;
        right: 40px;
        left: auto;
    }

    .rtl .float {
        right: auto;
        left: 40px;
    }
*/
    table .dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
        left: 3px !important;
        width: 1.6em !important;
        line-height: .8em !important;
    }

    .addMonth {
        text-align: center;
    }

        .addMonth .input-group, .addMonth #FilterId {
            max-width: 250px;
            margin: 0 auto;
        }

    .dataTables_filter input {
        margin: 0 !important;
    }

    .fc-toolbar h2 {
        font-size: 1em !important;
    }

    .fc-axis {
        font-size: .7em !important;
    }

    .tooth {
        height: 40px;
    }

    .lower .col-1, .upper .col-1 {
        padding: 0px;
    }

    .upper .text-info, .lower .text-info {
        line-height: 1;
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .btn {
        padding: 0.375rem 1rem;
    }

    .btn-sm {
        padding: 0.25rem 0.5rem;
    }

    .me-2, .mx-2 {
        margin-right: 0.25rem !important;
    }

    .rtl .me-2 {
        margin-left: 0.25rem !important;
        margin-right: inherit !important;
    }

    .alertify-notifier .ajs-message.ajs-visible {
        line-height: 2;
        width: 100vw !important;
        padding: 20px 10px !important;
        margin-top: -10px !important;
    }

    .formModal .form-group {
        padding: 0 10px;
        margin-bottom: 0.1rem;
    }

    #upperRight h6, #upperLeft h6, #lowerRight h6, #lowerLeft h6 {
        font-size: 80%;
    }

    .modal-dialog .dataTables_processing {
        height: 40px !important;
        margin-top: 0px !important;
    }

    #inputSearchDiv {
        width: 65%;
    }
}
