/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

/*
* Custom Font Size Overrides
* Override default font sizes to make text smaller across the application
******************************************************************************/
:root {
  /* Override root font size - reduced from 16px to 12px */
  --bs-root-font-size: 13px;

  /* Override body font size - reduced from 0.9375rem (15px) to 0.8125rem (13px) */
  --bs-body-font-size: 0.8125rem;
}

body {
  font-size: var(--bs-body-font-size);
}

.menu .app-brand.demo {
  height: 64px;
  margin-top: 12px;
}

.app-brand-logo.demo svg {
  width: 22px;
  height: 38px;
}

.app-brand-text.demo {
  font-size: 1.75rem;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

/* ! For .layout-navbar-fixed added fix padding top to .layout-page */
/* Detached navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
  padding-top: 76px !important;
}

/* Default navbar */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 64px !important;
}

.docs-page .layout-navbar-fixed.layout-wrapper:not(.layout-without-menu) .layout-page,
.docs-page .layout-menu-fixed.layout-wrapper:not(.layout-without-menu) .layout-page {
  padding-top: 62px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
  z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks>* {
  display: block !important;
}

.demo-inline-spacing>* {
  margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing>* {
  margin-top: 1rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-lg>* {
  margin-top: 1.875rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.demo-vertical-spacing-xl>* {
  margin-top: 5rem !important;
  margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element> :first-child {
  margin-top: 0 !important;
}

.rtl-only {
  display: none !important;
  text-align: left !important;
  direction: ltr !important;
}

[dir='rtl'] .rtl-only {
  display: block !important;
}

/* Dropdown buttons going out of small screens */
@media (max-width: 576px) {
  #dropdown-variation-demo .btn-group .text-truncate {
    width: 231px;
    position: relative;
  }

  #dropdown-variation-demo .btn-group .text-truncate::after {
    position: absolute;
    top: 45%;
    right: 0.65rem;
  }
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin-top: 1rem;
}

.layout-demo-placeholder img {
  width: 900px;
}

.layout-demo-info {
  text-align: center;
  margin-top: 1rem;
}
.tab-header{
  background-color: #14a4ec;
  color: #fff;
  padding: 10px 12px;
  border-radius: 5px 5px 0px 0px;
  font-size: 18px;
}


.nav-tabs .nav-item .nav-link{
  color: #14a4ec;
  padding: 4px !important;
  border-radius: 4px !important;
}

.nav-tabs .nav-item .nav-link:not(.active) {
  background-color: #14a4ec;
}

.nav-tabs .nav-link.active {
  color: #fff !important;
  background-color: #0e7cb3 !important;
}

.nav-tabs .nav-item .nav-link {
  color: #eef9fe;
  padding: 4px !important;
  font-size: 12px;
  background-color: #14a4ec;
}
.nav-tabs .nav-link:not(.active):hover, .nav-tabs .nav-link:not(.active):focus, .nav-pills .nav-link:not(.active):hover, .nav-pills .nav-link:not(.active):focus {
  color: #d9e3ed;
}

.card-header{
  background-color: #14a4ec !important;
  color: #fff !important;
  border-color: #14a4ec !important;
  font-size: 18px !important;
  padding: 10px;
}

.card-header-secondary{
  background-color: #f1f1fa !important;
  color: #333 !important;
  border-color: #14a4ec !important;
  font-size: 18px !important;
  padding: 2px 10px 2px 10px;
}

@font-face {
  font-family: 'JustSignature';
  src: url('../fonts/JustSignature.ttf') format('truetype');
}
.signature {
  font-family: 'JustSignature', cursive;
  font-size: 28px;
  font-weight: 600;
  padding: 5px 10px;
  line-height: 0.5;
}

.outline {
  border-radius: 5px !important;
  border: 2px solid #c8ced5 !important;
  padding: 10px !important;
}
/* Styles for hover */


.short-input{ 
  max-width: 280px;
}

.middle-input{ 
  max-width: 400px;
}

.long-input{ 
  max-width: 800px;
}

.board{
  background-color: #f0f0f0;
  padding: 10px;
  border-radius: 5px;
}
.form-sign {
    width: 100%;
    font-size: 2em;
    padding-top: 8px;
    text-indent: 15px;
    font-family:'Homemade Apple', cursive, Helvetica, Arial, sans-serif;
    border-radius: 3px;
    left: 10px;
    border: 1px solid #DEDEDE;
    outline: none;
}

.btn-border {
  border: 1px solid gray;
  border-radius: 4px;
  margin-left: 10px;
  margin-top: 10px;
}


.signature-text {
  width: 100%;
  font-size: 2em;
  color: #000;
  padding-top: 8px;
  text-indent: 15px;
  font-family:'Homemade Apple', cursive, Helvetica, Arial, sans-serif;
  left: 10px;
}


.field {
  padding: 10px;
  margin-right: 30px;
  float: left; 
  position: relative;
  flex-direction: column; 
}

.field-label {
  font-weight: 600;
  color: #000;
  display: block;
}

.field-data {
  display: block;
  margin-top: auto;
} 
.ss-values{
  height: 30px;
}
.ss-value-text{
  font-size: 15px !important;  
}

.sm-card{
  border-radius: 10px;
  background-color: blanchedalmond;
  height: 85px;
  margin: 2px;
}

.sm-card-left{
  padding-top: 10px;
  padding-left: 10px; 
  /* display: inline; */
}
.sm-card-right{
  /* padding-top: 10px; */
  padding-left: 10px; 
  /* display: inline; */
}

/* dashboard cards*/

/* h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
} */

.litle-card {
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.litle-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.litle-card-header .status {
  font-size: 0.8rem;
  font-weight: bold;
  color: #666;
  margin-left: 8px;
}

.routine {
  color: orange;
}

.emergency {
  color: red;
}

.new {
  color: purple;
}

.litle-card-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 4px;
}

.time {
  font-size: 0.9rem;
  color: #999;
}

.litle-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.user-info {
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ddd;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 8px;
}

.user-name {
  font-size: 0.9rem;
  font-weight: bold;
}

.user-phone {
  font-size: 0.8rem;
  color: #999;
}

.view-btn {
  font-size: 0.9rem;
  font-weight: bold;
  color: #00bfa5;
  text-decoration: none;
}



.calendar {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 100%;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-header h2 {
  font-size: 1.1rem;
  font-weight: bold;
}

.calendar-header select {
  padding: 6px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.calendar-days {
  display: flex;
  justify-content: space-around;
  overflow-x: scroll;
  overscroll-behavior: contain;
  /* overflow-x: scroll;   */
}

.day {
  text-align: center;
}

.day span {
  display: block;
  font-size: 0.8rem;
  color: #666;
}

.day .date {
  width: 40px;
  height: 40px;
  line-height: 40px;
  margin: 0 auto;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 30px;
}

.day.active .date {
  background: #14a4ec ;
  color: white;
}

.day .date:hover {
  cursor: pointer;
  background: #e0e0e0;
}

/**/

.metrics-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.metric h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 10px 0;
}

.metric p {
  font-size: 0.9rem;
  color: #666;
}

.metric .value {
  font-size: 2rem;
  font-weight: bold;
  color: #14a4ec ;
}

.metric .progress {
  width: 80%;
  height: 10px;
  background: #e0e0e0;
  border-radius: 5px;
  overflow: hidden;
  margin: 10px 0;
}

.metric .progress .progress-bar {
  height: 100%;
  background: #00bfa5;
}

.metric .progress-bar.calories {
  width: 36%;
}

.metric .progress-bar.fat {
  width: 25%;
}

.metric .progress-bar.pressure {
  width: 75%;
}
.text-desc{
  padding-left:20px;
  white-space: pre-line;
  margin-top: -20px;
}

.overview-container-layout {
            font-family: Arial, sans-serif;
            background-color: #f6f6fa;
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
        }

.overview-container {
  width: 90%;
  max-width: 1200px;
  margin: 20px auto;
}

.overview-header {
  font-size: 1.5rem;																																																																																																																																																																																																																																																																					
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.overview-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.overview-card h2 {
  margin: 10px 0 5px;
  font-size: 1.2rem;
  color: #333;
}

.overview-card p {
  font-size: 1rem;
  color: #777;
  margin: 0;
}

.icon {
  font-size: 2rem;
  color: #888;
  margin-bottom: 10px;
}

.doctors {
  color: #6ab1f7;
}

.nurses {
  color: #4cd5c5;
}

.patients {
  color: #ff86b7;
}

.pharmacists {
  color: #f78f6a;
}

.laboratorists {
  color: #e5d85c;
}

.accountants {
  color: #d88df5;
}

.operations {
  color: #f78a8a;
}

.birth-reports {
  color: #c8d47e;
}

.death-reports {
  color: #888;
}

/* table css*/

.table> :not(caption)>*>*{
  padding: 0;
}

.item-goal  {
  max-height: 45px;
  transition: max-height 0.15s ease-out;
  overflow: hidden;
  /* background: #d5d5d5; */
}

.item-goal.item-show {
  max-height: 500px;
  transition: max-height 0.25s ease-in;
}

.disabled-input{
  background-color: #d0d0d0 ;
  color: #000;
}
.disabled-input:focus{
  background-color: #d0d0d0 ;
  color: #000;
}

/*
* Navbar Avatar Size Override
* Make the profile image in top navbar smaller
******************************************************************************/
.navbar-nav-right .avatar {
  width: auto !important;
  height: auto !important;
}

/*
* Left Navigation Menu Active Item Highlight
* Highlight the active menu item in the sidebar
******************************************************************************/
.menu-vertical .menu-item .menu-link.active {
  background-color: #14a4ec !important;
  color: #ffffff !important;
  font-weight: 600 !important;
}

.menu-vertical .menu-item .menu-link.active i {
  color: #ffffff !important;
}

.menu-vertical .menu-item .menu-link.active div {
  color: #ffffff !important;
}