/* Font */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: url(/font/quicksand.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin */
@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  src: url(/font/quicksand.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  color: #272727;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0;
}

.container {
  padding-top: 50px;
  padding-bottom: 50px;
}

.navbar-header {
  background: linear-gradient(to right, #292b36 60%, #bccbd4 100%);
  width: 100%;
  position: fixed;
  z-index: 100;
  top: 0;
}

.navbar-footer {
  background: #292b36;
  width: 100%;
  position: fixed;
  z-index: 100;
  bottom: 0;
}

.navbar-header .nav-custom-info {
  line-height: 40px;
  color: #ddd;
  white-space: nowrap;
  padding: 0px 10px 0px 10px;
}

.navbar-footer .nav-custom-info {
  line-height: 40px;
  color: #ddd;
  white-space: nowrap;
  padding: 0px 10px 0px 10px;
}

.navbar-footer span {
  color: white;
  text-decoration: underline;
}

.navbar-header .nav-custom-info>span {
  color: #aaa;
}

.floating-timer {
  position: fixed;
  top: 60px;
  left: 10px;
  background: white;
  padding: 5px 10px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.floating-message {
  position: fixed;
  top: 60px;
  right: 10px;
  background-color: rgb(194, 225, 236);
  border: 1px solid rgb(102, 178, 206);
  border-radius: 5px;
  padding: 10px;
  display: flex;
  align-items: center;
  z-index: 1000;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  color: rgb(47, 62, 159);
  cursor: pointer;
}

.hidden {
  display: none;
}

.top-bar {
  background-color: #f5f5f5;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
  font-size: 14px;
}

.info-icon {
  font-style: normal;
  padding-right: 5px;
}

.text-content div {
  line-height: 1.2;
  font-size: 0.9em;
}

.error-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Dimmed background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  /* Ensure it covers other content */
}

.error-message-box {
  background-color: #ffdddd;
  border: 1px solid #aa0000;
  padding: 20px;
  border-radius: 5px;
}

.close-button {
  float: right;
  cursor: pointer;
  border: none;
  background: none;
}

.select2-selection {
  overflow: hidden;
}

.select2-selection__rendered {
  white-space: normal;
  word-break: break-all;
}

.sticky-header {
  position: sticky;
  top: 56px;
  z-index: 100;
  background-color: white;
  padding-top: 10px;
  padding-bottom: 10px;
}

.col-border-right:after {
  content: "";
  background: #007bff;
  position: absolute;
  bottom: 0;
  right: -1px;
  height: calc(100% - 24px);
  width: 2px;
}

.show-more {
  display: none;
}

#show-more-toggle {
  font-size: 12px;
  color: royalblue;
  cursor: pointer;
}

.schedule-selected {
  background-color: #edaf72;
}

.custom-schedule td {
  cursor: pointer;
}

/* CDS Purple Sections */
.cds-card {
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cds-card .card-body {
  padding-bottom: 50px;
}

.cds-header {
  background: linear-gradient(135deg, #7b4397 0%, #9b59b6 100%) !important;
  color: white !important;
  cursor: pointer;
  padding: 12px 15px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.cds-header:hover {
  background: linear-gradient(135deg, #6c3585 0%, #8a4aa5 100%) !important;
}

.cds-header .collapse-icon {
  font-style: normal;
  transition: transform 0.3s ease;
  font-size: 12px;
}

.more-info-btn {
  background-color: #9b59b6;
  border-color: #9b59b6;
  color: white;
  padding: 5px 15px;
  font-size: 14px;
  position: absolute;
  bottom: 15px;
  right: 15px;
}

.more-info-btn:hover {
  background-color: #8a4aa5;
  border-color: #8a4aa5;
  color: white;
}

/* More Information Modal */
.more-info-modal .modal-header {
  background: linear-gradient(135deg, #7b4397 0%, #9b59b6 100%);
  color: white;
  border-bottom: none;
}

.more-info-modal .modal-header .close {
  color: white;
  opacity: 1;
  text-shadow: none;
}

.more-info-modal .modal-header .close:hover {
  opacity: 0.8;
}

.more-info-modal .modal-body {
  background-color: white;
  padding: 20px;
}

.more-info-modal .modal-content {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 8px;
}

.modal-backdrop.show {
  opacity: 0.6;
}

/* NUP Care Plan Content Styling */
.nup-care-plan-content p {
  margin-bottom: 8px;
}

.nup-care-plan-content ul {
  margin-top: 5px;
  margin-bottom: 15px;
  padding-left: 20px;
}

.nup-care-plan-content li {
  margin-bottom: 5px;
}