/* shared.css */

/* CSS Variables for Colors */
:root {
  --off-white: rgb(250,249,246);
  --brand-color: rgb(94, 123, 109);
  --brand-pale: #8ba888;
  --accent-main: rgb(246, 100, 101);
  --accent-pale: rgb(236, 112, 113);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Domine, serif;
  background-color: var(--brand-color);
  color: var(--off-white);
  line-height: 1.5;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    padding: 0;
    margin: 0rem;
  }
  
  /* Add top margin to first section to account for fixed header */
  body > section:first-of-type,
  body > main:first-of-type {
    margin-top: 70px;
  }
}

/* Header Section */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(255, 249, 246, 1), rgba(255, 249, 246, 0.5));
  padding: 1rem 2rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header img {
  height: 5rem;
  width: auto;
}

@media (max-width: 768px) {
  .header {
    padding: 0.75rem 1rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: var(--off-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .header img {
    height: 3rem;
    width: auto;
  } 
}

.nav-menu {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.nav-menu a {
  color: var(--brand-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
}

.nav-menu a:hover {
  color: var(--accent-main);
}

/* Style for "Book Now" span to match navigation links */
.nav-menu span {
  color: var(--brand-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1rem;
  cursor: pointer;
}

.nav-menu span:hover {
  color: var(--accent-main);
}

@media (max-width: 768px) {
  .nav-menu {
    display: none !important;
  }
  
  .dropdown-menu {
    display: none !important;
  }
  
  .mobile-menu-toggle {
    display: block !important;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--brand-color);
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
  }
  
  .mobile-menu-toggle:hover {
    color: var(--accent-main);
  }
  
  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--off-white);
    z-index: 1000;
    padding: 4rem 1rem 2rem;
    overflow-y: auto;
    transition: right 0.3s ease;
  }
  
  .mobile-menu.active {
    display: block !important;
    transform: translateX(0);
  }
  
  .mobile-menu-items {
    list-style: none;
    padding: 0;
  }
  
  .mobile-menu-item {
    margin-bottom: 1rem;
  }
  
  .mobile-menu-item > a,
  .mobile-menu-parent {
    display: block;
    padding: 1rem;
    color: var(--brand-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    cursor: pointer;
  }
  
  .mobile-menu-item > a:hover,
  .mobile-menu-parent:hover {
    color: var(--accent-main);
    background-color: #f5f5f5;
  }
  
  .mobile-submenu {
    list-style: none;
    padding-left: 1rem;
    display: none;
  }
  
  .mobile-submenu.active {
    display: block;
  }
  
  .mobile-submenu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--brand-color);
    text-decoration: none;
    font-size: 1rem;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .mobile-submenu a:hover {
    color: var(--accent-main);
    background-color: #f8f8f8;
  }
}  

/* Desktop Navigation Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--off-white);
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
  min-width: 12.5rem;
  box-shadow: 0 0.5rem 1rem 0 rgba(0,0,0,0.2);
  z-index: 1000;
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  list-style: none;
  max-width: 15.625rem;
  white-space: nowrap;
}

.nav-menu li {
  position: relative;
}

.nav-menu li:hover .dropdown-menu {
  display: block;
}

.nav-menu li:last-child .dropdown-menu,
.nav-menu li:nth-last-child(2) .dropdown-menu {
  left: auto;
  right: 0;
}

.nav-menu li:last-child .dropdown-menu {
  left: auto;
  right: 0;
  min-width: 11.25rem;
}

.dropdown-menu li {
  list-style: none;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease;
}

.dropdown-menu li:hover {
  background-color: var(--brand-color);
  color: var(--off-white);
}

.dropdown-menu a {
  color: var(--brand-color);
  text-decoration: none;
  font-size: 1rem;
  display: block;
  width: 100%;
}

.dropdown-menu li:hover a {
  color: var(--off-white);
}

@media (max-width: 768px) {
  .dropdown-menu {
    max-width: 12.5rem;
    font-size: 0.9rem;
  }
}

/* Buttons */
.btn {
  display: block;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  background-color: var(--accent-pale);
  color: white;
  text-decoration: none;
  border-radius: 1.875rem;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  text-align: center;
  min-width: 240px;
}

.btn:hover {
  background-color: var(--accent-main);
  transform: translateY(-0.125rem);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.2);
}

/* Button variants */
.btn-secondary {
  background-color: transparent;
  border: 0.125rem solid var(--accent-main);
  color: var(--accent-main);
}

.btn-secondary:hover {
  background-color: var(--accent-main);
  color: white;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Open Sans', serif;
  font-weight: bold;
  line-height: 1.5;
}

h1 {
  font-family: 'Open Sans', serif;
  font-weight: bold;
  font-size: 2.6rem;
  color: var(--brand-color);
  margin-bottom: 1.3rem;
  line-height: 1.5;
}

h2 {
  font-family: 'Open Sans', serif;
  font-weight: bold;
  font-size: 2.6rem;
  color: var(--accent-main);
  margin-bottom: 1.3rem;
  line-height: 1.5;
}

h3 {
  font-family: 'Open Sans', serif;
  font-weight: bold;
  font-size: 2.6rem;
  color: var(--off-white);
  margin-bottom: 1rem;
  line-height: 1.5;
}

h4 {
  font-family: 'Open Sans', serif;
  font-weight: bold;
  font-size: 2.2rem;
  color: var(--accent-main);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.p1 {
  font-family: Domine, serif;
  font-size: 1.2rem;
  color: var(--off-white);
  margin-bottom: 1rem;
}

.p2 {
  font-family: Domine, serif;
  font-size: 1.2rem;
  color: var(--accent-main);
  margin-bottom: 1rem;
}

.p3 {
  font-family: Domine, serif;
  font-size: 1rem;
  color: var(--off-white);
  margin-bottom: 1rem;
}

.p4 {
  font-family: Domine, serif;
  font-size: 1rem;
  color: black;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  h2 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  h3 {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  h4 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .p1 {
    font-size: 1rem;
    line-height: 1.5;
  }

  .p2 {
    font-size: 1rem;
    line-height: 1.5;
  }

  .p3 {
    font-size: 1rem;
    line-height: 1.5;
  }

  .p4 {
    font-size: 1rem;
    line-height: 1.5;
  }
}

/* Form Styles */
.form-container {
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.form-content {
  background: var(--off-white);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h1 {
  font-size: 2.5rem;
}

.form-header p {
  color: var(--brand-color);
  font-size: 1.5rem;
  font-family: Domine, serif;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 0.0625rem solid #ddd;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: Domine, serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-main);
  box-shadow: 0 0 0 0.125rem rgba(255, 87, 88, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 12rem;
}

@media (max-width: 768px) {
  main {
    padding: 1rem;
    min-height: calc(100vh - 70px);
  }

  .form-container {
    margin: 0;
    padding: 1rem;
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - 70px);
    box-sizing: border-box;
  }
  
  .form-content {
    padding: 1.5rem;
    margin: 0;
    width: 100%;
    border-radius: 0.5rem;
    box-sizing: border-box;
  }
  
  .form-header h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }
  
  .form-header p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
}

/* Name input fields side by side */
.form-group .name-inputs {
  display: flex;
  gap: 1rem;
}

.form-group .name-inputs input {
  flex: 1;
}

/* Success/Error Messages */
.message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.success {
  background-color: #d4edda;
  color: #155724;
  border: 0.0625rem solid #c3e6cb;
}

.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 0.0625rem solid #f5c6cb;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border: 0.0625rem solid #c3e6cb;
}

.message.warning {
  background-color: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}

.error-message {
  background-color: #f8d7da;
  color: #721c24;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  border: 0.0625rem solid #f5c6cb;
}

.required {
  color: var(--accent-main);
}

/* Footer Styles */
.footer {
  background-color: var(--brand-color);
  color: var(--off-white);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.footer-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--accent-main);
}

.footer a{
  text-decoration: none;
}

.white-footer {
  background-color: var(--off-white);
  color: var(--brand-color);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.white-footer h3 {
  color: var(--brand-color);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.white-footer h2 {
  color: var(--accent-main);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.white-footer p {
  color: black;
  margin-bottom: 0.5rem;
}    

.white-footer a {
  text-decoration: none;
}

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

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

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

.footer h3 {
  color: var(--off-white);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer h2 {
  color: var(--accent-main);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer p {
  color: var(--off-white);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

/* Footer text color overrides for different page backgrounds */
.footer .p3 {
  color: var(--off-white);
}

@media (max-width: 768px) {
  .footer,
  .white-footer {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 2rem 1rem;
    gap: 1rem;
    grid-template-columns: 1fr;
  }
  
  .footer-left {
    width: 100%;
    margin-bottom: 1rem;
    text-align: left;
  }
  
  .footer-left h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .footer-center,
  .footer-right {
    width: 100%;
    margin-left: 0;
    text-align: left;
  }
  
  .footer-center h2,
  .footer-right h2 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
  }
  
  .footer-center p,
  .footer-right p,
  .white-footer .footer-center p,
  .white-footer .footer-right p {
    font-size: 0.9rem;
    margin-bottom: 0.125rem;
  }
}

/* Blog Styles with Lazy Loading Support */
.blog-preview {
  background: var(--off-white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.blog-preview.visible {
  opacity: 1;
  transform: translateY(0);
}

.blog-preview:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.blog-preview.left {
  flex-direction: row;
}

.blog-preview.right {
  flex-direction: row-reverse;
}

.blog-preview-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-preview.left .blog-preview-link {
  flex-direction: row;
}

.blog-preview.right .blog-preview-link {
  flex-direction: row-reverse;
}

.blog-image {
  flex: none;
  width: 35rem;
  height: 35rem;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
  background-color: #f0f0f0;
  }
  
  .blog-image img[data-lazy] {
    opacity: 0;
  }
  
  .blog-image img.loaded {
    opacity: 1;
}

.blog-content {
  flex: 1;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #666;
}

.blog-date {
  color: var(--accent-main);
  font-weight: 500;
}

.blog-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tag {
  background: var(--accent-main);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.blog-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--brand-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-excerpt {
  color: var(--text-black);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* General blog paragraph styling */
.blog-preview p {
  color: black;
}

.read-more {
  color: var(--accent-main);
  font-weight: 500;
  margin: 1rem;
  text-decoration: none;
  align-self: flex-start;
}

/* Blog Header */
.blog-header {
  text-align: center;
  padding: 4rem 2rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.blog-header h1 {
  color: var(--off-white);
  margin-bottom: 1rem;
  text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
}

.blog-header p {
  color: white;
  font-size: 1.1rem;
  max-width: 37.5rem;
  margin: 0 auto;
  text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
}

/* Filter Section */
.filter-section {
  padding: 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.filter-label {
  font-weight: bold;
  color: var(--off-white);
  white-space: nowrap;
}

/* Searchable Dropdown */
.searchable-dropdown {
  position: relative;
  width: auto;
  min-width: 12.5rem;
}

.dropdown-button {
  padding: 0.5rem 1rem;
  background-color: var(--off-white);
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: Domine, serif;
  font-size: 1rem;
  color: var(--brand-color);
  box-shadow: 0 0.5rem 1rem 0 rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.dropdown-button:hover {
  background-color: var(--brand-color);
  color: var(--off-white);
}

.dropdown-button.open {
  background-color: var(--brand-color);
  color: var(--off-white);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--off-white);
  backdrop-filter: blur(0.5rem);
  -webkit-backdrop-filter: blur(0.5rem);
  min-width: 12.5rem;
  box-shadow: 0 0.5rem 1rem 0 rgba(0,0,0,0.2);
  z-index: 1001;
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  list-style: none;
  max-width: 15.625rem;
  white-space: nowrap;
  display: none;
}

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

.search-input {
  width: 100%;
  padding: 0.5rem 1rem;
  border: none;
  border-bottom: 0.0625rem solid #eee;
  font-family: Domine, serif;
  font-size: 1rem;
  background: transparent;
}

.search-input:focus {
  outline: none;
}

.dropdown-options {
  max-height: 10rem;
  overflow-y: auto;
}

.dropdown-option {
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: var(--brand-color);
  list-style: none;
}

.dropdown-option:hover {
  background-color: var(--brand-color);
  color: var(--off-white);
}

.dropdown-option.selected {
  background-color: var(--brand-color);
  color: var(--off-white);
}

.dropdown-option:last-child {
  border-bottom: none;
}

.no-results {
  padding: 0.5rem 1rem;
  color: #666;
  font-style: italic;
  text-align: center;
}

/* Blog Container */
.blog-container {
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.blog-posts {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (max-width: 768px) {
  .blog-container {
    padding: 0 1rem;
  }
  
  .blog-header {
    padding: 2rem 1rem;
  }

  .blog-header h1 {
    font-size: 2rem;
  }

  .blog-header p {
    font-size: 1rem;
  }

  .blog-posts {
    gap: 1.5rem;
  }

  .blog-preview {
    flex-direction: column !important;
  }

  .blog-preview.left,
  .blog-preview.right {
    flex-direction: column !important;
  }

  .blog-preview-link {
    flex-direction: column !important;
  }

  .blog-preview.left .blog-preview-link,
  .blog-preview.right .blog-preview-link {
    flex-direction: column !important;
  }

  .blog-image {
    flex: none;
    width: 35rem;
    height: 35rem;
  }

  .blog-content {
    padding: 1.5rem;
  }

  .blog-content p {
    color: black !important;
  }

  .filter-section {
    padding: 1.5rem;
  }

  .dropdown-content {
    max-height: 20rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    z-index: 1002;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem 0 rgba(0,0,0,0.3);
    background-color: var(--off-white);
    border: 1px solid rgba(0,0,0,0.1);
  }
  
  .dropdown-content.show {
    display: block !important;
    animation: dropdownFadeIn 0.2s ease-out;
  }
  
  @keyframes dropdownFadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .searchable-dropdown {
    position: relative;
  }
  
  .dropdown-button {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    min-height: 3rem;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
  
  .dropdown-option {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  .blog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Loading States */
.loading {
  text-align: center;
  padding: 2rem;
  color: var(--accent-main);
}

.loading-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loading-overlay.active {
  display: flex;
}

.spinner {
  position: relative;
  width: 50px;
  height: 50px;
  border: 3px solid #f0f0f0;
  border-radius: 50%;
  margin: 0 auto;
  background: var(--brand-color);
  overflow: hidden;
}

.hour-hand {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 15px;
  background: var(--accent-main);
  border-radius: 2px;
  transform-origin: bottom center;
  transform: translate(-50%, -100%);
  animation: hourHandRotate 3s linear infinite;
  z-index: 2;
}

.minute-hand {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2px;
  height: 20px;
  background: var(--accent-main);
  border-radius: 1px;
  transform-origin: bottom center;
  transform: translate(-50%, -100%);
  animation: minuteHandRotate 1.5s linear infinite;
  z-index: 3;
}

@keyframes hourHandRotate {
  0% { 
      transform: translate(-50%, -100%) rotate(0deg);
  }
  100% { 
      transform: translate(-50%, -100%) rotate(360deg);
  }
}

@keyframes minuteHandRotate {
  0% { 
      transform: translate(-50%, -100%) rotate(0deg);
  }
  100% { 
      transform: translate(-50%, -100%) rotate(360deg);
  }
}

.loading-overlay p {
  margin: 0;
  color: var(--accent-pale);
  font-weight: 500;
  transform: none !important;
  animation: none !important;
  white-space: nowrap;
  font-size: 1rem;
  line-height: 1.2rem;
  text-align: center !important;
  width: 100%;
}

.end-message {
  text-align: center;
  padding: 2rem;
  color: var(--accent-main);
  font-style: italic;
}

@media (max-width: 768px) {
  .loading-spinner {
    padding: 1.5rem;
    margin: 1rem;
    max-width: calc(100vw - 2rem);
  }

  .loading-spinner p {
    font-size: 0.9rem;
  }
}

/* Hide mobile menu and toggle on desktop */
@media (min-width: 769px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

@media (min-width: 769px) {
  main, .form-container, .form-content {
    margin-top: 6rem;
    margin-bottom: 4rem;
  }
}