@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Add any other search-specific styles here */
.search-fullscreen {
  overflow: hidden;
  height: 100%;
}

/* Mobile top actions container */
.mobile-top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  position: relative;
}

/* Mobile menu buttons (globe, user menu) */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f7f7f7;
  border: 1px solid #e0e0e0;
  color: #222222;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:active {
  background: #ebebeb;
  border-color: #d0d0d0;
}

.mobile-menu-btn .fa-user-circle {
  font-size: 20px;
  color: #717171;
}

.mobile-menu-btn .fa-bars {
  font-size: 14px;
  color: #222222;
}

.mobile-menu-btn .fa-globe {
  font-size: 16px;
  color: #222222;
}

/* Mobile dropdown positioning */
.header-dropdown-menu.mobile-dropdown {
  position: fixed;
  top: 60px;
  right: 12px;
  min-width: 200px;
  max-width: 240px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  padding: 8px 0;
  z-index: 1001;
}

/* Dropdown overlay */
.dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1000;
}

/* Dropdown menu items */
.dropdown-menu-header {
  padding: 12px 16px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #717171;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dropdown-menu-item {
  display: block;
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  color: #222222;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease;
}

.dropdown-menu-item:hover {
  background-color: #f7f7f7;
}

.dropdown-menu-divider {
  height: 1px;
  background-color: #ebebeb;
  margin: 8px 0;
}


/* ============================================
   SEO Page Header - H1 at top of page
   ============================================ */
.seo-page-header {
  padding: 16px 20px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}

.seo-page-header .page-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
}

.seo-page-header .page-subtitle {
  margin: 4px 0 0;
  font-size: 14px;
  color: #717171;
}

/* Mobile SEO header - more compact */
.seo-page-header.mobile {
  padding: 12px 0;
  background: transparent;
  border-bottom: none;
}

.seo-page-header.mobile .page-title {
  font-size: 18px;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .seo-page-header:not(.mobile) {
    padding: 12px 16px;
  }

  .seo-page-header:not(.mobile) .page-title {
    font-size: 20px;
  }

  .seo-page-header:not(.mobile) .page-subtitle {
    font-size: 13px;
  }
}

/* ============================================
   Mobile SSR Bottom Sheet Content
   ============================================ */
.static-content-wrapper {
  width: 100%;
  min-height: 100%;
}

.mobile-sitter-list-content {
  display: flex !important;
  flex-direction: column !important;
  padding: 0;
}

/* Ensure proper ordering of cloned content children */
.mobile-sitter-list-content > .seo-page-header {
  order: 1;
}

.mobile-sitter-list-content > .sitter-list {
  order: 2;
}

.mobile-sitter-list-content > .pagination {
  order: 3;
}

.mobile-sitter-list-content > .seo-content,
.mobile-sitter-list-content > section.seo-content {
  order: 4;
}

/* Re-apply sitter list styles for cloned content */
.mobile-sitter-list-content .sitter-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0;
  width: 100%;
}

.mobile-sitter-list-content .sitter-card {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
}

.mobile-sitter-list-content .sitter-top-section {
  display: flex;
  gap: 16px;
}

.mobile-sitter-list-content .sitter-image {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f0f0f0;
}

.mobile-sitter-list-content .sitter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-sitter-list-content .sitter-content {
  flex: 1;
  min-width: 0;
}

.mobile-sitter-list-content .sitter-name {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin: 0 0 4px;
}

.mobile-sitter-list-content .sitter-location,
.mobile-sitter-list-content .sitter-distance {
  font-size: 14px;
  color: #717171;
  margin: 0 0 2px;
}

.mobile-sitter-list-content .sitter-price {
  font-size: 14px;
  color: #222;
}

.mobile-sitter-list-content .sitter-price strong {
  font-weight: 600;
}

/* Pagination inside bottom sheet */
.mobile-sitter-list-content .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px 16px;
  margin-top: 16px;
  border-top: 1px solid #e8e8ed;
}

.mobile-sitter-list-content .pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #d2d2d7;
  border-radius: 50%;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 14px;
  cursor: pointer;
}

.mobile-sitter-list-content .pagination-pages {
  display: flex;
  gap: 6px;
  margin: 0 8px;
}

.mobile-sitter-list-content .pagination-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #d2d2d7;
  border-radius: 22px;
  background: #ffffff;
  color: #1d1d1f;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.mobile-sitter-list-content .pagination-page.active {
  background: #1d1d1f;
  color: #ffffff;
  border-color: #1d1d1f;
}

/* SEO sections inside bottom sheet */
.mobile-sitter-list-content .seo-sections {
  padding: 24px 16px;
}

/* SEO Interactive App Mobile Layout */
.seo-interactive-app.mobile {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.seo-interactive-app.mobile .seo-page-header.mobile {
  padding: 12px 16px;
  background: #fff;
  z-index: 100;
}

.seo-interactive-app.mobile .seo-page-header.mobile .page-title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.seo-interactive-app.mobile .search-capsule-floating {
  padding: 8px 16px;
  background: #fff;
  z-index: 100;
}

.seo-interactive-app.mobile .map-wrapper {
  flex: 1;
  position: relative;
  min-height: 300px;
}
