/* Custom css var */
:root {
  --primary-bg-color: #00a658;
  --success-bg-color: #21c479;
  --danger-bg-color: #ec6453;

  --section-bg-color: #fafafa;

  --header-color: #ffffff;
  --text-header-color: #2d3044;
  --border--header-color: #b7b7b7;
  --border--header-logout-color: #ec6353;

  --text-body-color: #2d3044;
  --icon-body-color: #282c3d;

  --text-important-color: #ed7f6f;

  --btn-primary-color: #eb6454;
  --btn-primary-outline-color: #eb6454;
  --btn-success-color: #21c479;

  --text-success-color: #21c479;
  --text-danger-color: #ec6453;
  --text-warning-color: #f49600;
  --text-info-color: #0000c1;

  --card-border-color: #dddee4;

  --label-header-color: #282b3e;
  --label-title-color: #5e6073;

  --font-family-arial: Arial;
}

html * {
  font-family: var(--font-family-arial) !important;
}

/* Exclude icon tags from the global font-family rule */
.fa,
.fas,
.far,
.fal,
.fab {
  font-family: "Font Awesome 5 Free" !important;
}

.now-ui-icons {
  font-family: "Nucleo Outline" !important;
}

a {
  color: var(--text-body-color) !important;
}

.text-success {
  color: var(--text-success-color) !important;
}

.text-danger {
  color: var(--text-danger-color) !important;
}

.text-warning {
  color: var(--text-warning-color) !important;
}

.text-info {
  color: var(--text-info-color) !important;
}

/* Section */
.section {
  background-color: var(--section-bg-color) !important;
  padding-top: 30px !important;
}

/* header background color */
.header-bg-primary {
  background-color: var(--header-color) !important;
}

.sidebar-collapse .navbar-collapse:before {
  background: var(--header-color) !important;
  border: solid var(--border--header-color) 1px !important;
}
.navbar {
  box-shadow: none !important;
}

.navbar-nav .nav-item .nav-link div {
  color: var(--text-header-color) !important;
}

.nav-item {
  border: solid var(--border--header-color) 1px !important;
}

.nav-item:nth-child(even) {
  background-color: #fafafa;
}

.nav-item:hover {
  font-weight: bold !important;
  border-left: solid var(--primary-bg-color) 3px !important;
}

.active {
  font-weight: bold !important;
  border-left: solid var(--primary-bg-color) 3px !important;
}

.dropdown-toggle::after {
  color: var(--text-header-color) !important;
  font-size: 13px;
  position: absolute;
  right: 0;
  margin: 5px;
  top: 0;
}

.btn-logout {
  color: var(--text-header-color);
  background-color: var(--header-color);
  border: solid var(--border--header-logout-color) 1px;
  font-weight: 400;
  margin: 20px;
}

/* Dashboard Page */
.label_header {
  font-size: 17px;
  color: var(--label-header-color);
  font-weight: inherit !important;
  margin-bottom: 2px !important;
}

.label_sub_header {
  font-size: 15px;
  color: var(--label-header-color);
  font-weight: inherit !important;
  margin-bottom: 0 !important;
}
.label_sub_header_number {
  font-size: 15px;
  color: var(--label-header-color);
  margin-bottom: 0 !important;
  font-weight: bold !important;
}

.label_title {
  font-size: 12px;
  color: var(--label-title-color);
  font-weight: inherit !important;
  margin-bottom: 0 !important;
}

.label_title_bold {
  font-size: 12px;
  color: var(--label-title-color);
  font-weight: bold !important;
  margin-bottom: 0 !important;
}

.label_logo {
  font-size: 17px !important;
  color: var(--label-header-color) !important;
  font-weight: bold !important;
}
.card-dashboard-progress {
  padding: 2px !important;
}

.custom-icon-border {
  border: none !important;

  outline: none !important;
  font-size: 0.6em;
  color: #111 !important;
}

.txt_reference {
  font-size: 1em;
}

.custom-icon-border p {
  font-weight: bold;
}

.icon-dashboard {
  width: 35px;
  height: 35px;
}

.dot-icon-success {
  width: 15px;
  /* Set the width */
  height: 15px;
  /* Set the height */
  border-radius: 50%;
  /* Make it circular */
  background-color: var(--text-success-color);
  /* Dot color */
  display: inline-block;
  margin-right: 0.5rem;
}

.dot-icon-danger {
  width: 15px;
  /* Set the width */
  height: 15px;
  /* Set the height */
  border-radius: 50%;
  /* Make it circular */
  background-color: var(--text-danger-color);
  /* Dot color */
  display: inline-block;
  margin-right: 0.5rem;
}

.dot-icon-warning {
  width: 15px; /* Default width */
  height: 15px; /* Default height */
  border-radius: 50%; /* Make it circular */
  background-color: var(--text-warning-color); /* Set the warning color */
  display: inline-block; /* Keep it inline with other elements */
  box-sizing: border-box; /* Prevent padding/border from affecting size */
  margin-right: 0.5rem;
}

.icon {
  width: 20px !important;
  height: 20px !important;
}

.filter-container {
  margin: auto !important;
  background: #fff !important;
  align-items: center !important;
  border-radius: 10px;
}

.text-dashboard {
  font-size: 10px;
}

.no-border {
  border: none; /* Remove border */
  box-shadow: none; /* Remove any box-shadow */

  color: #111 !important;
}

.pointer {
  cursor: pointer !important;
}

.no-border:focus {
  outline: none; /* Remove the focus outline */
}

/* Custom textfield */
.custom-textfield {
  border: none !important;
  border-bottom: 1px solid #111 !important;
  padding: 5px 10px !important;
  outline: none !important;
  background-color: transparent !important;
}

.custom-textfield-wo-color {
  border: none !important;
  border-bottom: 1px solid #111 !important;
  padding: 5px 10px !important;
  outline: none !important;
  background-color: transparent !important;
  color: #111;
}
.icon_hosp {
  color: #111;
  font-size: 25px;
  
}

.icon_hosp_active {
  color: var(--btn-primary-color);
  font-size: 25px;
  
}

.input-group,
.form-group {
  margin-bottom: 25px !important;
}

[placeholder]:focus::-webkit-input-placeholder {
  transition: text-indent 0.4s 0.4s ease;
  text-indent: -100%;
  opacity: 1;
}

/* footer background color */
.footer-bg-primary {
  background-color: #fff !important;
}

.footer_important {
  background-color: #fafafa;
  padding: 8px;
}

.text_important {
  color: var(--text-important-color) !important;
  font-weight: bold;
}

/* btn bg color */
.btn-bg-primary {
  background-color: var(--btn-primary-color) !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-weight: 600 !important;
}

.btn-bg-success {
  background-color: var(--btn-success-color) !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-weight: 600 !important;
}

.btn-bg-primary-outline {
  border: solid var(--btn-primary-outline-color) 1px;
  background-color: #fff !important;
  border-radius: 0 !important;
  color: var(--label-title-color) !important;
  font-weight: 600 !important;
}

/* custom label warning */
.label-warning {
  color: #111 !important;
  font-weight: bold;
  font-size: 10px;
}

.icon-color-primary {
  color: #111 !important;
}

.progress {
  margin-top: 5px !important;
  border-radius: 0 !important;
  background-color: #d0edda;
  height: 0.5rem !important;
}

.progress-bar {
  background-color: var(--primary-bg-color);
}

.hr_bg_color {
  background-color: #eeedf0;
  height: 0.1em;
}
.navbar-logo {
  max-width: 100%; /* Makes the logo responsive */
  height: auto; /* Maintains aspect ratio */
  width: 150px; /* Set a fixed width as needed */
}
h6,
.h6 {
  color: var(--text-body-color) !important;
}

h5,
.h5 {
  color: var(--text-body-color) !important;
}

label {
  color: var(--text-body-color) !important;
}

/* modal */
.modal .modal-header .close {
  color: var(--text-body-color) !important;
  text-shadow: none;
  font-size: 2em;
}

/* notification modal */
.notification_item {
  border-bottom: solid #eeedf0 1px;
  padding: 20px;
}

.unread {
  background-color: #caedda;
}

.modal-footer {
  background-color: #ededed;
}

/* Card */

.card {
  margin-bottom: 20px !important;
}
.transaction_card {
  margin-bottom: 3px !important;
  padding-bottom: 0px !important;
}

.transaction-body {
  margin-bottom: 10px !important;
}

.card-footer {
  border-top: solid #eeedf0 1px !important;
  padding: 20px !important;
  text-align: center !important;
}

.card-header-loa {
  background-color: #272a3d;
  padding: 10px;
  color: #fff;
  padding-left: 20px !important;
}

.card-border {
  border: solid var(--card-border-color) 1px;
  padding: 10px;
  color: var(--text-body-color);
  margin-bottom: 5px !important;
}

.container-selected-hospital {
  background-color: var(--primary-bg-color);
  padding: 20px;
  color: #fff;
}

.container-selected-outline-hospital {
  border: solid var(--primary-bg-color) 1px;
  padding: 20px;
  color: var(--text-body-color);
}

.container-selected-outline-doctor {
  border: solid var(--card-border-color) 1px;
  padding: 20px;
  color: var(--text-body-color);
}

.container-selected-outline-files {
  border: solid var(--card-border-color) 1px !important;
  padding: 10px;
  color: var(--text-body-color);
  margin-top: 0 !important;
}

.container-selected-outline-summary {
  border: solid var(--card-border-color) 1px !important;
  padding: 10px;
  color: var(--text-body-color);
  margin-top: 10px !important;
}

.custom-file-label::after {
  background-color: var(--btn-primary-color);
  color: #fff;
}

.container_ecard {
  width: 100%;
  margin: auto;
}

h6,
.h6 {
  font-size: 0.9em;
}

h5,
.h5 {
  font-size: 1em;
}

h4,
.h4 {
  font-size: 1em !important;
}

h3,
.h3 {
  font-size: 1.1em !important;
}

.section {
  min-height: 95vh !important;
}

.btn-custom {
  width: 60% !important;
  margin: 5px !important;
  font-size: 12px !important;
}

.icon-custom {
  width: 25px !important;
  height: 25px !important;
}
.btn-link {
  border-bottom: 1px solid var(--btn-success-color) !important;
  font-size: 12px !important;
}

/* For mobile responsiveness */
@media screen and (max-width: 924px) {
  h6,
  .h6 {
    font-size: 0.8em;
  }

  h5,
  .h5 {
    font-size: 0.9em;
  }

  h4,
  .h4 {
    font-size: 1em;
  }

  h3,
  .h3 {
    font-size: 1.2em !important;
  }

  label {
    font-size: 1em;
  }

  .custom-icon-border {
    font-size: 0.6em;
  }

  .container_ecard {
  }

  .section {
    min-height: 85vh !important;
  }

  .text-dashboard {
    font-size: 8px;
  }

  .btn-custom {
    width: 100% !important;
  }
}

@media (max-width: 576px) {
  .dot-icon-warning {
    width: 12px; /* Smaller width on mobile */
    height: 12px; /* Smaller height on mobile */
  }
  .dot-icon-success {
    width: 12px; /* Smaller width on mobile */
    height: 12px; /* Smaller height on mobile */
  }
  .dot-icon-danger {
    width: 12px; /* Smaller width on mobile */
    height: 12px; /* Smaller height on mobile */
  }
  .status-warning {
    font-size: 0.55rem;
  }
}

/* LOADING  */

/* HTML: <div class="loader"></div> */
/* HTML: <div class="loader"></div> */
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
}

.preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid var(--primary-bg-color);
  border-top-color: transparent;
  border-bottom-color: transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

.custom-alert {
  display: none; /* Hidden by default */
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  position: absolute; /* Absolute position */
  top: 20px; /* Position from the top */
  right: 20px; /* Position from the right */
  z-index: 9999; /* Make sure it's on top */
  width: 300px; /* Width of the alert */
}

.alert-success {
  background-color: var(--success-bg-color); /* Green background */
  color: white; /* White text */
}

.alert-danger {
  background-color: var(--danger-bg-color); /* Red background */
  color: white; /* White text */
}

.alert-close {
  background: none;
  border: none;
  color: white;
  font-weight: bold;
  float: right;
  font-size: 20px;
  cursor: pointer;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#fileModal .modal-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
}
#pdfViewer {
  width: 100% !important;
  height: 100vh !important;
}

#imageViewer {
  width: 100% !important;
  height: 80vh !important; /* 100% of the viewport height */
}

/* Custom styles for pagination */
.pagination-container {
  margin-top: 20px;
}

.pagination .active_paginate {
  background-color: #eb6454;
}

.pagination .active_paginate a {
  color: white !important;
  font-weight: bold;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.request_discharge{
  background-color: #fafafa !important;
  cursor: not-allowed !important;
}

.request_hospital_clinic{
 
}

.text-justify {
  text-align: justify;
  line-height: 1.8; /* Improves readability */
}