@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Roboto+Slab:wght@400;700&display=swap");
body {
  font-family: "Roboto", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: #333333;
  background-color: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  margin-top: 0;
}

a {
  color: #004F59;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

h1 {
  font-size: 3rem;
}
@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
}

h2 {
  font-size: 2.25rem;
}
@media (max-width: 768px) {
  h2 {
    font-size: 1.8rem;
  }
}

h3 {
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  h3 {
    font-size: 1.3rem;
  }
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

main {
  flex: 1;
}

.flash {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  font-weight: 500;
}

.flash-notice {
  background-color: rgb(234.7727272727, 242.5, 245.2272727273);
  border: 1px solid #A6C8D4;
}

.flash-alert {
  background-color: rgb(249.0114285714, 152.4457142857, 129.9885714286);
  border: 1px solid #A72608;
}

header {
  width: 100%;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1010;
}

.nav {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  background-color: transparent;
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-brand .brand-text {
  display: inline-block;
  font-family: var(--font-serif, "Roboto Slab", serif);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}

.nav-logo {
  height: 40px;
  width: auto;
  margin-right: 0.75rem;
}

.nav-right-wrapper {
  display: flex;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 0.5rem 0;
  z-index: 1000;
  min-width: 120px;
  margin-top: 0;
}
.dropdown-content a {
  color: #333333;
  text-decoration: none;
  display: block;
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.dropdown-content a:hover {
  background-color: #f1f1f1;
}
.dropdown-content a.active {
  font-weight: bold;
  background-color: #e0e0e0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.nav-link {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

/* Hamburger menu button */
.menu-button-container {
  display: inline-flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  margin-left: 16px;
  width: 24px;
  height: 24px;
}

.menu-button-container span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #333;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.menu-button-container span:nth-child(1) {
  top: 6px;
}

.menu-button-container span:nth-child(2) {
  top: 11px;
}

.menu-button-container span:nth-child(3) {
  top: 16px;
}

.menu-button-container.open span:nth-child(1) {
  top: 11px;
  transform: rotate(135deg);
}

.menu-button-container.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
  /* Scale to zero and fade out for better disappearance */
}

.menu-button-container.open span:nth-child(3) {
  top: 11px;
  transform: rotate(-135deg);
}

.menu-label {
  display: inline-flex;
  align-items: center;
  margin-right: 0;
  font-weight: normal;
  font-size: 0.95rem;
  margin-left: 1.5rem;
}

.mobile-menu {
  display: none;
  width: 100%;
  background-color: #F8F9FA;
}
.mobile-menu.active {
  display: block;
}

.menu-wrapper {
  padding: 4rem 0 2rem 0;
}

.menu-columns {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: space-between;
}

.menu-column {
  min-width: 180px;
  width: auto;
  flex: 0 0 auto;
}
.menu-column:first-child {
  margin-left: 0;
}
.menu-column:last-child {
  margin-right: 0;
}

.menu-category {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #004F59;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 12px;
}
.menu-category .menu-icon {
  margin-right: 0;
  margin-bottom: 8px;
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: flex-start;
}
.menu-category .menu-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  color: #333333;
  text-decoration: none;
  font-size: 15px;
}
.menu-item:hover, .menu-item:focus {
  text-decoration: underline;
}

.action-buttons .icon {
  margin-right: 8px;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
}
.action-buttons .icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .nav {
    align-items: baseline;
  }
  .nav-brand {
    align-items: center;
  }
  .nav-right-wrapper {
    align-items: center;
  }
  .nav-right {
    align-items: center;
  }
  .menu-wrapper {
    padding: 15px 0;
  }
  .menu-columns {
    flex-direction: column;
    gap: 1.5rem;
  }
  .menu-column {
    width: 100%;
  }
  .menu-category {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.5rem 0 0 0;
    margin-bottom: 0.1rem;
    font-weight: 500;
  }
  .menu-category .menu-icon {
    margin-right: 10px;
    margin-bottom: 0;
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: flex-start;
  }
  .menu-item {
    padding: 0.5rem 0 0.5rem 42px;
    font-size: 16px;
    display: block;
    text-decoration: none;
    color: #333333;
  }
  .menu-item:hover {
    color: #66959B;
    background-color: rgba(102, 149, 155, 0.05);
  }
  .action-buttons .btn {
    justify-content: flex-start;
  }
}
.inline-icon {
  width: 1.2em;
  height: 1.2em;
  margin-left: 0.15em;
  transition: transform 0.2s ease-in-out;
  align-self: center;
  vertical-align: middle;
}

.lang-dropdown:hover .inline-icon {
  transform: rotate(180deg);
}

.page-title-section {
  text-align: center;
  padding: 3rem 0 3rem;
}
@media (max-width: 768px) {
  .page-title-section {
    padding: 1.5rem 0 1rem;
  }
}

.page-title {
  font-size: 3rem;
  margin-bottom: 0;
  color: #004F59;
}

.page-subtitle {
  color: #666;
  margin-bottom: 4rem;
  margin-top: 0;
}
@media (max-width: 768px) {
  .page-subtitle {
    margin-bottom: 1.5rem;
  }
}

.desktop-only {
  display: inline-block;
}

@media (max-width: 768px) {
  .dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    min-width: 120px;
    background-color: white;
    z-index: 1001;
  }
  .dropdown:hover .dropdown-content {
    display: block;
  }
  .dropdown-content a {
    padding: 0.75rem 1rem;
  }
  .desktop-only {
    display: none !important;
  }
}
footer {
  background-color: #004F59;
  color: white;
  padding: 3rem 0;
  font-size: 14px;
  margin-top: 8rem;
}
footer .container {
  padding-left: 20px;
  padding-right: 20px;
}
footer a {
  color: white;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

.footer-info .footer-primary {
  margin-bottom: 2rem;
}
.footer-info .footer-primary strong {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-info .footer-primary a {
  opacity: 0.95;
  line-height: 1.6;
}
.footer-info .footer-services {
  margin-bottom: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.footer-info .footer-services .service-item {
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.footer-info .footer-services .service-item .footer-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  vertical-align: -3px;
  opacity: 0.9;
}
.footer-info .footer-services .service-item a {
  font-weight: 500;
}
.footer-info .footer-copyright {
  opacity: 0.7;
  font-size: 0.875rem;
  margin: 0;
}
@media (max-width: 768px) {
  .footer-info .footer-primary {
    margin-bottom: 1.5rem;
  }
  .footer-info .footer-primary strong {
    font-size: 1rem;
  }
  .footer-info .footer-services {
    margin-bottom: 2rem;
    padding-top: 1.25rem;
  }
  .footer-info .footer-services .service-item {
    margin-bottom: 1rem;
    line-height: 1.4;
  }
}

.search-container {
  width: 100%;
  margin: 1.5rem auto;
  position: relative;
  box-sizing: border-box;
  padding: 0;
}
@media (max-width: 768px) {
  .search-container {
    margin: 0.75rem auto 1.5rem;
  }
}

.search-form {
  display: flex;
  width: 100%;
  position: relative;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  padding-right: 130px;
  box-sizing: border-box;
}
.search-input::placeholder {
  color: #999999;
  opacity: 1;
}
.search-input:focus {
  outline: none;
  box-shadow: 0 4px 25px rgba(166, 200, 212, 0.4);
  border-color: #A6C8D4;
}
@media (max-width: 768px) {
  .search-input {
    padding: 0.9rem 0.75rem;
    padding-right: 110px;
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

.search-button {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: linear-gradient(135deg, #004F59 0%, #007580 100%);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1;
  height: 32px;
  font-weight: 600;
}
.search-button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #004F59 0%, #006570 100%);
}

.section-title-sm {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.section-title-md {
  font-size: 1.75rem;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e5e5;
  color: #333333;
  background-color: #D7E5EE;
}
@media (max-width: 768px) {
  .btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    min-width: auto;
    width: 80%;
    max-width: 95%;
  }
}
.btn .icon {
  margin-right: 0.5rem;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .btn .icon {
    font-size: 0.9rem;
    margin-right: 1rem;
  }
}
.btn:hover {
  background-color: rgb(197.1052631579, 217.3684210526, 230.3947368421);
  text-decoration: none;
}

.btn-primary {
  background-color: #66959B;
  color: white;
  border: none;
}
.btn-primary:hover {
  background-color: rgb(81.4229249012, 119.6916996047, 124.5770750988);
}

.btn-secondary {
  background-color: #D7E5EE;
  border: none;
}
.btn-secondary:hover {
  background-color: #A6C8D4;
}

.action-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .action-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.quick-actions-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  width: 100%;
}
@media (max-width: 768px) {
  .quick-actions-wrapper {
    margin-bottom: 1rem;
  }
}

.info-section {
  margin: 2.5rem 0;
}
@media (max-width: 768px) {
  .info-section {
    margin: 1rem 0;
  }
}

.location-link {
  color: #004F59;
  text-decoration: none;
}
.location-link:hover {
  text-decoration: underline;
}

.hours-table {
  width: 100%;
  margin-bottom: 15px;
  border-collapse: separate;
  border-spacing: 0;
}

.hours-row {
  display: flex;
  margin-bottom: 15px;
  height: 60px;
}
@media (max-width: 768px) {
  .hours-row {
    height: auto;
    margin-bottom: 10px;
  }
}

.hours-col {
  width: 120px;
  font-weight: normal;
}
@media (max-width: 768px) {
  .hours-col {
    width: 110px;
  }
}

.hours-days-col {
  flex: 1;
}

.hours-spacer {
  margin-bottom: 25px;
}
@media (max-width: 768px) {
  .hours-spacer {
    margin-bottom: 15px;
  }
}

.hours-section {
  margin-bottom: 20px;
}

.hours-block {
  margin-bottom: 15px;
}

.hours-label {
  font-weight: 700;
  color: #333333;
  margin-bottom: 2px;
}

.hours-time {
  font-weight: normal;
  color: #333333;
  margin-bottom: 4px;
}

.hours-days {
  color: #333333;
}

.location-section {
  margin-bottom: 20px;
}

.location-block {
  margin-bottom: 20px;
}
.location-block div {
  margin-bottom: 5px;
}

.address-link {
  color: #333333;
  text-decoration: underline;
}
.address-link:hover {
  color: #004F59;
}

.contact-block {
  margin-bottom: 20px;
}
.contact-block div {
  margin-bottom: 5px;
}

.contact-link {
  color: #333333;
  text-decoration: none;
}
.contact-link:hover {
  text-decoration: underline;
}
.contact-link.underlined {
  text-decoration: underline;
}

.staff-wrapper {
  width: 100%;
}

.staff-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.staff-title-col {
  flex: 1;
  text-align: center;
  font-weight: normal;
  color: #333333;
}

.staff-photo-col {
  flex: 1;
  text-align: center;
}

.staff-photo {
  width: 100px;
  height: 125px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 8px;
}

.staff-name {
  text-align: center;
  font-weight: 600;
}

.details-wrapper {
  margin-top: auto;
}

.details-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  color: #004F59;
  margin-top: 15px;
}
.details-link::before {
  content: "›";
  margin-right: 0.5rem;
}
.details-link:hover {
  color: #66959B;
  text-decoration: none;
}

#simple-chat-widget {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  background-color: white;
  margin-top: 16px;
}

#chat-messages {
  height: 200px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding: 8px 0;
}

.chat-input-container {
  display: flex;
}

#chat-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

#chat-send-button {
  background-color: #1e88e5;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  font-weight: bold;
}

#api-debug {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

[data-controller=chat] {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  background-color: white;
  margin-top: 20px;
}
[data-controller=chat] h3 {
  color: #666;
  font-size: 16px;
  margin-bottom: 8px;
}

[data-chat-target=messages] {
  height: 200px;
  overflow-y: auto;
  margin-bottom: 12px;
  padding: 8px 0;
}

[data-chat-target=input] {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
  font-size: 14px;
}

[data-chat-target=debug] {
  margin-top: 8px;
  font-size: 12px;
  color: #666;
}

.chat-styled-box {
  border: 1px solid #e0e0e0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  scrollbar-width: thin;
  scrollbar-color: #dadada transparent;
}
.chat-styled-box::-webkit-scrollbar {
  width: 8px;
}
.chat-styled-box::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 8px;
}
.chat-styled-box::-webkit-scrollbar-thumb {
  background: #dadada;
  border-radius: 8px;
  border: 2px solid #f8f8f8;
}
.chat-styled-box::-webkit-scrollbar-thumb:hover {
  background: #c0c0c0;
}

.inline-chat-interface {
  width: 100%;
  max-width: 752px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .mobile-chat-input {
    height: 42px;
    display: flex;
    align-items: center;
    padding: 12px 0.75rem !important;
    min-height: 42px;
  }
  .mobile-chat-input::placeholder {
    position: relative;
    top: 0;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    font-size: 14px !important;
  }
  .mobile-chat-input:focus, .mobile-chat-input:active {
    min-height: 42px;
    height: auto;
  }
}

.chat-textarea {
  resize: none;
  overflow-y: hidden;
  line-height: 1.5;
  min-height: 48px;
  max-height: 200px;
  transition: height 0.2s ease;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: inherit;
  font-size: 1rem;
  margin: 0;
  padding: 12px 1rem !important;
  padding-right: 140px !important;
  box-sizing: border-box;
}
.chat-textarea.expanded {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #dadada transparent;
}
.chat-textarea.expanded::-webkit-scrollbar {
  width: 8px;
}
.chat-textarea.expanded::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 8px;
}
.chat-textarea.expanded::-webkit-scrollbar-thumb {
  background: #dadada;
  border-radius: 8px;
  border: 2px solid #f8f8f8;
}
.chat-textarea.expanded::-webkit-scrollbar-thumb:hover {
  background: #c0c0c0;
}
.chat-textarea:focus {
  outline: none;
  box-shadow: 0 4px 25px rgba(166, 200, 212, 0.4);
  border-color: #A6C8D4;
}

.icon-inline {
  margin-right: 0.5rem;
  vertical-align: middle;
  width: 1.25em !important;
  height: 1.25em !important;
  stroke-width: 2.5;
}
@media (max-width: 768px) {
  .icon-inline {
    width: 1.75em !important;
    height: 1.75em !important;
  }
}

svg.icon-inline,
.alert-title svg,
.info-title svg {
  width: 1.25em !important;
  height: 1.25em !important;
}
@media (max-width: 768px) {
  svg.icon-inline,
  .alert-title svg,
  .info-title svg {
    width: 1.75em !important;
    height: 1.75em !important;
  }
}

.hours-block {
  margin-bottom: 15px;
  padding-left: 2px;
}

.hours-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .hours-row {
    flex-direction: row;
    align-items: baseline;
  }
}

.hours-label {
  font-weight: 600;
  color: #333333;
  margin-right: 10px;
  margin-bottom: 2px;
  display: inline-block;
}
@media (min-width: 768px) {
  .hours-label {
    min-width: 140px;
    margin-bottom: 0;
  }
}

.hours-days {
  color: #333333;
}

.location-block {
  margin-bottom: 15px;
  padding-left: 2px;
}

.location-name {
  color: #333333;
  margin-bottom: 4px;
}

.address-link {
  color: #333333;
  text-decoration: underline;
}
.address-link:hover {
  color: #004F59;
}

.contact-block {
  margin-bottom: 15px;
  padding-left: 2px;
}

.contact-link {
  color: #333333;
  text-decoration: none;
}
.contact-link:hover {
  text-decoration: underline;
}
.contact-link.underlined {
  text-decoration: underline;
}

.details-container {
  margin-top: auto;
  padding-top: 15px;
  margin-bottom: 0;
}

.self-help-item {
  margin-bottom: 20px;
}

.self-help-link-row {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.self-help-emoji {
  font-size: 1.2rem;
  margin-right: 8px;
}

.tool-link {
  color: #004F59;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
}
.tool-link:hover {
  text-decoration: underline;
}

.self-help-description {
  color: #333333;
  font-size: 1rem;
  line-height: 1.4;
  padding-bottom: 1rem;
}
.self-help-description p {
  margin-bottom: 10px;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
  }
}

.page-subtitle {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .page-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
}

.card, .problem-card, .feature-card, .principle-card, .alert-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .card, .problem-card, .feature-card, .principle-card, .alert-card {
    padding: 1.25rem;
    margin-bottom: 1rem;
  }
}
.card.mb-4, .mb-4.problem-card, .mb-4.feature-card, .mb-4.principle-card, .mb-4.alert-card {
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .card.mb-4, .mb-4.problem-card, .mb-4.feature-card, .mb-4.principle-card, .mb-4.alert-card {
    margin-bottom: 1rem;
  }
}

.alert-card {
  background-color: #fff4e6;
  margin-top: 1.5rem; /* Add explicit top margin for spacing between cards */
}
.alert-card .alert-title {
  color: #e05e00;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  /* Icon alignment - same as info-title */
}
.alert-card .alert-title .icon-inline,
.alert-card .alert-title svg.icon-inline,
.alert-card .alert-title > svg {
  width: 1.25em !important;
  height: 1.25em !important;
  margin-right: 8px;
}
@media (max-width: 768px) {
  .alert-card .alert-title .icon-inline,
  .alert-card .alert-title svg.icon-inline,
  .alert-card .alert-title > svg {
    width: 1.75em !important;
    height: 1.75em !important;
  }
}

.step-card, .rule-card {
  display: flex;
  flex-direction: column;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
}
.step-card:last-child, .rule-card:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.step-card .rule-header, .rule-card .rule-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  text-align: left;
}
.step-card .rule-header .rule-number, .rule-card .rule-header .rule-number {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #66959B;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  margin-right: 1rem;
}
.step-card .rule-header h3, .rule-card .rule-header h3 {
  margin: 0;
  color: #333333;
  font-size: 1.2rem;
  line-height: 1.3;
}
.step-card .rule-content, .rule-card .rule-content {
  padding-left: 0;
  text-align: left;
}
.step-card .rule-content p, .rule-card .rule-content p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.step-card .rule-content p:last-child, .rule-card .rule-content p:last-child {
  margin-bottom: 0;
}
.step-card .rule-content h3, .rule-card .rule-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #333333;
  font-size: 1.2rem;
  line-height: 1.3;
}
.step-card .step-number, .rule-card .step-number {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #66959B;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  margin-right: 1rem;
  margin-top: 0;
}
.step-card .step-content, .rule-card .step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.step-card .step-content h4, .rule-card .step-content h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #004F59;
  font-size: 1.2rem;
  line-height: 1.3;
}
.step-card .step-content ul, .rule-card .step-content ul {
  margin-top: 1rem;
}
.step-card .step-content li, .rule-card .step-content li {
  margin-bottom: 0.5rem;
}
.step-card .rule-title, .rule-card .rule-title {
  color: #004F59;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.rule-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.75rem;
  margin-bottom: 2rem;
}
.rule-card:last-child {
  margin-bottom: 0;
}
.rule-card .rule-header {
  margin-bottom: 1rem;
}
.rule-card .rule-header h3 {
  color: #004F59;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.rule-card .rule-content p {
  margin-bottom: 1rem;
  line-height: 1.65;
}
.rule-card .rule-content p:last-child {
  margin-bottom: 0;
}
.rule-card .rule-content strong {
  color: #004F59;
  font-weight: 600;
}

.principle-card {
  background-color: #f8f9fa;
}
.principle-card .principle-title {
  color: #004F59;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1rem;
}

.step-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #eaeaea;
}
.step-card:last-child {
  border-bottom: none;
}
.step-card .step-number {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #66959B;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  margin-right: 1rem;
  margin-top: -3px;
}
.step-card .step-content {
  flex: 1;
}
.step-card .step-content h4 {
  margin: 0 0 0.5rem 0;
  color: #004F59;
  font-size: 1.2rem;
  line-height: 1.3;
}
.step-card .step-content p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.step-card .step-content p:last-child {
  margin-bottom: 0;
}
.step-card .step-content ul {
  margin-top: 0.5rem;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .step-card {
    flex-direction: column;
    align-items: stretch;
  }
  .step-card .step-number {
    margin-right: 0;
    margin-bottom: 1rem;
    margin-top: 0;
    align-self: flex-start;
  }
  .step-card .step-content h4 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
  }
  .step-card .image-container {
    margin-left: 0;
    margin-right: 0;
  }
  .step-card .image-container img {
    width: 100%;
    max-width: none;
  }
}

.feature-card {
  background-color: #f8f9fa;
  margin-bottom: 1.75rem;
}
.feature-card h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #004F59;
  font-size: 1.2rem;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 0.5rem;
}

.problem-card {
  background-color: #f8f9fa;
  margin-bottom: 1.75rem;
}
.problem-card h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #004F59;
  font-size: 1.2rem;
  border-bottom: 1px solid #eaeaea;
  padding-bottom: 0.5rem;
}

.steps-container {
  background-color: #f2f2f2;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
@media (max-width: 768px) {
  .steps-container {
    padding: 1rem;
    margin: 1rem 0;
  }
}
.steps-container h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #004F59;
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  .steps-container h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
}
.steps-container ul {
  padding-left: 1.5rem;
}
@media (max-width: 768px) {
  .steps-container ul {
    padding-left: 1.25rem;
  }
}
.steps-container li {
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .steps-container li {
    margin-bottom: 0.75rem;
  }
}

/**
 * INFO CARDS - Consolidated Styling for Guide Pages Only
 * 
 * This file contains styling for info cards used on guide pages like sick leave, etc.
 * Following BEM methodology for consistent naming and organization.
 * NOTE: These styles ONLY apply to guide pages, NOT to the home page cards.
 *
 * Usage examples:
 * 1. Standard info card: <div class="info-card"><div class="info-title">Title</div>Content</div>
 * 2. Linkable info card: <a class="info-card-link"><div class="info-card">...</div></a>
 * 3. Info notification: <div class="info-card info-card--highlight"><div class="info-title">...</div></div>
 */
/** 
 * Base Info Card 
 * Used for guide pages and patient info sections (NOT home page)
 */
.info-card {
  background-color: #e6f7ff; /* Light blue background */
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  /* Allow for different background colors based on context */
  /* Title - for legacy support, we'll keep both class naming patterns */
  /* Content - for legacy support */
  /* Card with header that has different styling */
  /* Main content for cards with footer */
  /* Footer section */
  /* Typography within info cards */
}
.info-card--white {
  background-color: white;
}
.info-card--light {
  background-color: #f8f9fa;
}
.info-card--highlight {
  background-color: #e6f7ff;
}
.info-card--primary, .info-card.primary-info { /* Legacy style */
  background-color: #e6f7ff;
  margin-top: 1.5rem; /* Add spacing above first card on appointment booking page */
}
.info-card--success {
  background-color: #f0f9eb;
}
.info-card--warning {
  background-color: #fff7e6;
}
.info-card__title,
.info-card .info-title { /* Legacy style */
  color: #0050b3;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  /* Icon alignment - target both the i tag and the SVG that Lucide creates */
}
.info-card__title .icon-inline,
.info-card__title svg.icon-inline,
.info-card__title > svg,
.info-card .info-title .icon-inline,
.info-card .info-title svg.icon-inline,
.info-card .info-title > svg {
  width: 1.25em !important;
  height: 1.25em !important;
  margin-right: 8px;
}
@media (max-width: 768px) {
  .info-card__title .icon-inline,
  .info-card__title svg.icon-inline,
  .info-card__title > svg,
  .info-card .info-title .icon-inline,
  .info-card .info-title svg.icon-inline,
  .info-card .info-title > svg {
    width: 1.75em !important;
    height: 1.75em !important;
  }
}
.info-card__title > svg:first-child,
.info-card .info-title > svg:first-child {
  width: 1.25em !important;
  height: 1.25em !important;
  margin-right: 8px;
}
@media (max-width: 768px) {
  .info-card__title > svg:first-child,
  .info-card .info-title > svg:first-child {
    width: 1.75em !important;
    height: 1.75em !important;
  }
}
.info-card__content,
.info-card .info-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  /* For cards with separated header/content */
}
.info-card__content--padded,
.info-card .info-card-content--padded {
  padding: 1rem;
}
.info-card__header,
.info-card .info-card-title {
  background-color: #f8f9fa;
  margin: 0;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #004F59;
  border-bottom: 1px solid #eaeaea;
  display: flex;
  align-items: center;
}
.info-card .card-main-content {
  flex: 1;
}
.info-card .card-footer {
  margin-top: auto;
  padding-top: 0.75rem;
  margin-top: 1rem;
}
.info-card p {
  margin-bottom: 0.75rem;
  color: var(--color-text, #333333);
  line-height: 1.5;
}
.info-card p:last-child {
  margin-bottom: 0;
}

/**
 * Card layout for grid displays
 * Used on home page and section pages
 */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/**
 * Linkable info cards
 * For cards that are clickable/tappable
 */
.info-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: transform 0.2s;
  /* Ensure paragraph text has correct color */
  /* Ensure title has correct color */
}
.info-card-link:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.info-card-link:hover .info-card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.info-card-link p {
  color: var(--color-text, #333333);
}
.info-card-link .info-card__title,
.info-card-link .info-title,
.info-card-link .info-card-title {
  color: var(--color-accent-dark, #0050b3);
}

/**
 * Special content sections
 * Used for hours display, locations, etc.
 */
.hours-row {
  display: flex;
  margin-bottom: 0.75rem;
}

.hours-col {
  display: flex;
  flex-direction: column;
}

.hours-days-col {
  flex: 1;
}

.hours-spacer {
  height: 1rem;
}

/* Location and contact blocks */
.location-block, .contact-block {
  margin-bottom: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .info-card {
    padding: 1.25rem;
  }
  .info-card__title,
  .info-title {
    font-size: 1rem;
    line-height: 1.4;
  }
  .info-card p {
    font-size: 0.95rem;
  }
  /* Fix for working hours spacing on mobile */
  .hours-row {
    margin-bottom: 1.25rem;
  }
  .hours-spacer {
    height: 1.5rem;
  }
  /* Fix for page title line height */
  .page-title {
    line-height: 1.3;
  }
}
/* Contact and address links now consolidated in _components.scss */
/* Self-help items, quick actions, and other UI components moved to _components.scss */
/**
 * STEP CARDS - Styling for Guide Page Step and Rule Components
 * 
 * This file contains styling for step cards and rule cards used on guide pages
 * Following BEM methodology for consistent naming and organization.
 */
/* Step Card Styles */
.step-card {
  display: flex;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eaeaea;
}
.step-card:last-child {
  border-bottom: none;
}

.step-header {
  display: flex;
  align-items: flex-start;
}

.step-number {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #66959B;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.2rem;
  margin-right: 1rem;
  margin-top: 0;
}

.step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.step-content h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #004F59;
  font-size: 1.2rem;
  line-height: 1.3;
}
.step-content ul {
  margin-top: 1rem;
}
.step-content li {
  margin-bottom: 0.5rem;
}

/**
 * HOME PAGE CARDS
 * 
 * Specific styling for cards used on the home page only.
 * These are separate from the guide page info cards.
 */
.home-info-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fafafa;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e5e5;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-info-card .home-info-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #004F59;
  display: flex;
  align-items: center;
  padding: 1.25rem 1.25rem 0;
}
@media (max-width: 768px) {
  .home-info-card .home-info-card-title {
    margin-bottom: 0;
  }
}
.home-info-card .home-info-card-title .icon-inline {
  margin-right: 0.5rem;
  color: #004F59; /* Match the title color */
}
.home-info-card .home-info-card-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.home-info-card .card-main-content {
  flex: 1;
}
.home-info-card .card-footer {
  margin-top: auto;
  padding-top: 15px;
}

.home-info-card-link {
  text-decoration: none;
  display: block;
}
.home-info-card-link:hover {
  text-decoration: none;
}
.home-info-card-link:hover .home-info-card {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.home-info-card-link p {
  color: #333;
}

.self-help-item {
  margin-bottom: 1rem;
}
.self-help-item:last-child {
  margin-bottom: 0;
}

.self-help-link-row {
  display: flex;
  align-items: flex-end;
  margin-bottom: 0.25rem;
}

.self-help-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: flex-start;
  margin-right: 0.5rem;
  flex-shrink: 0;
}
.self-help-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.self-help-description {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
}

.home-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}
@media (max-width: 768px) {
  .home-info-grid {
    grid-template-columns: 1fr;
  }
}

/**
 * ACTION CARDS - Consolidated Styling for Guide Pages
 * 
 * This file contains styling for action cards used on guide pages.
 * Following BEM methodology for consistent naming and organization.
 */
.action-card {
  background-color: #f0f9eb;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.action-card .action-title {
  color: #389e0d;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.action-card .action-title .icon-inline {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}
.action-card .action-content {
  margin-left: 1.5rem;
}
.action-card .action-content ol {
  margin-top: 0;
  padding-left: 1rem;
}
.action-card .action-content li {
  margin-bottom: 0.5rem;
}

.image-container {
  margin: 1.5rem 0;
  text-align: center;
}
.image-container .responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step-card .step-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}
.step-card .step-header h4 {
  margin: 0;
  color: #004F59;
  font-size: 1.2rem;
  line-height: 1.3;
}

/* Hide original TOC on mobile */
@media (max-width: 991px) {
  .mobile-toc {
    display: none;
  }
}
/* Hide new TOC on desktop */
@media (min-width: 992px) {
  .mobile-toc-wrapper {
    display: none;
  }
}
.image-container {
  margin: 1.5rem 0;
  text-align: left;
}
.image-container.small {
  max-width: 300px;
}

.responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.image-caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

.guide-page-with-toc {
  display: flex;
  flex-direction: column;
}
@media (min-width: 992px) {
  .guide-page-with-toc {
    flex-direction: row;
    gap: 2rem;
  }
}
.guide-page-with-toc .content-wrapper {
  flex: 1;
}

.guide-toc {
  display: none;
}
@media (min-width: 992px) {
  .guide-toc {
    display: block;
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 2rem;
    align-self: flex-start;
    margin-bottom: 0;
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
  }
}

.toc-container {
  border-left: 3px solid #66959B;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.toc-title {
  color: #004F59;
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.toc-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.9rem;
}
.toc-list ul {
  list-style: none;
  padding-left: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.toc-list li {
  margin-bottom: 0.5rem;
}
.toc-list a {
  color: #444;
  text-decoration: none;
  display: inline-block;
  padding: 0.25rem 0;
  transition: color 0.2s;
  word-break: normal;
  overflow-wrap: normal;
  white-space: normal;
}
.toc-list a:hover {
  color: #66959B;
}

.mobile-toc-wrapper {
  margin-bottom: 1.5rem;
}
@media (min-width: 992px) {
  .mobile-toc-wrapper {
    display: none;
  }
}

.mobile-toc-button {
  width: 100%;
  background-color: #fafafa;
  color: #004F59;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-toc-button:hover, .mobile-toc-button.active {
  background-color: #f0f0f0;
}
.mobile-toc-button .chevron-icon {
  transition: transform 0.3s ease;
}

.mobile-toc-content {
  background-color: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-top: none;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  padding: 0.75rem 1rem;
  margin-top: 0.25rem;
}

.guide-detail-page {
  padding: 2rem 0;
}

.content-wrapper {
  max-width: 760px;
  margin: 0 auto;
}

.guide-content {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 1.5rem 0;
  margin-top: 1.5rem;
}
@media (max-width: 768px) {
  .guide-content {
    padding: 1rem;
    margin-top: 1rem;
  }
}
.guide-content .feature-card + h2,
.guide-content .feature-card + h3,
.guide-content .problem-card + h2,
.guide-content .problem-card + h3,
.guide-content .step-card + h2,
.guide-content .step-card + h3,
.guide-content div + h3 {
  margin-top: 2.5rem;
}
@media (max-width: 768px) {
  .guide-content .feature-card + h2,
  .guide-content .feature-card + h3,
  .guide-content .problem-card + h2,
  .guide-content .problem-card + h3,
  .guide-content .step-card + h2,
  .guide-content .step-card + h3,
  .guide-content div + h3 {
    margin-top: 1.75rem;
  }
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #004F59;
  line-height: 1.2;
}
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
    line-height: 1.1;
  }
}

.page-subtitle {
  font-size: 1.1rem;
  color: #333333;
  margin-bottom: 1.5rem;
  margin-top: -0.5rem;
}
@media (max-width: 768px) {
  .page-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
}

.guide-section {
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  .guide-section {
    margin-bottom: 2rem;
  }
}
.guide-section h2 {
  color: #004F59;
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #D7E5EE;
}
@media (max-width: 768px) {
  .guide-section h2 {
    font-size: 1.4rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
  }
}
.guide-section h3 {
  color: #66959B;
  font-size: 1.4rem;
  margin: 2.5rem 0 1.25rem;
}
@media (max-width: 768px) {
  .guide-section h3 {
    font-size: 1.2rem;
    margin: 1.75rem 0 1rem;
  }
}
.guide-section p {
  margin-bottom: 1rem;
  line-height: 1.6;
}
.guide-section ul, .guide-section ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}
.guide-section ul li, .guide-section ol li {
  margin-bottom: 0.5rem;
}

.intro-text {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: #555;
}

.icon-inline {
  margin-right: 0.5rem;
  vertical-align: middle;
  width: 1.25em;
  height: 1.25em;
  stroke-width: 2.5;
}
@media (max-width: 768px) {
  .icon-inline {
    width: 1.75em !important;
    height: 1.75em !important;
  }
}

.booking-additional-info {
  margin-top: 0;
  padding-top: 0;
}
.booking-additional-info p {
  margin-bottom: 1rem;
  line-height: 1.5;
  color: #333333;
  font-size: 1rem;
}
.booking-additional-info .info-link {
  color: #004F59;
  text-decoration: none;
  font-weight: 500;
}
.booking-additional-info .info-link:hover {
  text-decoration: underline;
}
.booking-additional-info .info-card {
  background-color: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}
.booking-additional-info .primary-info {
  background-color: #e6f7ff;
}
.booking-additional-info .info-title {
  color: #0050b3;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.booking-additional-info .alert-card {
  background-color: #fff4e6;
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.booking-additional-info .alert-title {
  color: #e05e00;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.booking-additional-info .icon-inline {
  width: 1.25em;
  height: 1.25em;
  margin-right: 8px;
}
@media (max-width: 768px) {
  .booking-additional-info .icon-inline {
    width: 1.75em !important;
    height: 1.75em !important;
    margin-right: 10px;
  }
}
.booking-additional-info .image-container {
  margin: 2.5rem 0;
  text-align: left;
}
@media (max-width: 768px) {
  .booking-additional-info .image-container {
    margin: 1.75rem 0;
  }
}
.booking-additional-info .image-container + h2, .booking-additional-info .image-container + h3, .booking-additional-info .image-container + h4 {
  margin-top: 3rem !important;
}
@media (max-width: 768px) {
  .booking-additional-info .image-container + h2, .booking-additional-info .image-container + h3, .booking-additional-info .image-container + h4 {
    margin-top: 2rem !important;
  }
}
.booking-additional-info .responsive-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.booking-additional-info .image-caption {
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.75rem;
}

.emergency-notice {
  margin: 2rem 0;
  padding: 1.5rem;
  background: #fff3cd;
  border-left: 4px solid #ffc107;
  border-radius: 4px;
}
.emergency-notice h3 {
  margin-top: 0;
  color: #856404;
}
.emergency-notice p {
  margin-bottom: 0;
  color: #856404;
}

.booking-content {
  margin: 1rem 0 0 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

.iframe-container {
  width: 100%;
  position: relative;
  min-height: 600px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden; /* Keep this to manage potential overflow from iframe itself */
}

.wp-form-iframe {
  width: 100%;
  height: 800px; /* Default height - will be overridden by specific classes */
  border: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden; /* Hide scrollbars */
}

/* Sick leave form - specific height */
.wp-form-iframe--sick-leave {
  height: 2100px; /* Fixed height for sick leave form */
}

/* Booking/appointment form - specific height */
.wp-form-iframe--booking {
  height: 580px; /* Booking form height */
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .wp-form-iframe--sick-leave {
    height: 2500px; /* Mobile height for sick leave */
  }
  .wp-form-iframe--booking {
    height: 610px; /* Mobile height for booking form - with buffer for different devices */
  }
}
/* Loading state styling */
.iframe-loading-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  z-index: 10;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #07a;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-text {
  font-size: 16px;
  color: #333;
  text-align: center;
}

/* Error state styling */
.iframe-error-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  padding: 20px;
  box-sizing: border-box;
  z-index: 10;
}

.error-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.error-title {
  font-size: 20px;
  color: #e53935;
  margin-bottom: 15px;
  text-align: center;
}

.error-contact {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

.retry-button {
  padding: 10px 20px;
  background-color: #07a;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.retry-button:hover {
  background-color: #0689d6;
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 2rem !important;
}

.mb-6 {
  margin-bottom: 2.5rem !important;
}

.mb-7 {
  margin-bottom: 3rem !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-1 {
  margin-top: 0.25rem !important;
}

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 2rem !important;
}

.mt-6 {
  margin-top: 2.5rem !important;
}

.mt-7 {
  margin-top: 3rem !important;
}

.ml-0 {
  margin-left: 0 !important;
}

.ml-1 {
  margin-left: 0.25rem !important;
}

.ml-2 {
  margin-left: 0.5rem !important;
}

.ml-3 {
  margin-left: 1rem !important;
}

.ml-4 {
  margin-left: 1.5rem !important;
}

.ml-5 {
  margin-left: 2rem !important;
}

.mr-0 {
  margin-right: 0 !important;
}

.mr-1 {
  margin-right: 0.25rem !important;
}

.mr-2 {
  margin-right: 0.5rem !important;
}

.mr-3 {
  margin-right: 1rem !important;
}

.mr-4 {
  margin-right: 1.5rem !important;
}

.mr-5 {
  margin-right: 2rem !important;
}

.spacing-md {
  margin-bottom: 25px !important;
}

/* FAQ Accordion Styles */
/* FAQ Category Headings */
.content-section h2 {
  font-size: 1.75rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

/* First section should not have top margin */
.content-section:first-of-type h2 {
  margin-top: 0;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 4px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border: 1px solid #dee2e6;
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  background-color: #f8f9fa;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.accordion-header:hover {
  background-color: #D7E5EE;
}

.accordion-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 400;
  color: #333333;
  flex: 1;
}

.accordion-title {
  font-size: 1.25rem;
  font-weight: 400;
  color: #004F59;
  margin: 0;
}

.accordion-icon {
  color: #66959B;
  transition: transform 0.3s;
}

.accordion-content {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
  padding: 1rem 1.5rem 1.5rem;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* FAQ Content Links */
.accordion-content a {
  text-decoration: underline;
}

/* FAQ Search Styles */
.faq-search-container {
  margin: 2rem 0;
  padding: 1.5rem;
  background-color: #f8f9fa;
  border-radius: 4px;
  border: 1px solid #dee2e6;
}

.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.faq-search-input {
  flex: 1;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #ffffff;
  transition: border-color 0.2s ease;
}
.faq-search-input:focus {
  outline: none;
  border-color: #66959B;
  box-shadow: 0 0 0 2px rgba(102, 149, 155, 0.1);
}
.faq-search-input::placeholder {
  color: #6c757d;
}

.search-clear-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6c757d;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.search-clear-btn:hover {
  background-color: #D7E5EE;
  color: #333333;
}

.search-results-info {
  margin-top: 0.75rem;
}

.results-count {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 500;
}

.no-results-message {
  margin-top: 1rem;
  padding: 1rem;
  background-color: #D7E5EE;
  border-radius: 4px;
  border-left: 4px solid #004F59;
}
.no-results-message p {
  margin: 0;
  color: #6c757d;
  font-style: italic;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .faq-search-container {
    margin: 1rem 0;
    padding: 1rem;
  }
  .faq-search-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}
.map-container {
  margin: 1.5rem 0;
}
.map-container iframe {
  border: 0;
  border-radius: 8px;
  display: block;
}

.video-container {
  margin: 1.5rem 0;
}
.video-container iframe {
  border: 0;
  border-radius: 8px;
  display: block;
}

/* Emoji Toolbar Styles */
.emoji-toolbar {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f8f8f8;
  margin-bottom: 8px;
}

.emoji-feedback {
  flex: 1;
  font-size: 12px;
  color: #666;
  transition: opacity 0.3s ease;
}

.emoji-feedback.active {
  font-weight: bold;
  color: #4a4a4a;
}

.emoji-buttons {
  display: flex;
  gap: 6px;
}

.emoji-button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.emoji-button:hover {
  background-color: #e9e9e9;
}

.format-button {
  background: none;
  border: 1px solid #ddd;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.format-button:hover {
  background-color: #e9e9e9;
}

#mobileChatModal .mobile-user-message {
  margin-bottom: 16px;
  padding: 12px 16px;
  max-width: 85%;
  margin-left: auto;
  margin-right: 0;
  background-color: #e8e8e8;
  color: #333333;
  border-radius: 18px 18px 0 18px;
  text-align: right;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  box-sizing: border-box;
}
#mobileChatModal .mobile-user-message pre {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 400px;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0.5rem 0;
}
#mobileChatModal .mobile-user-message pre code {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
}
#mobileChatModal .mobile-user-message code:not(pre code) {
  display: inline;
  overflow-wrap: break-word;
  word-break: break-word;
}
#mobileChatModal .mobile-ai-message {
  margin-bottom: 16px;
  padding: 12px 16px;
  max-width: 85%;
  margin-right: auto;
  margin-left: 0;
  background-color: rgb(200, 220, 235);
  color: #333333;
  border-radius: 18px 18px 18px 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  font-size: 16px;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
}
#mobileChatModal .mobile-ai-message pre {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 400px;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0.5rem 0;
}
#mobileChatModal .mobile-ai-message pre code {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
}
#mobileChatModal .mobile-ai-message code:not(pre code) {
  display: inline;
  overflow-wrap: break-word;
  word-break: break-word;
}

.mobile-chat-button {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2147483648;
  isolation: isolate;
  background: linear-gradient(135deg, #004F59 0%, #007580 100%);
  color: white;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-weight: 500;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  padding: 8px 16px;
  transition: all 0.2s ease;
  cursor: pointer;
}
@media (max-width: 768px) {
  .mobile-chat-button.visible {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.mobile-chat-button:hover, .mobile-chat-button:active {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  background: linear-gradient(135deg, #004F59 0%, #006570 100%);
}
.mobile-chat-button svg {
  color: white;
}

.inline-chat-interface {
  margin-bottom: 2rem;
  width: 100%;
  max-width: 752px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .inline-chat-interface {
    margin-bottom: 1rem;
  }
}
@media (max-width: 768px) {
  .inline-chat-interface .chat-window {
    display: none !important;
  }
}

.chat-window {
  transition: all 0.3s ease;
  margin-bottom: 1.5rem;
  width: 100%;
  box-sizing: border-box;
  display: none;
  overflow-y: auto;
  padding: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #dadada transparent;
}
.chat-window.visible {
  display: flex;
  flex-direction: column;
  height: clamp(300px, 50vh, 700px);
  max-height: clamp(300px, 50vh, 700px);
}
@supports (height: 50dvh) {
  .chat-window.visible {
    height: clamp(300px, 50dvh, 700px);
    max-height: clamp(300px, 50dvh, 700px);
  }
}
.chat-window::-webkit-scrollbar {
  width: 8px;
}
.chat-window::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 8px;
}
.chat-window::-webkit-scrollbar-thumb {
  background: #dadada;
  border-radius: 8px;
  border: 2px solid #f8f8f8;
}
.chat-window::-webkit-scrollbar-thumb:hover {
  background: #c0c0c0;
}

.chat-messages {
  padding: 0.5rem;
}
.chat-window.visible .chat-messages {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.user-message, .ai-message {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  max-width: 80%;
  word-wrap: break-word;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.inline-chat-interface .user-message,
.chat-messages .user-message {
  background-color: #e8e8e8 !important;
  margin-left: auto;
  text-align: right;
  border-radius: 18px 18px 0 18px;
}
.inline-chat-interface .user-message pre,
.chat-messages .user-message pre {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 400px;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0.5rem 0;
}
.inline-chat-interface .user-message pre code,
.chat-messages .user-message pre code {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
}
.inline-chat-interface .user-message code:not(pre code),
.chat-messages .user-message code:not(pre code) {
  display: inline;
  overflow-wrap: break-word;
  word-break: break-word;
}

.inline-chat-interface .ai-message,
.chat-messages .ai-message {
  background-color: rgb(200, 220, 235) !important;
  margin-right: auto;
  border-radius: 18px 18px 18px 0;
  text-align: left !important;
}
.inline-chat-interface .ai-message pre,
.chat-messages .ai-message pre {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 400px;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0.5rem 0;
}
.inline-chat-interface .ai-message pre code,
.chat-messages .ai-message pre code {
  display: block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: pre-wrap;
}
.inline-chat-interface .ai-message code:not(pre code),
.chat-messages .ai-message code:not(pre code) {
  display: inline;
  overflow-wrap: break-word;
  word-break: break-word;
}
.inline-chat-interface .ai-message a,
.chat-messages .ai-message a {
  color: #005570 !important;
  text-decoration: underline !important;
  font-weight: 500;
  transition: color 0.2s ease;
}
.inline-chat-interface .ai-message a:hover,
.chat-messages .ai-message a:hover {
  color: #004F59 !important;
  text-decoration: underline !important;
}
.inline-chat-interface .ai-message table,
.chat-messages .ai-message table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 4px;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  overflow: hidden;
}
.inline-chat-interface .ai-message thead,
.chat-messages .ai-message thead {
  background: rgba(0, 79, 89, 0.12);
}
.inline-chat-interface .ai-message th,
.inline-chat-interface .ai-message td,
.chat-messages .ai-message th,
.chat-messages .ai-message td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 79, 89, 0.08);
  font-size: 0.95rem;
  line-height: 1.5;
}
.inline-chat-interface .ai-message th,
.chat-messages .ai-message th {
  font-weight: 600;
  color: #004F59;
}
.inline-chat-interface .ai-message tr:last-child td,
.chat-messages .ai-message tr:last-child td {
  border-bottom: none;
}
.inline-chat-interface .ai-message tbody tr:nth-child(even),
.chat-messages .ai-message tbody tr:nth-child(even) {
  background: rgba(0, 79, 89, 0.05);
}

.inline-chat-interface .chat-loading,
.chat-messages .chat-loading {
  font-style: italic;
  color: #777;
  margin: 0.5rem 0;
  background-color: rgb(200, 220, 235) !important;
  border-radius: 18px 18px 18px 0;
  padding: 0.75rem 1rem;
  max-width: 80%;
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-container {
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  margin: 2rem 0;
}

.search-form {
  width: 100%;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.search-input.chat-textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.loading-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-top-color: #666;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.mobile-chat-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  transform: translateZ(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e0e0e0;
}

.modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.modal-close-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  margin: 0;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.modal-close-button:hover {
  background-color: #f0f0f0;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
}

.modal-messages-area {
  padding: 0;
  margin: 0;
  min-height: 100%;
}

.modal-footer {
  padding: 0.75rem;
  border-top: 1px solid #e0e0e0;
  background-color: #f8f8f8;
}

.modal-form {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.modal-send-button {
  min-width: 64px;
  height: 36px;
  margin-top: 0.25rem;
}

.modal-form .chat-textarea {
  resize: none;
  min-height: 36px;
  max-height: 120px;
  padding: 0.5rem;
  border-radius: 18px;
  border: 1px solid #ccc;
  outline: none;
  transition: all 0.2s ease;
}
.modal-form .chat-textarea:focus {
  border-color: #5a9cd8;
  box-shadow: 0 0 0 2px rgba(90, 156, 216, 0.2);
}

.back-to-top {
  position: fixed !important;
  bottom: 30px !important;
  right: 30px !important;
  width: 44px !important;
  height: 44px !important;
  background-color: #66959b !important; /* Using the teal accent color */
  color: white !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999999 !important;
  isolation: isolate !important;
  border-width: 0 !important;
  pointer-events: auto !important;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #006a78; /* Lighter shade of the accent color */
}

.back-to-top:active {
  transform: scale(0.95);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .back-to-top {
    width: 40px !important;
    height: 40px !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9999999 !important;
  }
}
.back-to-top-icon {
  width: 20px;
  height: 20px;
  color: white;
}

.action-cell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  height: 100%;
  align-items: center;
}
@media (max-width: 768px) {
  .action-cell {
    flex-direction: column;
    gap: 0.35rem;
    align-items: stretch;
    height: auto;
  }
}

.action-link {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  background-color: #e9f5f8;
  color: #004F59;
  border-radius: 4px;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
  text-align: center;
  border: 1px solid #d0e6ea;
  font-weight: 500;
  min-width: 60px;
  box-sizing: border-box;
}
.action-link:hover {
  background-color: rgb(213.6551724138, 236.2068965517, 241.8448275862);
}
.action-link--delete {
  background-color: #ffede6;
  color: #A72608;
  border-color: #ffdacb;
}
.action-link--delete:hover {
  background-color: rgb(255, 218.64, 204.5);
}
@media (max-width: 768px) {
  .action-link {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 0.25rem 0;
    padding: 0.6rem 0.5rem;
    min-width: unset;
    font-size: 0.8rem;
    letter-spacing: 0.01em;
    overflow: visible;
    white-space: normal;
  }
}

.page-title-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hzzo-badge-superscript, .private-badge-superscript {
  position: relative;
  margin-left: 0.4rem;
  font-size: 0.32em;
  padding: 0.25em 0.5em;
  border-radius: 3px;
  color: white;
  font-weight: 600;
  display: inline-block;
  vertical-align: top;
  line-height: 1;
  letter-spacing: 0.03em;
}

.hzzo-badge-superscript {
  background: linear-gradient(135deg, #5e2c8a 0%, #e6007e 100%);
}

.private-badge-superscript {
  background: linear-gradient(135deg, #0078c8 0%, #00b4aa 100%);
}

@media (max-width: 768px) {
  .page-title {
    position: relative;
    padding-top: 1.5rem;
  }
  .page-title:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.5rem;
  }
  .hzzo-badge-superscript,
  .private-badge-superscript {
    position: absolute;
    top: 0;
    display: inline-block;
    margin: 0;
    vertical-align: baseline;
  }
  .hzzo-badge-superscript {
    left: 0;
  }
  .hzzo-badge-superscript + .private-badge-superscript {
    left: 4.5em;
  }
}
.breadcrumbs {
  margin-bottom: 1.5rem;
}
.breadcrumbs a {
  color: #66959B;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
}
.breadcrumbs a::before {
  content: "←";
  margin-right: 0.5rem;
}
.breadcrumbs a:hover {
  color: #004F59;
}

.hours-summary {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin: 2rem 0;
}
@media (max-width: 768px) {
  .hours-summary {
    flex-direction: column;
    gap: 1rem;
  }
}

.service-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.service-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  border-left: 4px solid #66959B;
}
.service-card h3 {
  display: flex;
  align-items: center;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: #004F59;
}
.service-card h3 .icon {
  margin-right: 0.75rem;
}

.note-section {
  margin: 3rem 0;
}

.note-card {
  background-color: #D7E5EE;
  border-radius: 8px;
  padding: 1.5rem;
}
.note-card .note-title {
  font-weight: 600;
  margin-bottom: 1rem;
  color: #004F59;
  display: flex;
  align-items: center;
}
.note-card .note-title .icon {
  margin-right: 0.75rem;
}

.workday-schedule {
  margin: 2rem 0;
  border-collapse: collapse;
  width: 100%;
}
.workday-schedule th, .workday-schedule td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.workday-schedule th {
  background-color: #D7E5EE;
  color: #004F59;
  font-weight: 500;
}
.workday-schedule tr:nth-child(even) {
  background-color: rgba(215, 229, 238, 0.3);
}
.workday-schedule .time-column {
  font-weight: 500;
  white-space: nowrap;
}

.guide-container {
  display: flex;
  gap: 2rem;
  margin: 2rem 0;
}
@media (max-width: 768px) {
  .guide-container {
    flex-direction: column;
  }
}

.guide-sidebar {
  flex: 0 0 300px;
  background: white;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  border: 1px solid #e5e5e5;
}
@media (max-width: 768px) {
  .guide-sidebar {
    flex: auto;
  }
}

.guide-content-main {
  flex: 1;
}

.guide-category {
  margin-bottom: 1.5rem;
}

.guide-category-title {
  font-size: 1.25rem;
  color: #004F59;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}
.guide-category-title .icon {
  margin-right: 0.5rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-links {
  list-style: none;
  padding: 0;
  margin: 0 0 0 1.75rem;
}
.guide-links li {
  margin-bottom: 0.5rem;
}
.guide-links a {
  color: #333333;
  text-decoration: none;
  transition: color 0.2s;
}
.guide-links a:hover {
  color: #66959B;
}
.guide-links a.active {
  color: #66959B;
  font-weight: 500;
}

.page-subtitle {
  font-size: 1rem;
  color: #333333;
  margin-bottom: 1.5rem;
  margin-top: 0rem;
}

.working-hours-summary {
  margin-bottom: 2rem;
  padding: 0;
  font-size: 1.05rem;
}
.working-hours-summary p {
  margin: 0 0 0.8rem 0;
  line-height: 1.5;
}
.working-hours-summary strong {
  color: #004F59;
  font-weight: 700;
}
.working-hours-summary small {
  display: block;
  margin-top: 0.5rem;
  color: #6c757d;
}

.shifts-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
}

.shift-block {
  flex: 1;
  min-width: 300px;
}

.working-hours-days {
  font-weight: 500 !important;
  margin-bottom: 1rem;
}

.shift-title,
.explanations-title {
  margin-top: 0;
  margin-bottom: 0;
  color: #66959B;
  font-size: 1.4rem;
  font-weight: 600;
  padding-bottom: 0;
  border-top: none !important;
  border-bottom: none !important;
}
.shift-title:not(:first-of-type),
.explanations-title:not(:first-of-type) {
  margin-top: 0;
  padding-top: 0;
}

.timeline {
  margin-top: 1rem;
  list-style: none;
  padding-left: 1.5rem;
  margin-bottom: 2rem;
  margin-left: 0.25rem;
  position: relative;
  border-left: 1px solid #e9ecef;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background-color: #A6C8D4;
}
.timeline li {
  margin-bottom: calc(0.6rem + var(--duration-minutes, 60) * 0.01rem);
  position: relative;
  padding-left: 1rem;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: calc(-1.5rem - 4px);
  top: 0.5rem;
  width: 10px;
  height: 10px;
  background-color: #66959B;
  border-radius: 50%;
  z-index: 1;
}
.timeline li:last-child, .timeline li[style*="--duration-minutes: 0"] {
  margin-bottom: 0;
}
.timeline li:last-child .time, .timeline li[style*="--duration-minutes: 0"] .time {
  display: inline-block;
}
.timeline .time {
  font-weight: 600;
  display: inline-block;
  min-width: 90px;
  color: #333333;
}
.timeline .activity {
  color: #333333;
}
.timeline .activity a {
  color: inherit;
  text-decoration: none;
}
.timeline .activity a:hover {
  text-decoration: underline;
}

.shift-block:first-of-type .timeline li:nth-child(1) {
  --duration-minutes: 60;
}
.shift-block:first-of-type .timeline li:nth-child(2) {
  --duration-minutes: 60;
}
.shift-block:first-of-type .timeline li:nth-child(3) {
  --duration-minutes: 60;
}
.shift-block:first-of-type .timeline li:nth-child(4) {
  --duration-minutes: 30;
}
.shift-block:first-of-type .timeline li:nth-child(5) {
  --duration-minutes: 90;
}
.shift-block:first-of-type .timeline li:nth-child(6) {
  --duration-minutes: 60;
}
.shift-block:first-of-type .timeline li:nth-child(7) {
  --duration-minutes: 30;
}
.shift-block:first-of-type .timeline li:nth-child(8) {
  --duration-minutes: 60;
}
.shift-block:first-of-type .timeline li:nth-child(9) {
  --duration-minutes: 0;
}

.shift-block:last-of-type .timeline li:nth-child(1) {
  --duration-minutes: 30;
}
.shift-block:last-of-type .timeline li:nth-child(2) {
  --duration-minutes: 60;
}
.shift-block:last-of-type .timeline li:nth-child(3) {
  --duration-minutes: 90;
}
.shift-block:last-of-type .timeline li:nth-child(4) {
  --duration-minutes: 30;
}
.shift-block:last-of-type .timeline li:nth-child(5) {
  --duration-minutes: 90;
}
.shift-block:last-of-type .timeline li:nth-child(6) {
  --duration-minutes: 60;
}
.shift-block:last-of-type .timeline li:nth-child(7) {
  --duration-minutes: 30;
}
.shift-block:last-of-type .timeline li:nth-child(8) {
  --duration-minutes: 60;
}
.shift-block:last-of-type .timeline li:nth-child(9) {
  --duration-minutes: 0;
}

.explanations {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.days-highlight {
  font-weight: 600;
  color: #666666;
}

.explanations-title {
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: #004F59;
}

.explanation-item {
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  background-color: #F8F9FA;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.explanation-item h3 {
  margin-top: 0;
  color: #004f59;
  font-size: 1.2rem;
}
.explanation-item p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.explanation-item p a {
  color: #004F59;
  text-decoration: underline;
}
.explanation-item p a:hover {
  color: rgb(0, 33.7303370787, 38);
}

.guide-content {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.shift-divider {
  display: none !important;
}

.emergency-note {
  margin-top: 3rem;
  padding: 1rem 1.5rem;
  background-color: #ffede6;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.emergency-note h3 {
  margin-top: 0;
  color: #A72608;
}

@media (max-width: 768px) {
  .shifts-wrapper {
    flex-direction: column;
    gap: 1rem;
  }
  .shift-block {
    width: 100%;
  }
  .timeline {
    padding-left: 1rem;
  }
  .timeline li {
    padding-left: 1rem;
    margin-bottom: calc(0.8rem + var(--duration-minutes, 60) * 0.005rem);
  }
  .timeline li::before {
    left: calc(-1rem - 4px);
    top: 0.25rem;
  }
  .timeline .time {
    display: block;
    margin-bottom: 0.25rem;
    min-width: auto;
  }
  .timeline .activity {
    display: block;
    padding-left: 0;
  }
  .shift-title,
  .explanations-title {
    font-size: 1.3rem;
  }
  .shift-title:not(:first-of-type),
  .explanations-title:not(:first-of-type) {
    margin-top: 2rem;
  }
}
.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.admin-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
}

.admin-title {
  font-size: 2rem;
  color: #004F59;
  margin-bottom: 0.5rem;
}

.admin-subtitle {
  color: #666;
  font-size: 1.1rem;
}

.admin-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-nav-item {
  padding: 0.5rem 1rem;
  background-color: #D7E5EE;
  color: #004F59;
  border-radius: 4px;
  text-decoration: none;
}
.admin-nav-item:hover {
  background-color: #A6C8D4;
}
.admin-nav-item.active {
  background-color: #004F59;
  color: white;
}

.simple-table-container {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 2rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.simple-table {
  width: 100%;
  border-collapse: collapse;
}
.simple-table th, .simple-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e0e0e0;
}
.simple-table th {
  background-color: #f5f9fa;
  color: #004F59;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 2px solid #e0e0e0;
}
.simple-table tr:hover {
  background-color: rgba(215, 229, 238, 0.15);
}
.simple-table .actions-column {
  text-align: center;
  min-width: 150px;
}
.simple-table .actions-cell {
  text-align: center;
  white-space: nowrap;
}
.simple-table .action-button {
  display: inline-block;
  padding: 5px 10px;
  margin: 0 3px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}
.simple-table .action-button.edit {
  background-color: #e9f5f8;
  color: #004F59;
}
.simple-table .action-button.delete {
  background-color: #ffede6;
  color: #A72608;
}
.simple-table .table-link {
  color: #004F59;
  text-decoration: none;
}
.simple-table .table-link:hover {
  text-decoration: underline;
}
.simple-table .empty-message {
  text-align: center;
  padding: 20px;
  color: #666;
  font-style: italic;
}
@media (max-width: 768px) {
  .simple-table th, .simple-table td {
    padding: 10px;
    font-size: 0.85rem;
  }
  .simple-table th:nth-child(4), .simple-table td:nth-child(4) {
    display: none;
  }
}

.status-badge {
  display: inline-block;
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
}
.status-badge--active {
  background-color: #e3f7e9;
  color: #0a7b31;
  border: 1px solid #c5e9d1;
}
.status-badge--inactive {
  background-color: #f5f5f5;
  color: #666;
  border: 1px solid #e0e0e0;
}
.status-badge--info {
  background-color: #e9f5f8;
  color: #004F59;
  border: 1px solid #d0e6ea;
}
.status-badge--warning {
  background-color: #fff4e6;
  color: #995200;
  border: 1px solid #ffe4c2;
}
.status-badge--alert {
  background-color: #ffede6;
  color: #A72608;
  border: 1px solid #ffdacb;
}
.status-badge--default {
  background-color: #f5f5f5;
  color: #666;
  border: 1px solid #e0e0e0;
}
@media (max-width: 768px) {
  .status-badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
}

.admin-form {
  max-width: 800px;
  margin-bottom: 2rem;
}
.admin-form .field {
  margin-bottom: 1.5rem;
}
.admin-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333333;
}
.admin-form input[type=text],
.admin-form input[type=email],
.admin-form input[type=password],
.admin-form input[type=url],
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: "Roboto", sans-serif;
}
.admin-form input[type=text]:focus,
.admin-form input[type=email]:focus,
.admin-form input[type=password]:focus,
.admin-form input[type=url]:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  outline: none;
  border-color: #A6C8D4;
  box-shadow: 0 0 0 2px rgba(166, 200, 212, 0.2);
}
.admin-form textarea {
  min-height: 150px;
}
.admin-form .hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: #666;
}
.admin-form .form-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
}

.admin-btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  border: none;
}
.admin-btn.primary {
  background-color: #004F59;
  color: white;
}
.admin-btn.primary:hover {
  background-color: rgb(0, 56.3651685393, 63.5);
}
.admin-btn.secondary {
  background-color: #D7E5EE;
  color: #004F59;
  border: 1px solid #A6C8D4;
}
.admin-btn.secondary:hover {
  background-color: #A6C8D4;
}
.admin-btn.danger {
  background-color: #f44336;
  color: white;
}
.admin-btn.danger:hover {
  background-color: rgb(242.6768867925, 44.3867924528, 29.8231132075);
}

.admin-announcement-form {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.admin-announcement-form .form-group {
  margin-bottom: 1.5rem;
}
.admin-announcement-form label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333333;
}
.admin-announcement-form input[type=text],
.admin-announcement-form input[type=url],
.admin-announcement-form textarea,
.admin-announcement-form select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
  max-width: 100%;
}
.admin-announcement-form input[type=text]:focus,
.admin-announcement-form input[type=url]:focus,
.admin-announcement-form textarea:focus,
.admin-announcement-form select:focus {
  outline: none;
  border-color: #A6C8D4;
  box-shadow: 0 0 0 2px rgba(166, 200, 212, 0.2);
}
.admin-announcement-form textarea {
  min-height: 150px;
  resize: vertical;
}
.admin-announcement-form .checkbox-group {
  display: flex;
  align-items: center;
}
.admin-announcement-form .checkbox-group input[type=checkbox] {
  margin-right: 0.5rem;
}
.admin-announcement-form .form-row {
  display: flex;
  margin-bottom: 1.5rem;
  box-sizing: border-box;
  width: 100%;
}
@media (max-width: 768px) {
  .admin-announcement-form .form-row {
    flex-direction: column;
  }
}
.admin-announcement-form .form-row .form-label {
  flex: 0 0 25%;
  padding-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .admin-announcement-form .form-row .form-label {
    justify-content: flex-start;
    margin-bottom: 0.5rem;
    width: 100%;
  }
}
.admin-announcement-form .form-row .form-field {
  flex: 0 0 75%;
  box-sizing: border-box;
  max-width: 75%;
}
@media (max-width: 768px) {
  .admin-announcement-form .form-row .form-field {
    width: 100%;
    max-width: 100%;
  }
}
.admin-announcement-form .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}
.admin-announcement-form .form-actions .btn {
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}
.admin-announcement-form .form-actions .btn-cancel {
  background-color: white;
  color: #333333;
  border: 1px solid #ddd;
}
.admin-announcement-form .form-actions .btn-cancel:hover {
  background-color: #f5f5f5;
}
.admin-announcement-form .form-actions .btn-save {
  background-color: #004F59;
  color: white;
  border: none;
}
.admin-announcement-form .form-actions .btn-save:hover {
  background-color: rgb(0, 56.3651685393, 63.5);
}
.admin-announcement-form .form-note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.25rem;
}
.admin-announcement-form #error_explanation {
  background-color: #fdeded;
  border: 1px solid #f8c4c4;
  color: #b91c1c;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.admin-announcement-form #error_explanation h2 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.admin-announcement-form #error_explanation ul {
  list-style-type: disc;
  margin-left: 1.5rem;
}

.emoji-toolbar {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background-color: #f8f9fa;
  border-radius: 4px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}
.emoji-toolbar .emoji-button {
  background: none;
  border: none;
  font-size: 1.2rem;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  border-radius: 4px;
  margin: 0 0.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.emoji-toolbar .emoji-button:hover {
  background-color: rgba(166, 200, 212, 0.2);
}
.emoji-toolbar .emoji-button.font-bold {
  font-weight: bold;
  font-size: 1rem;
}
.emoji-toolbar .emoji-feedback {
  margin-left: 1rem;
  color: #6c757d;
  font-size: 0.85rem;
}

.announcement-form .style-selector {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
.announcement-form .style-selector .style-option {
  padding: 1rem;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
}
.announcement-form .style-selector .style-option.selected {
  border-color: #66959B;
}
.announcement-form .style-selector .style-option.info {
  background-color: #D7E5EE;
}
.announcement-form .style-selector .style-option.warning {
  background-color: #fff3cd;
}
.announcement-form .style-selector .style-option.alert {
  background-color: #f8d7da;
}

.announcement-bar {
  padding: 2rem 0 1.25rem;
  position: relative;
  color: #333333;
}
.announcement-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.announcement-bar .announcement-content {
  flex: 1;
  min-width: 0;
}
.announcement-bar .announcement-action {
  margin-left: 1rem;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .announcement-bar {
    padding: 1.4rem 0 0.85rem;
  }
  .announcement-bar .container {
    flex-direction: column;
    align-items: flex-start;
    box-sizing: border-box;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .announcement-bar .announcement-content {
    max-width: 100%;
    margin-bottom: 0.5rem;
  }
  .announcement-bar p {
    line-height: 1.382;
    font-size: 0.875rem;
    letter-spacing: 0.01em;
  }
  .announcement-bar .announcement-action {
    margin-left: 0;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
    align-self: flex-start;
    width: auto;
    padding-left: 0;
  }
  .announcement-bar .learn-more {
    display: inline-block;
    width: auto;
    text-align: center;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 3px;
  }
}
.announcement-bar p {
  margin: 0;
  padding: 0;
  text-align: left;
  line-height: 1.5;
}
.announcement-bar .learn-more {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}
.announcement-bar.style-info {
  background-color: #eceff1;
}
.announcement-bar.style-info .learn-more {
  background-color: #66959B;
  color: white;
}
.announcement-bar.style-info .learn-more:hover {
  background-color: rgb(91.5019762846, 134.5079051383, 139.9980237154);
}
.announcement-bar.style-warning {
  background-color: #fff4e6;
}
.announcement-bar.style-warning .learn-more {
  background-color: #004f59;
  color: white;
}
.announcement-bar.style-warning .learn-more:hover {
  background-color: rgb(0, 101.6348314607, 114.5);
}
.announcement-bar.style-alert {
  background-color: #ffede6;
}
.announcement-bar.style-alert .learn-more {
  background-color: #a72608;
  color: white;
}
.announcement-bar.style-alert .learn-more:hover {
  background-color: rgb(191.3342857143, 43.5371428571, 9.1657142857);
}

.admin-auth-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: calc(100vh - 120px);
  padding: 2rem 1rem;
}

.admin-auth-box {
  width: 100%;
  max-width: 450px;
  background-color: white;
  border-radius: 4px;
  border: 1px solid #dee2e6;
  padding: 2rem;
  margin-top: 2rem;
  box-sizing: border-box;
  overflow: hidden;
}
@media (max-width: 768px) {
  .admin-auth-box {
    padding: 1.5rem;
  }
}

.admin-auth-title {
  color: #004F59;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.admin-auth-form .form-group {
  margin-bottom: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}
.admin-auth-form .form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333333;
}
.admin-auth-form .form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  font-size: 1rem;
  font-family: "Roboto", sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  max-width: 100%;
}
.admin-auth-form .form-input:focus {
  outline: none;
  border-color: #66959B;
  box-shadow: 0 0 0 2px rgba(102, 149, 155, 0.2);
}
.admin-auth-form .form-check {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}
.admin-auth-form .form-check-input {
  margin-right: 0.5rem;
}
.admin-auth-form .form-check-label {
  font-size: 0.95rem;
  color: #333333;
}
.admin-auth-form .form-actions {
  margin-top: 1.5rem;
}
.admin-auth-form .btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s;
  border: none;
  font-size: 0.95rem;
}
.admin-auth-form .btn-primary {
  background-color: #004F59;
  color: white;
}
.admin-auth-form .btn-primary:hover {
  background-color: rgb(0, 56.3651685393, 63.5);
}

.admin-auth-links {
  margin-top: 1.5rem;
  text-align: center;
}
.admin-auth-links a {
  color: #66959B;
  text-decoration: none;
  font-size: 0.95rem;
}
.admin-auth-links a:hover {
  text-decoration: underline;
}
.admin-auth-links .divider {
  display: inline-block;
  margin: 0 0.5rem;
  color: #dee2e6;
}

.admin-auth-footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #666;
}

.mobile-icon-large {
  width: 1.75em !important;
  height: 1.75em !important;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.d-flex {
  display: flex;
}

.d-block {
  display: block;
}

.d-none {
  display: none;
}

.hidden {
  display: none;
}

.flex-row {
  flex-direction: row;
}

.flex-column {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-content-start {
  justify-content: flex-start;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-end {
  justify-content: flex-end;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-start {
  align-items: flex-start;
}

.align-items-center {
  align-items: center;
}

.align-items-end {
  align-items: flex-end;
}

@media (max-width: 768px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-flex {
    display: flex !important;
  }
}
@media (max-width: 576px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-block {
    display: block !important;
  }
  .d-sm-flex {
    display: flex !important;
  }
}
.m-0 {
  margin: 0;
}

.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.my-3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.my-4 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.my-5 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-0 {
  margin-top: 0;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mt-5 {
  margin-top: 3rem;
}

.mb-0 {
  margin-bottom: 0;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.mb-5 {
  margin-bottom: 3rem;
}

.p-0 {
  padding: 0;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-4 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-4 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-5 {
  padding-left: 3rem;
  padding-right: 3rem;
}

.border {
  border: 1px solid #e5e5e5;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.rounded {
  border-radius: 4px;
}

.rounded-lg {
  border-radius: 8px;
}

.rounded-circle {
  border-radius: 50%;
}

.shadow-sm {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.shadow {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bg-white {
  background-color: white;
}

.bg-light {
  background-color: #f8f9fa;
}

.bg-primary {
  background-color: #66959B;
  color: white;
}

.bg-accent {
  background-color: #004F59;
  color: white;
}

.bg-highlight {
  background-color: #D7E5EE;
}

.iframe-map {
  border: 0;
  border-radius: 8px;
}

.rotate-180 {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .alert-title svg,
  .info-title svg,
  .alert-card svg.icon-inline,
  .info-card svg.icon-inline {
    width: 1.75em !important;
    height: 1.75em !important;
    min-width: 1.75em !important;
    min-height: 1.75em !important;
    max-width: 1.75em !important;
    max-height: 1.75em !important;
  }
}
/* Styles for smooth Turbo transitions */
/* Progress bar styling */
.turbo-progress-bar {
  height: 3px;
  background-color: #66959B;
}

/* Base transition styles for all pages */
html.turbo-visit {
  opacity: 0;
}

html {
  transition: opacity 0.15s ease;
}

/* Every element gets a tiny animation to force immediate style application */
* {
  animation: 0.0001s ease 0s 1 normal forwards forcestyle;
}

@keyframes forcestyle {
  from {
    opacity: 0.99999;
  }
  to {
    opacity: 1;
  }
}
