body{
    font-family: 'Tajawal', sans-serif;
}

.sq-ratio {
  aspect-ratio: 1/1;
}

.image-cover,
.image-contain {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: rgba(22, 142, 234, 0.1);
  overflow: hidden;
}

.image-cover img {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.image-contain img {
  min-width: 100%;
  min-height: 100%;
  object-fit: contain;
}

.input-group > .form-control:focus,
.input-group > .form-select:focus {
  z-index: 0;
}

.form-control,
.form-select {
  font-family: "Tajawal", sans-serif !important;
}

.icon-input {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.was-validated .icon-input:has(.input-custom:invalid) ~ .invalid-feedback {
  display: block;
}

.input-custom {
  display: flex !important;
  align-items: center;
  padding: 12px 15px !important;
  border-radius: 5px !important;
}

.rtl input[type="email"],
.rtl input[type="number"],
.rtl select {
  text-align: right;
}

.rtl .icon-input .form-control,
.rtl .icon-input .form-select {
  padding-right: 60px !important;
}

.ltr .icon-input .form-control,
.ltr .icon-input .form-select {
  padding-left: 60px !important;
}

.icon-input .icon {
  position: absolute;
  width: 35px;
  z-index: 1;
}

.rtl .icon-input .icon {
  right: 15px;
  border-left: 1px solid #e6edef;
}

.ltr .icon-input .icon {
  left: 15px;
  border-right: 1px solid #e6edef;
}

.empty-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 30px 0;
  transition: all 0.3s ease-in-out;
}

.work-time {
  padding: 30px;
  background-color: rgba(22, 142, 234, 0.03) !important;
}

.day-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  background-color: #fff;
  border: 1px solid #e6edef;
  padding: 10px 20px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.day-card .day-input {
  all: unset;
  border: none;
  padding: 0;
  font-weight: bold;
  max-width: 80px;
}

.day-card .times {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex: 1;
  transition: all 0.3s ease-in-out;
}
.day-card .times input {
  width: 100px;
  text-align: center;
  padding: 5px 10px !important;
}

.day-card .form-switch {
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.day-card .form-switch input {
  margin: 0;
  box-shadow: none !important;
  background-color: transparent;
}

.day-card .form-switch input:checked {
  background-color: #0000aa !important;
  border-color: #0000aa !important;
}

.day-card.inactive {
  background: #f9f9f9;
  transition: all 0.3s ease-in-out;
}

.day-card.inactive .times {
  opacity: 0;
}

body.light-only .page-wrapper.horizontal-wrapper .page-body-wrapper .page-body {
  background-color: #f8fbff;
}

.nav-pills .nav-link {
  color: #0000aa;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 10px;
}

.user-profile .profile-header .main-info .info-item {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 10px;
}

.user-profile .profile-header .main-info .info-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 35px;
  aspect-ratio: 1/1;
  color: #0000aa;
  background-color: rgba(22, 142, 234, 0.08);
  border-radius: 5px;
}

.rtl .html-duration-picker-input-controls-wrapper .controls {
  left: 16px !important;
}

.crm-activity span {
  font-size: inherit;
}

.bootstrap-touchspin .touchspin-vertical-tab .input-group .input-group-btn-vertical {
  display: flex;
  flex-direction: column;
  position: absolute;
  right: 0;
  height: 100%;
  width: unset;
  border-radius: 0 5px 5px 0 !important;
  overflow: hidden;
}

.rtl .bootstrap-touchspin .touchspin-vertical-tab .input-group .input-group-btn-vertical {
  border-radius: 5px 0 0 5px !important;
  right: unset;
  left: 0;
}

.bootstrap-touchspin .touchspin-vertical-tab .input-group .input-group-btn-vertical > .btn {
  padding: 0;
  flex-basis: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  aspect-ratio: 1/1;
  width: 16px;
  max-width: unset;
}

.bootstrap-touchspin .touchspin-vertical-tab .input-group .input-group-btn-vertical > .btn i {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
}

.date-details > div + div {
  margin: 0 !important;
}

.select2-selection__rendered {
  line-height: initial !important;
  font-weight: 300;
  padding: 0 !important;
}

.select2-container .select2-selection--single {
  height: 47px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 50% !important;
  transform: translateY(-50%);
}

.todo .complete-check {
  border-color: #0000aa;
  width: 18px;
  height: 18px;
  margin: 0;
  background-color: transparent;
  box-shadow: none;
}

.todo .complete-check:checked {
  background-color: #0000aa;
}

.dataTables_wrapper button {
  font-size: inherit;
}

.dataTables_wrapper .dt-buttons .dt-button,
.dataTables_wrapper .dt-buttons .buttons-collection {
  color: #0000aa;
  background-color: transparent;
  border: 1px solid #0000aa;
  margin-inline-end: 8px;
}

.dataTables_wrapper .dt-buttons .buttons-collection .dt-down-arrow {
  font-size: 0;
}

.dataTables_wrapper .dt-buttons .buttons-collection .dt-down-arrow::after {
  content: "\f078";
  display: inline-block;
  font: var(--fa-font-solid);
  font-size: 12px;
  margin-inline-start: 8px;
}

.dataTables_wrapper .dt-buttons .dt-button-collection {
  margin: 5px 0 20px !important;
  width: fit-content;
  padding: 15px;
  background-color: #fff;
  border: 1px solid rgb(0 0 0 / 15%);
  box-shadow: 1px 1px 8px 2px rgb(0 0 0 / 10%);
  border-radius: 6px;
}

body.dark-only .dataTables_wrapper .dt-buttons .dt-button-collection {
  background-color: #111727;
}

.dataTables_wrapper .dt-buttons .dt-button-collection .dt-button.active {
  color: #fff;
  background-color: #0000aa;
}

.fc-h-event {
  background-color: #0000aa !important;
  border: 1px solid #0000aa !important;
}

body.dark-only .day-card {
  background-color: #111727;
  color: rgba(255, 255, 255, 0.7);
}

.filter button{
    margin-top : 27px;
}

.page-wrapper .page-body-wrapper .page-header {
    position: fixed;
    background-color: #fff;
    left: 0;
    right: 290px;
    padding: 10px;
    top: 82px;
    border-top: 1px solid #e6edef;
    border-bottom: 1px solid #e6edef;
    z-index: 7;
}
.page-wrapper .page-body-wrapper .page-body{
    margin-top: 145px;
}

.rtl .page-wrapper.compact-wrapper .page-body-wrapper header.main-nav.close_icon ~ .page-body .page-header {
    right: 0;
}

.dataTables_wrapper table.dataTable tbody td, .dataTables_wrapper table.dataTable tbody th{
    border: none;
}

@media screen and (max-width: 1024px) {
  .day-card .times input {
    width: 80px;
  }
}
@media screen and (max-width: 991px) {
  .page-wrapper.horizontal-wrapper .page-body-wrapper.horizontal-menu header.main-nav {
    top: 72px;
  }
}

@media screen and (max-width: 425px) {
  .page-wrapper.horizontal-wrapper .page-body-wrapper.horizontal-menu header.main-nav {
    top: 55px;
  }
  .page-wrapper .page-main-header .main-header-right {
    flex-wrap: nowrap !important;
  }
}

@media screen and (max-width: 280px) {
  .page-main-header .main-header-right .left-menu-header {
    padding: 24px 15px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 1;
  }
}
