@import url(https://fonts.googleapis.com/css2?family=Quicksand:wght@700&display=swap);
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap);
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.welcome-text {
  font-family: "Quicksand", sans-serif;
}

/* header clock css */
.date-time {
  margin-left: auto;
  font-weight: 700;
  color: #fff;
}

/* header nav-link a css */
header ul li a.nav-link {
  margin-bottom: 0 !important;
}

.app-header .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FFFFFF' stroke-width='2.25' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
  height: 23px;
}

.app-header .navbar-toggler-icon {
  height: 1.5em !important;
}

.main {
  padding-top: 30px;
}

.btn-primary, .dataTables_wrapper .dataTables_paginate .paginate_button.current {
  color: #fff;
  background-color: #192840;
  border-color: #192840;
}

.btn-primary:hover {
  color: #fff;
  background-color: #22314b;
  border-color: #22314b;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active,
.nav-tabs .nav-link.active:focus {
  border-color: rgba(241, 241, 241, 0.66);
  border-bottom: 2px solid #467fcf;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #0d67ec;
  background-color: #fefefe;
  border: 1px solid rgba(84, 138, 223, 0.568627451);
}

.nav-pills .nav-link {
  border-radius: 0.25rem;
  background-color: #d7dce4;
  margin-right: 3px;
}

.btn-success {
  background-color: #067a52;
}

.edit-btn {
  margin-left: 2px;
  padding: 0px 2px 0px 3px;
  border-radius: 4px;
  font-size: 16px;
}

.show-btn {
  margin-left: 2px;
  padding: 0px 2px 0px 3px;
  border-radius: 4px;
  font-size: 16px;
  border: 1px solid #055d78;
  background-color: #055d78;
}

.print-btn {
  margin-left: 2px;
  padding: 0px 5px;
  border-radius: 4px;
  font-size: 16px;
  border: 1px solid #0b7697;
  background-color: #1aa0c8;
}

.back-btn {
  background-color: grey;
  color: white;
  border-radius: 4px;
  padding: 2px 7px 2px 2px;
  font-size: 14px;
  transition: transform 0.2s;
}

.back-btn:hover {
  text-decoration: none;
  background-color: rgb(53, 51, 51);
  color: white;
}

.delete-btn {
  margin-left: 2px;
  padding: 0px 2px 0px 2px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
}

.dataTables_scrollBody {
  overflow-y: scroll !important;
  overflow-x: scroll !important;
}

/* Hide Scroll bar in action column*/
.DTFC_RightBodyLiner {
  overflow-y: hidden !important;
  overflow-x: hidden !important;
}

/* Adjusting Position of action column */
.DTFC_RightFootWrapper {
  margin-top: -7px !important;
}

div.DTFC_RightBodyWrapper {
  top: -12px !important;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  display: block;
  width: 100%;
  /* height: 2.15rem;
  padding: .075rem .75rem; */
  height: 1.85rem;
  padding: 0.1rem 0.75rem;
  font-size: 0.99rem;
  font-weight: 400;
  line-height: 2;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 40, 100, 0.12);
  border-radius: 3px;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-warning {
  color: #ffffff;
  background-color: #ffc107;
  border-color: #ffc107;
}

.form-center {
  display: flex;
  flex-flow: column;
  align-items: center;
}

/* css for sidebar*/
.sidebar {
  background-color: #5046BB !important;
}

.sidebar .nav-dropdown-toggle:before {
  right: 11px !important;
}

.sidebar .nav-dropdown-items .nav-item {
  color: white;
  margin-left: 15px;
  font-size: 12px !important;
  padding: 0px !important;
}

.sidebar .sidebar-nav,
.sidebar .sidebar-scroll,
.sidebar .nav {
  width: 220px;
}

.sidebar.sidebar-pills .nav-link, .sidebar.sidebar-pills .nav-title {
  padding: 0.2rem 0.25rem 0.2rem 0.25rem;
}

.sidebar.sidebar-pills .nav-dropdown .nav-link:not(.nav-dropdown-toggle) {
  padding-left: 18px;
}

.form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: #fff;
  height: auto;
  min-height: 44px;
  color: #1e293b;
}
.form-control:focus {
  border-color: #2460B9;
  box-shadow: 0 0 0 3px rgba(36, 96, 185, 0.1);
  background: #fff;
}
.form-control::-moz-placeholder {
  color: #94a3b8;
  font-weight: 400;
  opacity: 1;
}
.form-control:-ms-input-placeholder {
  color: #94a3b8;
  font-weight: 400;
  opacity: 1;
}
.form-control::placeholder {
  color: #94a3b8;
  font-weight: 400;
  opacity: 1;
}
.form-control.is-invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  background-image: none;
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

.form-group {
  margin-bottom: 20px;
}

.form-group > label,
.form-group .form-label {
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
  display: block;
  letter-spacing: -0.01em;
}

.form-group.required > label::after,
label.required::after {
  content: " *";
  color: #dc2626;
}

.input-group-text {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  color: #64748b;
}

.input-group-prepend .input-group-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: none;
}

.input-group-append .input-group-text {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-left: none;
}

.select2-container--bootstrap .select2-selection {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  min-height: 44px !important;
  padding: 4px 0;
  box-shadow: none !important;
}

.select2-container--bootstrap.select2-container--focus .select2-selection {
  border-color: #2460B9 !important;
  box-shadow: 0 0 0 3px rgba(36, 96, 185, 0.1) !important;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
  padding: 4px 14px !important;
  font-size: 14px;
  color: #1e293b;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__arrow {
  top: 10px !important;
  right: 10px !important;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__rendered {
  padding: 2px 10px !important;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
  background: #eef2ff !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 2px 8px !important;
  font-size: 13px !important;
  color: #1e40af !important;
  margin: 3px !important;
}

.select2-container--bootstrap .select2-selection--multiple .select2-selection__choice__remove {
  color: #1e40af !important;
  margin-right: 4px !important;
}

.select2-container--bootstrap .select2-dropdown {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
  overflow: hidden;
}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
  background-color: #eef2ff !important;
  color: #1e40af !important;
}

.select2-container--bootstrap .select2-search--dropdown .select2-search__field {
  border: 1.5px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 6px 10px !important;
  font-size: 14px !important;
}
.select2-container--bootstrap .select2-search--dropdown .select2-search__field:focus {
  border-color: #2460B9 !important;
  box-shadow: 0 0 0 3px rgba(36, 96, 185, 0.1) !important;
}

.btn {
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.btn:active {
  transform: translateY(0);
}
.btn:focus {
  box-shadow: 0 0 0 3px rgba(36, 96, 185, 0.2);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 8px;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 12px;
}

.btn-primary {
  background: #2460B9;
  color: #fff;
}
.btn-primary:hover {
  background: #1e4a8a;
  color: #fff;
}

.btn-success {
  background: #067a52;
  color: #fff;
}
.btn-success:hover {
  background: #05613f;
  color: #fff;
}

.btn-danger {
  background: #dc2626;
  color: #fff;
}
.btn-danger:hover {
  background: #b91c1c;
  color: #fff;
}

.btn-warning {
  background: #f59e0b;
  color: #fff;
}
.btn-warning:hover {
  background: #d97706;
  color: #fff;
}

.btn-info {
  background: #0ea5e9;
  color: #fff;
}
.btn-info:hover {
  background: #0284c7;
  color: #fff;
}

.btn-default, .btn-secondary {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
}
.btn-default:hover, .btn-secondary:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.dataTables_wrapper .dataTables_filter input:focus,
.dataTables_wrapper .dataTables_length select:focus {
  border-color: #2460B9;
  box-shadow: 0 0 0 3px rgba(36, 96, 185, 0.1);
  background: #fff;
}

.form-check {
  padding-left: 0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #2460B9;
  cursor: pointer;
  position: relative;
}
.form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(36, 96, 185, 0.15);
}

.form-check-label {
  font-size: 14px;
  color: #1e293b;
  cursor: pointer;
  font-weight: 500;
  padding: 0;
}

.form-check-inline {
  display: inline-flex;
  margin-right: 20px;
}

.invalid-feedback {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: #ef4444;
  font-weight: 500;
}

.help-block {
  margin-top: 6px;
  font-size: 13px;
  color: #64748b;
}

.card {
  border: none;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.card-header {
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  padding: 16px 24px;
  font-weight: 600;
  font-size: 15px;
  color: #0f172a;
}

.form-select {
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 36px 10px 14px;
  font-size: 14px;
  min-height: 44px;
  background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") no-repeat right 12px center/12px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-select:focus {
  border-color: #2460B9;
  box-shadow: 0 0 0 3px rgba(36, 96, 185, 0.1);
}

.dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
  padding: 6px;
}

.dropdown-item {
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  color: #1e293b;
  transition: all 0.1s;
}
.dropdown-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.dropdown-item:active {
  background: #eef2ff;
  color: #1e40af;
}

.nav-tabs {
  border-bottom: 1px solid #f1f5f9;
  padding: 0 8px;
}
.nav-tabs .nav-item {
  margin-bottom: -1px;
}
.nav-tabs .nav-link {
  border: none;
  border-bottom: 2px solid transparent;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #64748b;
  transition: all 0.2s;
}
.nav-tabs .nav-link:hover {
  color: #1e293b;
  border-bottom-color: #cbd5e1;
}
.nav-tabs .nav-link.active {
  color: #2460B9;
  border-bottom-color: #2460B9;
  background: none;
}

.tab-content {
  padding: 20px 0;
}

.select_all, .clear {
  font-size: 13px !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
  background: #fff !important;
  transition: all 0.15s !important;
}
.select_all:hover, .clear:hover {
  background: #f1f5f9 !important;
  color: #1e293b !important;
}

.radio-inline input[type=radio]:focus,
.checkbox input:focus,
.form-check input:focus {
  box-shadow: 0 0 0 3px rgba(36, 96, 185, 0.15);
}

.repeatable-group .card {
  box-shadow: none;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
}

/* DataTable related customization */
.dataTables_scrollFoot,
.DTFC_RightFootWrapper {
  display: none;
}

.DTFC_RightBodyLiner {
  overflow-y: hidden !important;
  overflow-x: hidden !important;
}

.DTFC_RightBodyLiner {
  left: -12px;
}

td p {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}

.table th {
  /* padding: 0.4rem !important; */
  border-top: none;
  background-color: #c8ced3;
  font-size: 14px;
}

.table td {
  padding-top: 0.15rem !important;
  padding-bottom: 0.15rem !important;
  border-top: none;
  font-size: 14px !important;
}

/*** Patient Observation Page ***/
.today-date {
  margin: 10px 30px 0px 0px;
  text-align: right;
  font-size: 17px;
  font-weight: 600;
}

.top-navigation {
  margin: 10px 0 0 20px;
}

#appointment {
  margin-top: 10px;
}

.data {
  padding: 20px;
}

hr.hr-line {
  border: 1px solid lightgray;
}

.sidebar.sidebar-pills {
  width: 225px;
}

li.nav-item {
  margin-top: -2px !important;
  margin-bottom: -5px !important;
}

.sidebar.sidebar-pills .nav-link.active,
.sidebar.sidebar-pills .nav-link:hover,
.nav-dropdown-toggle:hover {
  color: orange !important;
}

.sidebar.sidebar-pills .nav-link {
  color: white !important;
  font-size: 13px;
}

.sidebar.sidebar-pills .nav-link.active .nav-icon,
.sidebar.sidebar-pills .nav-link:hover .nav-icon {
  color: orange !important;
}

.sidebar.sidebar-pills .nav-link .nav-icon {
  color: white !important;
  font-size: 15px !important;
}

.app-header {
  background-color: #2e2089 !important;
  height: unset !important;
  justify-self: center;
  padding: 6px 0;
}

.app-header .navbar-brand {
  color: #fff !important;
}

.print_export_button {
  background-color: green !important;
  color: white !important;
  border-radius: 5px 5px 5px 5px;
}

.print_export_button.buttons-colvis {
  background-color: red !important;
}

@media (min-width: 992px) {
  .header-fixed .app-body {
    margin-top: 66px;
  }
}
@media (min-width: 992px) {
  html:not([dir=rtl]) .sidebar-lg-show.sidebar-fixed .app-footer,
html:not([dir=rtl]) .sidebar-lg-show.sidebar-fixed .main,
html:not([dir=rtl]) .sidebar-show.sidebar-fixed .app-footer,
html:not([dir=rtl]) .sidebar-show.sidebar-fixed .main {
    margin-left: 222px;
  }
}
