/*
.mainLogin {
    background-image: url("../media/images/Asset1.png");
    background-size: cover !important;
    height: 110%;

}

!*[data-bs-theme=light] body:not(.app-blank) {*!
!*    background-image: none !important;*!
!*}*!


!*Override lately*!
[data-bs-theme=light] body:not(.app-blank) {
    background-image: url(../media/images/Asset1.png);
}
*/


#root{
    height: 100%;
}

/* <-----------------------Datatable Region -----------------------> */
.dt-column-title {
    font-size: .95rem !important;
}

table.table.dataTable > tbody > tr > td {
    color: var(--bs-text-gray-600) !important;
    font-size: .95rem !important;
}

.dataTable thead tr {
    border-radius: 10px;
    border-bottom: 0 !important;
}

.dataTable thead tr th:first-child {
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    padding-left: 15px !important;
}

.dataTable thead tr th:last-child {
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
}

[dir="rtl"] .dataTable thead tr th:first-child {
    border-bottom-right-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    padding-right: 15px !important;
}

[dir="rtl"] .dataTable thead tr th:last-child {
    border-bottom-left-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}

/* <-----------------------dropzone Region -----------------------> */
.error-message {
    color: red;
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

.dropzone {
    border: 2px dashed #4285f4; /* Google Blue */
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease; /* Smooth transition */
}

.dropzone:hover {
    background-color: #e8f0fe; /* Light blue on hover */
}

.dropzone p {
    margin: 10px 0;
}

.preview-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.preview-item {
    position: relative;
    display: inline-block;
    margin: 10px;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.preview-image {
    max-width: 110px !important;
    max-height: 110px !important;
    object-fit: cover;
    border-radius: 5px;
    display: block; /* Prevents small space below image */
    margin-bottom: 5px;
}

.remove-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #f44336; /* Red */
    color: white;
    border: none;
    border-radius: 50%; /* Circular button */
    width: 24px;
    height: 24px;
    font-size: 16px;
    cursor: pointer;
    line-height: 1; /* Center the X vertically */
    text-align: center;
}

.preview-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 1px;
    left: 5px;
    background-color: #4285f4; /* Google Blue */
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    line-height: 1;
    text-align: center;
}

.file-name {
    margin: 0;
    word-break: break-all;
}

.uploading-message,
.deletin g-message {
    display: inline-block; /* Prevents pushing other elements */
    margin: 0; /* Resets default margin */
    padding: 5px 10px; /* Adds padding */
    border-radius: 4px; /* Rounds the corners */
    font-weight: 500; /* Slightly bolder text */
    color: #fff; /* White text */
}

.uploading-message {
    background-color: #1bc5bd; /* Teal background */
}

.deleting-message {
    background-color: #f64e60; /* Red background */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 576px) {
    .card-title {
        flex-direction: column; /* Stack title and messages vertically */
        align-items: flex-start; /* Align to the left */
    }

    .uploading-message,
    .deleting-message {
        margin-top: 0.5rem; /* Add top margin for spacing */
    }
}

/* end of dropzone styles */

/*  begin Switch dt-kanban container */
.dt-kb-switch-container > div {
    display: none;
}

.dt-kb-switch-container > .active {
    display: block !important;
}

.kanban__section.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.kanban__section__title {
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin: 10px 0 20px;
    color: var(--bs-primary);
}

.bg-created {
    --bs-bg-rgb-color: var(--bs-primary-rgb);
    background-color: var(--bs-primary) !important;
}

.bg-underReview {
    --bs-bg-rgb-color: var(--bs-warning-rgb);
    background-color: var(--bs-warning) !important;
}

.bg-active {
    --bs-bg-rgb-color: var(--bs-success-rgb);
    background-color: var(--bs-success) !important;
}

.bg-rejected {
    --bs-bg-rgb-color: var(--bs-danger-rgb);
    background-color: var(--bs-danger) !important
}

.kanban__section__content {
    height: 100%;
    background: #f9f9f9;
    border-radius: 5px;
}

[data-bs-theme=dark] .kanban__section__content {

    background: #2a2a2a !important;
}
/*flat pickr*/
.datetime-picker {
  width: 100% !important;
}

.flatpickr-input {
  width: 100% !important;
}

.flatpickr-wrapper {
  width: 100% !important;
}
/* Ensure dropdowns appear above other elements */
.trainer-select2-dropdown, .level-select2-dropdown {
    z-index: 1060 !important;
}

#levelSelect-dropdown-container,
#trainersSelect-dropdown-container {
    position: relative;
    z-index: auto;
}

.select2-container--open .select2-dropdown {
    position: absolute !important;
}

/* Weekday styling */
.nav-pills-custom .nav-link {
    background-color: var(--bs-secondary) !important;
    color: var(--bs-dark) !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-pills-custom .nav-link:hover,
.nav-pills-custom .nav-link.active {
    background-color: var(--bs-primary) !important;
    color: white !important;
}
/*prevent select2 second initlization*/
#trainersSelect,
#facilitySelect,
#specialitySelect,
#package-select,
#brandsSelect,
#levelSelect{
    opacity: 0;
    position: absolute;
    pointer-events: none;
    height: 0;
    width: 0;
    padding: 0;
    margin: 0;
    border: none;
}
[id^="colorSelect-"], [id^="sizeSelect-"] {
    opacity: 0;
    position: absolute;
    pointer-events: none;
    height: 0;
    width: 0;
    padding: 0;
    margin: 0;
    border: none;
}
/*Calendar events color based on type*/
.fc-event-type-class {
    background-color: #F6DA2F !important;
    border-color: #F6DA2F !important;
    color: #000 !important;
}

.fc-event-type-course {
    background-color: #C99D0C !important;
    border-color: #C99D0C !important;
    color: #fff !important;
}

.fc-event-type-facility {
    background-color: #808080 !important;
    border-color: #808080 !important;
    color: #fff !important;
}

.fc-event-type-private {
    background-color: #ecebea !important;
    border-color: #ecebea !important;
    color: #000 !important;
}
.fc-event-type-private,
.fc-event-type-private .fc-event-title,
.fc-event-type-private .fc-event-time,
.fc-event-type-private .fc-event-main {
    color: #000 !important;
}



.fc-daygrid-event-dot{
    border-color: #434546 !important; 
}

.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{backface-visibility:hidden;display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:rgba(51,153,255,.75);overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.3333333333%;left:0;top:33.3333333333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.3333333333%;top:0;width:33.3333333333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center::after,.cropper-center::before{background-color:#eee;content:" ";display:block;position:absolute}.cropper-center::before{height:1px;left:-3px;top:0;width:7px}.cropper-center::after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se::before{background-color:#39f;bottom:-50%;content:" ";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC)}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}

/* Client dark form tabs in small screens */
@media (max-width: 991.98px) {
    /* Force all tab links to be black */
    ul.nav.nav-tabs li.nav-item a.nav-link {
        color: #000000 !important;
        -webkit-text-fill-color: #000000 !important;
    }

    ul.nav.nav-tabs li.nav-item a.nav-link.active {
        color: #000000 !important;
        -webkit-text-fill-color: #000000 !important;
        border-bottom: 2px solid #000000 !important;
        font-weight: 600 !important;
    }

    ul.nav.nav-tabs {
        padding: 8px 4px !important;
        border-radius: 6px !important;
    }

    .nav-link span {
        color: inherit !important;
    }
}

/*styling for the border end in modals*/
@media (min-width: 768px) {
  [dir="ltr"] .border-md-end-custom {
    border-right: 1px solid rgba(222, 226, 230, 0.53); /* or use var(--bs-border-color) */
  }
  [dir="rtl"] .border-md-end-custom {
    border-left: 1px solid rgba(222, 226, 230, 0.53);
  }
}

/*client status ribbon styling*/
.ribbon {
  position: relative;
  padding: 0.5rem 1rem;
  display: inline-block;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.ribbon-top {
  top: 0;
}

.ribbon-start {
  left: 0;
}

.ribbon:after {
  content: '';
  position: absolute;
  right: -10px;
  top: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

/* Rotate arrow when expanded in store */
[aria-expanded="true"] .toggle-arrow {
  transform: rotate(-90deg);
  color: #009EF7 !important;
}

.toggle-arrow {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.cursor-pointer {
  cursor: pointer;
}

/* tagify */
.tagify__tag__removeBtn {
  display: none !important;
}

/* Prevent scrolling and add backdrop */
body.drawer-open {
    position: fixed;
    width: 100%;
    overflow-y: scroll;
}

body.drawer-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    pointer-events: none;
}

[data-kt-drawer="true"] {
    z-index: 1050;
}

/* custom-margin-dir for rtl margins */
.margin-dir-1 { margin-inline-start: 0.25rem; }
.margin-dir-2 { margin-inline-start: 0.5rem; }
.margin-dir-3 { margin-inline-start: 1rem; }
.margin-dir-4 { margin-inline-start: 1.5rem; }
.margin-dir-5 { margin-inline-start: 1.75rem; }
.margin-dir-6 { margin-inline-start: 2rem; }
.margin-dir-7 { margin-inline-start: 2.25rem; }
.margin-dir-end-2 { margin-inline-end: 0.5rem; }
.margin-dir-end-3 { margin-inline-end: 0.75rem; }

/* RTL datatable styling */
.table-responsive[dir="rtl"] table {
  direction: rtl;
}

[dir="rtl"] .table thead th {
  text-align: right;
}

[dir="rtl"] .table td {
  text-align: right;
}

[dir="rtl"] .form-check {
  padding-right: 1.5em;
  padding-left: 0;
}

[dir="rtl"] .form-check-input {
  margin-right: -1.5em;
  margin-left: 0;
}
/* RTL input styling */
.retail-price {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
}
[dir="rtl"] .retail-price {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;
}
[dir="rtl"] .retail-price-group {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}
.whole-sale-price {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
[dir="rtl"] .whole-sale-price {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 0px;
  border-top-left-radius: 0px;
}
[dir="rtl"] .whole-sale-price-group {
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
}

.flatpickr-monthSelect-months {
    margin: 10px 1px 3px 1px;
    flex-wrap: wrap;
}

.flatpickr-monthSelect-month {
    background: none;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #393939;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    margin: 0.5px;
    justify-content: center;
    padding: 10px;
    position: relative;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    text-align: center;
    width: 32%;
}

.flatpickr-monthSelect-month.flatpickr-disabled {
    color: #eee;
}

.flatpickr-monthSelect-month.flatpickr-disabled:hover,
.flatpickr-monthSelect-month.flatpickr-disabled:focus {
    cursor: not-allowed;
    background: none !important;
}

.flatpickr-monthSelect-theme-dark {
    background: #3f4458;
}

.flatpickr-monthSelect-theme-dark .flatpickr-current-month input.cur-year {
    color: #fff;
}

.flatpickr-monthSelect-theme-dark .flatpickr-months .flatpickr-prev-month,
.flatpickr-monthSelect-theme-dark .flatpickr-months .flatpickr-next-month {
    color: #fff;
    fill: #fff;
}

.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month {
    color: rgba(255, 255, 255, 0.95);
}

.flatpickr-monthSelect-month.today {
    border-color: transparent;
    background-color: #ddd;
}

.flatpickr-monthSelect-month.inRange,
.flatpickr-monthSelect-month.inRange.today,
.flatpickr-monthSelect-month:hover,
.flatpickr-monthSelect-month:focus {
    background: #e6e6e6;
    cursor: pointer;
    outline: 0;
    border-color: #e6e6e6;
}

.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.inRange,
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month:hover,
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month:focus {
    background: #646c8c;
    border-color: #646c8c;
}

.flatpickr-monthSelect-month.today:hover,
.flatpickr-monthSelect-month.today:focus {
    background: #959ea9;
    border-color: #959ea9;
    color: #fff;
}

.flatpickr-monthSelect-month.selected,
.flatpickr-monthSelect-month.startRange,
.flatpickr-monthSelect-month.endRange {
    background-color: #569ff7;
    box-shadow: none;
    color: #fff;
    border-color: #569ff7;
}

.flatpickr-monthSelect-month.startRange {
    border-radius: 50px 0 0 50px;
}

.flatpickr-monthSelect-month.endRange {
    border-radius: 0 50px 50px 0;
}

.flatpickr-monthSelect-month.startRange.endRange {
    border-radius: 50px;
}

.flatpickr-monthSelect-month.inRange {
    border-radius: 0;
    box-shadow: -5px 0 0 #e6e6e6, 5px 0 0 #e6e6e6;
}

.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.selected,
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.startRange,
.flatpickr-monthSelect-theme-dark .flatpickr-monthSelect-month.endRange {
    background: #80cbc4;
    -webkit-box-shadow: none;
    box-shadow: none;
    color: #fff;
    border-color: #80cbc4;
}

.flatpickr-day.disabled {
    position: relative;
    color: #ccc !important;
    text-decoration: line-through !important;
    cursor: not-allowed !important;
    background: none !important;
}




