:root {
  --bg: #f8fbff;
  --surface: #ffffff;
  --text: #1a1a2e;
  --muted: #5b6b82;
  --primary: #1976d2;
  --primary-dark: #115293;
  --accent: #0f9d58;
  --danger: #dc3545;
  --border: #e6eaf4;
  --shadow: 0 12px 24px rgba(25, 118, 210, 0.12);
}

* {
  box-sizing: border-box;
}

/* Desktop / Mobile explicit visibility helpers */
.desktop-only { display: block; }
.mobile-only { display: none; }

@media (max-width: 1024px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1200px, 94vw);
  margin: 0 auto;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0.9rem 0;
  position: relative;
}

.logo {
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.3px;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text);
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: #e3efff;
}

.nav-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  align-items: center;
}

.nav-user-label {
  margin-right: 0.3rem;
  font-weight: 600;
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-toggler {
  display: none;
  border: 2px solid var(--primary);
  background: #fff;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 10px;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-toggler:hover {
  background: var(--primary);
  color: #fff;
}

.admin-home-page .navbar {
  background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  border-bottom: 1px solid #d7e6ff;
  box-shadow: 0 10px 26px rgba(17, 82, 147, 0.1);
}

.admin-home-page .logo {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.admin-home-page .nav-links {
  gap: 0.5rem;
  background: rgba(237, 245, 255, 0.72);
  border: 1px solid #d8e8ff;
  border-radius: 999px;
  padding: 0.35rem;
}

.admin-home-page .nav-links a {
  padding: 0.46rem 0.8rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #24486e;
  font-weight: 650;
  white-space: nowrap;
  flex: 0 0 auto;
  transition: all 0.18s ease;
}

.admin-home-page .nav-links a:hover,
.admin-home-page .nav-links a.active {
  color: #ffffff;
  border-color: #1976d2;
  background: linear-gradient(135deg, #1976d2 0%, #135ea8 100%);
}

.admin-home-page .nav-user-label {
  background: linear-gradient(180deg, #edf5ff 0%, #e3efff 100%);
  border: 1px solid #cadeff;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  color: #13395f;
  font-size: 0.92rem;
}

.admin-home-page .nav-actions .btn {
  border-radius: 12px;
  font-weight: 700;
  min-height: 40px;
  padding: 0.56rem 0.82rem;
}

.admin-home-page .nav-actions .btn-outline {
  border-color: #8bb7ea;
  color: #0f4a83;
  background: #f7fbff;
}

.admin-home-page .nav-actions .btn-outline:hover {
  border-color: #1976d2;
  color: #fff;
  background: #1976d2;
}

.admin-home-page .nav-actions .btn-outline.active {
  border-color: #1976d2;
  color: #fff;
  background: linear-gradient(135deg, #1976d2 0%, #135ea8 100%);
}

.provider-nav-page .navbar {
  background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 100%);
  border-bottom: 1px solid #d7e6ff;
  box-shadow: 0 10px 24px rgba(17, 82, 147, 0.09);
}

.provider-nav-page .logo {
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.provider-nav-page .nav-links {
  gap: 0.45rem;
  background: rgba(237, 245, 255, 0.7);
  border: 1px solid #d8e8ff;
  border-radius: 999px;
  padding: 0.3rem;
}

.provider-nav-page .nav-links a {
  padding: 0.44rem 0.78rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: #24486e;
  font-weight: 650;
  white-space: nowrap;
  flex: 0 0 auto;
}

.provider-nav-page .nav-links a:hover,
.provider-nav-page .nav-links a.active {
  color: #ffffff;
  border-color: #1976d2;
  background: linear-gradient(135deg, #1976d2 0%, #135ea8 100%);
}

.provider-nav-page .nav-user-label {
  background: linear-gradient(180deg, #edf5ff 0%, #e3efff 100%);
  border: 1px solid #cadeff;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  color: #13395f;
  font-size: 0.92rem;
}

.provider-nav-page .nav-actions .btn {
  border-radius: 12px;
  min-height: 40px;
  padding: 0.56rem 0.82rem;
}

@media (min-width: 769px) {
  .admin-home-page .nav-content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
  }

  .admin-home-page .nav-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .admin-home-page .nav-links::-webkit-scrollbar {
    display: none;
  }

  .admin-home-page .nav-actions {
    justify-content: flex-end;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
  }

  .admin-home-page .nav-user-label {
    margin-right: 0.2rem;
    max-width: 200px;
  }
}

@media (min-width: 769px) {
  .provider-nav-page .nav-content {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.7rem;
  }

  .provider-nav-page .nav-links {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .provider-nav-page .nav-links::-webkit-scrollbar {
    display: none;
  }

  .provider-nav-page .nav-actions {
    justify-content: flex-end;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
  }

  .provider-nav-page .nav-user-label {
    margin-right: 0.2rem;
    max-width: 220px;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .admin-home-page .nav-links a {
    padding: 0.4rem 0.64rem;
    font-size: 0.84rem;
  }

  .admin-home-page .nav-actions .btn {
    padding: 0.52rem 0.74rem;
    min-height: 38px;
    font-size: 0.9rem;
  }

  .admin-home-page .nav-user-label {
    max-width: 150px;
    font-size: 0.82rem;
  }
}

.hero {
  padding: 3rem 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 540px);
  gap: 2rem;
  align-items: center;
}

.hero-media {
  overflow: hidden;
  border-radius: 1rem;
  max-width: 100%;
}

.hero-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-text h1 {
  font-size: clamp(1.8rem, 5vw, 3rem);
  margin: 0 0 0.8rem;
}

.hero-text p {
  max-width: 560px;
  margin-bottom: 1.25rem;
  color: var(--muted);
}

.search-card {
  display: flex;
  gap: 0.5rem;
}

.search-card input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.search-card button {
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 0 1.25rem;
  cursor: pointer;
}

.hero-ctas {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
}

.btn {
  border: 0;
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(25, 118, 210, 0.18);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

.section-white,
.page-header,
.price-estimation-card,
:testimonials,
.service-grid,
.booking-form-section,
.about-grid,
.contact-grid,
.admin-bookings-card {
  margin: 2.4rem 0;
}

.page-header h1 {
  margin: 0;
}

.page-header p {
  color: var(--muted);
  margin-top: 0.4rem;
}

.featured-services h2,
.testimonials h2,
.how-it-works h2,
.price-estimation-card h2,
.admin-bookings-card h2 {
  margin-bottom: 1rem;
}

.card-grid,
.service-grid,
.testimonials-grid,
.steps-grid {
  display: grid;
  gap: 1rem;
}

.card-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.testimonials-grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

@media (max-width: 768px) {
  .testimonials-grid.mobile-slider-mode {
    display: block;
    position: relative;
    width: 100%;
  }

  .testimonials-grid.mobile-slider-mode .testimonial-card {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transform: translateX(10%) scale(0.985);
    transition: opacity 0.46s ease, transform 0.46s ease;
    pointer-events: none;
  }

  .testimonials-grid.mobile-slider-mode .testimonial-card.is-active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
  }
}

.review-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  margin: 0.75rem 0 1.25rem;
  box-shadow: var(--shadow);
}

.review-form-row {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 0.75rem;
}

.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  font: inherit;
}

.review-form textarea {
  margin-top: 0.75rem;
  min-height: 90px;
  resize: vertical;
}

.review-form-actions {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.review-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.service-card,
.testimonial-card,
.step-card,
.booking-form-card,
.price-estimation-card,
.admin-bookings-card,
.contact-card,
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.service-card h3,
.step-card h3,
.testimonial-card h4,
.admin-bookings-card h2,
.booking-form-card h2,
.price-estimation-card h2,
.auth-card h2 {
  margin: 0.6rem 0 0.45rem;
}

.service-card p,
.testimonial-card p,
.step-card p,
.about-grid p,
.contact-card p {
  color: var(--muted);
  margin: 0.2rem 0 0.8rem;
}

.service-card i,
.step-card i {
  color: var(--primary);
  font-size: 1.6rem;
}

.service-card-image {
  width: 100%;
  height: 180px;
  border-radius: 12px;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f7fa;
  background-size: cover;
  background-position: center;
}

.service-image-preview-booking {
  width: 100%;
  height: 150px;
  border-radius: 12px;
  margin: 0.8rem 0;
  background-color: #f5f7fa;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}

.testimonial-card span {
  display: inline-block;
  color: #f4b400;
  margin-top: 0.5rem;
}

.how-it-works .step-card {
  text-align: center;
}

.whatsapp-booking {
  margin: 2.4rem 0;
}

.whatsapp-box {
  background: var(--primary);
  color: #fff;
  border-radius: 16px;
  padding: 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.whatsapp-box p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0.5rem 0;
}

.whatsapp-box .btn {
  color: #fff;
}

.booking-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.booking-form-card label,
.booking-form-card input,
.booking-form-card textarea,
.booking-form-card select {
  display: block;
  width: 100%;
  margin-bottom: 0.6rem;
}

.booking-form-card input,
.booking-form-card textarea,
.booking-form-card select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.72rem;
  background: #fff;
}

.booking-form-card button {
  width: 100%;
}

.form-message {
  min-height: 1.2rem;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.about-hero {
  margin: 2rem 0 1.2rem;
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(120deg, #f7fbff, #eef5ff);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.about-kicker {
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.5rem;
}

.about-hero-text h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.25;
}

.about-hero-text p {
  color: var(--muted);
  margin: 0 0 0.8rem;
}

.about-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.about-hero-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.about-hero-points i {
  color: var(--primary);
}

.about-hero-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.about-hero-card h3 {
  margin: 0 0 0.6rem;
}

.about-hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.about-hero-card li {
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.about-hero-card i {
  color: var(--accent);
  margin-top: 0.15rem;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.3rem 0 2rem;
}

.about-metric-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-metric-card h3 {
  margin: 0;
  font-size: 1.6rem;
  color: var(--primary-dark);
}

.about-metric-card p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0 1.4rem;
}

.about-story-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.about-story-card h2 {
  margin-top: 0;
}

.about-values {
  margin: 1.6rem 0 2.2rem;
}

.about-values h2 {
  margin-bottom: 0.9rem;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.about-value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.about-value-card i {
  font-size: 1.3rem;
  color: var(--primary);
}

.about-value-card h3 {
  margin: 0.45rem 0 0.35rem;
}

.about-value-card p {
  margin: 0;
  color: var(--muted);
}

.admin-hero {
  margin: 2rem 0 1rem;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(120deg, #f7fbff, #edf6ff);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.admin-kicker {
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.45rem;
}

.admin-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  line-height: 1.25;
}

.admin-hero p {
  margin: 0;
  color: var(--muted);
}

.admin-hero-note {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.admin-hero-note h3 {
  margin: 0 0 0.5rem;
}

.admin-hero-note ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.admin-hero-note li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.admin-hero-note i {
  color: var(--accent);
  margin-top: 0.15rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1rem 0 1.35rem;
}

.admin-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.admin-stat-card h3 {
  margin: 0;
  font-size: 1.7rem;
  color: var(--primary-dark);
}

.admin-stat-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.admin-panel-card {
  margin-top: 0;
}

.admin-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.admin-panel-head h2 {
  margin: 0;
}

.admin-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.admin-user-search-wrap {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.9rem;
}

.admin-user-search-wrap input {
  flex: 1;
  min-width: 240px;
  padding: 0.72rem;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.admin-user-search-wrap select {
  min-width: 150px;
  padding: 0.72rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.admin-user-filters-wrap .btn {
  min-height: 42px;
}

.admin-user-details h3 {
  margin: 0.2rem 0 0.75rem;
}

.admin-user-form {
  max-width: 560px;
}

.admin-user-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.admin-user-form input,
.admin-user-form select,
.admin-user-form button {
  width: 100%;
}

.admin-user-form input,
.admin-user-form select,
.admin-user-form textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.72rem;
  margin-bottom: 0.65rem;
}

.admin-user-form textarea {
  resize: vertical;
  min-height: 90px;
}

.admin-services-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.admin-service-card {
  border: 1px solid #dce3f1;
  border-radius: 12px;
  background: #f8fbff;
  padding: 0.85rem;
  display: grid;
  gap: 0.55rem;
}

.admin-service-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.62rem;
  font: inherit;
  background: #fff;
}

.admin-service-card .service-desc {
  resize: vertical;
  min-height: 78px;
}

.service-image-preview {
  width: 100%;
  height: 150px;
  border: 2px dashed var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f7fa;
  overflow: hidden;
}

.service-image-actions {
  display: flex;
  justify-content: flex-end;
}

.admin-service-preview-btn {
  min-width: 110px;
}

.service-preview-open {
  overflow: hidden;
}

.service-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
}

.service-preview-modal[aria-hidden="false"] {
  display: block;
}

.service-preview-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.64);
}

.service-preview-dialog {
  position: relative;
  width: min(920px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: 1rem auto;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #d8e6fa;
  box-shadow: 0 24px 48px rgba(15, 35, 66, 0.28);
}

.service-preview-close {
  position: absolute;
  right: 0.6rem;
  top: 0.55rem;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 23, 43, 0.7);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.service-preview-media-wrap {
  background: linear-gradient(180deg, #eef4ff 0%, #dbe8ff 100%);
  padding: 1rem;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-preview-media {
  max-width: 100%;
  max-height: 58vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 16px 30px rgba(15, 35, 66, 0.18);
}

.service-preview-content {
  padding: 1rem 1.1rem 1.2rem;
  border-top: 1px solid #e4ecfb;
}

.service-preview-title {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.25;
}

.service-preview-desc {
  margin: 0.52rem 0 0;
  color: #34435e;
}

.service-preview-price {
  margin: 0.62rem 0 0;
  font-weight: 700;
  color: #115293;
}

@media (max-width: 700px) {
  .service-preview-dialog {
    width: calc(100vw - 1rem);
    margin: 0.5rem auto;
    max-height: calc(100vh - 1rem);
  }

  .service-preview-media-wrap {
    min-height: 260px;
    padding: 0.65rem;
  }

  .service-preview-media {
    max-height: 45vh;
  }

  .service-preview-title {
    font-size: 1.2rem;
  }
}

.service-image-input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.admin-work-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.admin-work-chip {
  width: auto !important;
  border: 1px solid #cfd6e6;
  border-radius: 999px;
  background: #f7f9ff;
  color: #1d2f4f;
  padding: 0.48rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.admin-work-chip:hover {
  border-color: var(--primary);
  background: #ebf3ff;
}

.admin-work-chip.is-selected {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.admin-work-help {
  margin: 0.2rem 0 0.65rem;
  color: #53627c;
  font-size: 0.88rem;
}

.admin-review-card label {
  display: block;
  margin: 0.55rem 0 0.25rem;
}

.admin-review-card input,
.admin-review-card select,
.admin-review-card textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.68rem;
  font: inherit;
}

.admin-review-card textarea {
  resize: vertical;
}

.admin-review-delete-btn {
  border-color: #d9534f;
  color: #d9534f;
}

.admin-review-delete-btn:hover {
  background: #d9534f;
  color: #fff;
}

.admin-rating-page {
  background:
    radial-gradient(1100px 420px at 10% -10%, rgba(25, 118, 210, 0.14), transparent 70%),
    radial-gradient(900px 380px at 100% 8%, rgba(15, 157, 88, 0.1), transparent 72%),
    linear-gradient(180deg, #f6f9ff 0%, #f2f7ff 55%, #eef4ff 100%);
}

.admin-rating-main {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.admin-rating-page .admin-rating-hero {
  border: 1px solid #dbe7fb;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 249, 255, 0.98) 100%);
  box-shadow: 0 20px 44px rgba(25, 71, 132, 0.12);
}

.admin-rating-page .records-kicker {
  color: #15508a;
  font-weight: 800;
  letter-spacing: 0.11em;
}

.admin-rating-page .records-hero h1 {
  color: #17243d;
}

.admin-rating-page .records-hero-note {
  border-color: #d8e5fb;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.admin-rating-page .admin-rating-shell {
  border: 1px solid #d6e5fb;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 253, 255, 0.98) 100%);
  box-shadow: 0 18px 36px rgba(18, 73, 132, 0.1);
}

.admin-rating-page .booking-record-toolbar {
  border: 1px solid #dce8fb;
  border-radius: 14px;
  padding: 0.85rem;
  background: #f7fbff;
}

.admin-rating-page .booking-search-wrap input {
  border-color: #cadcf6;
  background: #fff;
}

.admin-rating-page .booking-count-badge {
  border-color: #bcd5f6;
  background: linear-gradient(180deg, #e8f2ff 0%, #dcebff 100%);
  color: #0e4278;
}

.admin-rating-page .admin-review-card {
  border: 1px solid #d5e3fa;
  border-radius: 18px;
  padding: 1.15rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  box-shadow: 0 14px 28px rgba(23, 84, 150, 0.11);
}

.admin-rating-page .admin-review-card input,
.admin-rating-page .admin-review-card select,
.admin-rating-page .admin-review-card textarea {
  border-color: #c7daf6;
  background: #fff;
}

.admin-rating-page .admin-review-card input:focus,
.admin-rating-page .admin-review-card select:focus,
.admin-rating-page .admin-review-card textarea:focus {
  outline: none;
  border-color: #2a7fd6;
  box-shadow: 0 0 0 3px rgba(42, 127, 214, 0.18);
}

.admin-rating-page .admin-export-actions {
  margin-top: 0.8rem;
  gap: 0.6rem;
}

.admin-rating-page .admin-export-actions .btn {
  min-height: 42px;
  border-radius: 10px;
}

.admin-rating-page .admin-review-reply-btn {
  border-color: #1b8d58;
  color: #1b8d58;
}

.admin-rating-page .admin-review-reply-btn:hover {
  background: #1b8d58;
  color: #fff;
}

@media (max-width: 768px) {
  .admin-rating-main {
    padding-top: 0.35rem;
  }

  .admin-rating-page .booking-record-toolbar {
    padding: 0.7rem;
  }

  .admin-rating-page .admin-review-card {
    padding: 0.95rem;
    border-radius: 14px;
  }

  .admin-rating-page .admin-export-actions .btn {
    width: 100%;
  }
}

.admin-user-message {
  margin-top: 0.8rem;
}

.admin-danger-btn {
  width: 100%;
  margin-top: 0.5rem;
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}

.provider-hero {
  margin-bottom: 1.1rem;
}

.provider-panel-card {
  margin-bottom: 1rem;
}

.provider-profile-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.provider-profile-card p {
  margin: 0.5rem 0;
  color: var(--text);
}

.provider-stats-grid {
  margin-bottom: 1rem;
}

.provider-stat-card h3 {
  font-size: 1.6rem;
}

.provider-filters-wrap {
  margin-bottom: 0.9rem;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filter-select {
  min-width: 220px;
  padding: 0.72rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

.provider-bookings-container {
  display: grid;
  gap: 1rem;
}

.chat-messages-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 0.8rem;
  min-height: 220px;
  max-height: 320px;
  overflow-y: auto;
}

.chat-bubble {
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  margin-bottom: 0.55rem;
  max-width: 85%;
  word-break: break-word;
}

.chat-bubble.mine {
  margin-left: auto;
  background: #e7f1ff;
  border: 1px solid #cfe1ff;
}

.chat-bubble.other {
  margin-right: auto;
  background: #f7f8fb;
  border: 1px solid var(--border);
}

.chat-bubble-meta {
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
  display: block;
}

.chat-compose-form {
  margin-top: 0.7rem;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.55rem;
}

.chat-compose-form input {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.72rem;
}

.admin-chat-provider-wrap select {
  min-width: 260px;
}

.chat-widget-panel {
  position: fixed;
  right: 1rem;
  bottom: 5rem;
  width: min(430px, calc(100vw - 2rem));
  max-height: calc(100vh - 8rem);
  overflow: auto;
  z-index: 250;
  margin: 0;
}

.chat-widget-hidden {
  display: none;
}

.chat-widget-open {
  display: block;
}

.chat-widget-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  z-index: 260;
}

.chat-widget-icon {
  width: 28px;
  height: 28px;
  fill: #fff;
  display: block;
}

.chat-widget-badge {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}

.chat-widget-badge-hidden {
  display: none;
}

.home-rich-page {
  background:
    radial-gradient(1200px 560px at 12% -6%, rgba(16, 80, 124, 0.16), transparent 70%),
    radial-gradient(900px 440px at 98% 4%, rgba(226, 160, 24, 0.14), transparent 72%),
    linear-gradient(180deg, #f8fbff 0%, #f4f9ff 45%, #f3f7fc 100%);
  font-family: "Manrope", "Segoe UI", sans-serif;
}

.home-rich-page h1,
.home-rich-page h2,
.home-rich-page h3,
.home-rich-page h4,
.home-rich-page .logo {
  font-family: "Sora", "Segoe UI", sans-serif;
  letter-spacing: -0.02em;
}

.home-rich-page .navbar {
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid #d9e7f5;
  box-shadow: 0 10px 26px rgba(14, 53, 90, 0.08);
}

.home-rich-page .hero {
  padding: 3.2rem 0 2.2rem;
}

.home-rich-page .hero-content {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid #d8e7f4;
  border-radius: 26px;
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: 0 24px 52px rgba(15, 46, 82, 0.14);
}

.hero-kicker {
  margin: 0 0 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #0f4f80;
}

.hero-kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  background: linear-gradient(90deg, #0e557f, #f0b429);
}

.home-rich-page .hero-text h1 {
  color: #11253d;
  line-height: 1.15;
}

.home-rich-page .hero-text p {
  color: #3f536c;
  max-width: 560px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.hero-highlights span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid #d7e4f4;
  border-radius: 999px;
  padding: 0.44rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #233a54;
}

.hero-highlights i {
  color: #0b6cb0;
}

.home-rich-page .search-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #d8e7f6;
  border-radius: 14px;
  padding: 0.45rem;
}

.home-rich-page .search-card input {
  border: 0;
  background: transparent;
}

.home-rich-page .search-card input:focus {
  outline: none;
}

.home-rich-page .search-card button {
  background: linear-gradient(135deg, #0d5d95 0%, #0b7abb 100%);
}

.home-rich-page .btn-primary {
  background: linear-gradient(135deg, #0d5d95 0%, #0b7abb 100%);
}

.home-rich-page .btn-outline {
  border-color: #0b6ea7;
  color: #0a5f94;
}

.home-rich-page .hero-media {
  position: relative;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(12, 38, 66, 0.22);
}

.home-rich-page .hero-media img {
  min-height: 360px;
}

.hero-floating-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  border-radius: 12px;
  background: rgba(7, 22, 37, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  padding: 0.8rem 0.9rem;
  backdrop-filter: blur(4px);
}

.hero-floating-card p {
  margin: 0;
  font-size: 0.86rem;
  opacity: 0.92;
}

.hero-floating-card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 1rem;
}

.cred-strip {
  margin: 0.6rem 0 1.2rem;
}

.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.cred-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d9e7f5;
  border-radius: 16px;
  padding: 0.95rem;
  text-align: center;
  box-shadow: 0 14px 28px rgba(17, 54, 86, 0.1);
}

.cred-card h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  color: #103d60;
}

.cred-card p {
  margin: 0.35rem 0 0;
  color: #4a5f78;
  font-size: 0.88rem;
}

.home-rich-page .service-card,
.home-rich-page .testimonial-card,
.home-rich-page .step-card,
.home-rich-page .review-form,
.home-rich-page .whatsapp-box {
  border: 1px solid #d7e5f4;
  box-shadow: 0 14px 30px rgba(15, 45, 74, 0.11);
}

.home-rich-page .service-card,
.home-rich-page .testimonial-card,
.home-rich-page .step-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-rich-page .service-card:hover,
.home-rich-page .testimonial-card:hover,
.home-rich-page .step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px rgba(12, 43, 74, 0.16);
}

.home-rich-page .service-card.reveal-up,
.home-rich-page .testimonial-card.reveal-up,
.home-rich-page .step-card.reveal-up,
.home-rich-page .cred-card.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.home-rich-page .service-card.reveal-up.is-visible,
.home-rich-page .testimonial-card.reveal-up.is-visible,
.home-rich-page .step-card.reveal-up.is-visible,
.home-rich-page .cred-card.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .home-rich-page .hero-content {
    grid-template-columns: 1fr;
  }

  .home-rich-page .hero-media img {
    min-height: 280px;
  }

  .cred-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .hero-highlights span {
    width: 100%;
    justify-content: center;
  }

  .home-rich-page .hero-ctas {
    flex-direction: column;
  }

  .home-rich-page .hero-ctas .btn {
    width: 100%;
  }

  .hero-floating-card {
    position: static;
    margin-top: 0.65rem;
    background: #0a3558;
  }

  .cred-grid {
    grid-template-columns: 1fr;
  }
}

.chat-widget-fab:hover {
  background: #128c7e;
}

.chat-widget-close {
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
}

.chat-delete-btn {
  margin-top: 0.4rem;
  border: 1px solid #e9b2b9;
  background: #fff0f2;
  color: #9b1c2c;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.26rem 0.5rem;
  cursor: pointer;
}

.chat-delete-btn:hover {
  background: #ffe5e9;
}

.work-photo-group {
  margin-top: 0.55rem;
}

.work-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 0.45rem;
}

.work-photo-item {
  display: grid;
  gap: 0.2rem;
}

.work-photo-link {
  display: grid;
  gap: 0.2rem;
  text-decoration: none;
}

.work-photo-delete-btn {
  border: 1px solid #e9b2b9;
  background: #fff0f2;
  color: #9b1c2c;
  border-radius: 7px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.22rem 0.4rem;
  cursor: pointer;
}

.work-photo-delete-btn:hover {
  background: #ffe5e9;
}

.work-photo-thumb {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.work-photo-time {
  font-size: 0.68rem;
  color: var(--muted);
}

.payment-ledger-list {
  display: grid;
  gap: 0.35rem;
  margin: 0.35rem 0 0.6rem;
}

.payment-ledger-row {
  display: grid;
  gap: 0.18rem;
  padding: 0.45rem 0.55rem;
  border: 1px dashed var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 0.83rem;
}

.payment-ledger-empty {
  margin: 0.3rem 0 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.admin-export-actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.records-hero {
  margin: 2rem 0 1rem;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(120deg, #f8fcff, #eef6ff);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.records-kicker {
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.45rem;
}

.records-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.6rem, 4vw, 2.45rem);
  line-height: 1.25;
}

.records-hero p {
  margin: 0;
  color: var(--muted);
}

.records-hero-note {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.records-hero-note h3 {
  margin: 0 0 0.5rem;
}

.records-hero-note ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.records-hero-note li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
}

.records-hero-note i {
  color: var(--accent);
  margin-top: 0.15rem;
}

.booking-records-shell {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.booking-record-toolbar {
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.booking-search-wrap {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
}

.booking-search-wrap input {
  flex: 1;
  min-width: 220px;
  padding: 0.72rem;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.booking-stats-wrap {
  display: inline-flex;
  align-items: center;
}

.booking-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #dbe9ff;
  background: #edf5ff;
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
}

.booking-search-message {
  margin-bottom: 1rem;
}

.booking-records-grid {
  display: grid;
  gap: 1.2rem;
}

.contact-admin-panel {
  margin-bottom: 2rem;
}

.contact-admin-toolbar {
  margin-bottom: 1rem;
}

.contact-admin-search-wrap input {
  min-width: 260px;
}

.contact-admin-list {
  display: grid;
  gap: 1.2rem;
}

.contact-message-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.contact-email-link {
  color: var(--primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

.contact-email-link:hover {
  color: var(--primary);
}

.phone-whatsapp-link {
  color: #128c7e;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
}

.phone-whatsapp-link:hover {
  color: #0f6f66;
}

.contact-message-body {
  background: #f4f8ff;
  border: 1px solid var(--border);
  padding: 1rem;
  border-radius: 10px;
  margin-top: 0.8rem;
}

.contact-message-body p {
  margin: 0;
  line-height: 1.5;
}

.price-estimation-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.price-estimation-card li {
  margin-bottom: 0.7rem;
  display: flex;
  justify-content: space-between;
  color: var(--text);
}

.booked-list {
  margin-top: 1rem;
}

#bookingsContainer,
#adminBookings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.booking-record,
.booking-record-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem;
}

.booking-record h4 {
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-hero {
  margin: 2rem 0 1rem;
  padding: 1.3rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(120deg, #f8fcff, #eef6ff);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.contact-kicker {
  letter-spacing: 0.09em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.45rem;
}

.contact-hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.25;
}

.contact-hero p {
  margin: 0;
  color: var(--muted);
}

.contact-hero-subtext {
  margin-top: 0.75rem;
}

.contact-hero-note {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.contact-hero-note h3 {
  margin: 0 0 0.5rem;
}

.contact-hero-note p {
  margin: 0 0 0.7rem;
}

.contact-pill-list {
  display: grid;
  gap: 0.5rem;
}

.contact-pill-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #f4f8ff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.contact-pill-list i {
  color: var(--primary);
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1rem 0 1.4rem;
}

.contact-quick-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.contact-quick-card i {
  color: var(--primary);
  font-size: 1.15rem;
}

.contact-quick-card h3 {
  margin: 0.45rem 0 0.2rem;
  font-size: 1.02rem;
}

.contact-quick-card p {
  margin: 0;
  color: var(--muted);
}

.contact-premium-grid {
  margin-bottom: 2rem;
}

.contact-info-card,
.contact-form-card {
  border-radius: 14px;
}

.contact-help-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.contact-help-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--text);
}

.contact-help-list i {
  color: var(--accent);
  margin-top: 0.15rem;
}

.contact-help-note {
  margin: 0.95rem 0 0;
  color: var(--muted);
}

.contact-map-section {
  margin: 0 0 2rem;
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-map-head h2 {
  margin: 0;
}

.contact-map-head p {
  margin: 0.45rem 0 1rem;
  color: var(--muted);
}

.contact-map-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1rem;
}

.contact-map-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
  background: linear-gradient(120deg, #f8fcff, #eef6ff);
}

.contact-map-card h3 {
  margin: 0;
}

.contact-map-card p {
  margin: 0.6rem 0 1rem;
  color: var(--muted);
  line-height: 1.5;
}

.contact-map-embed {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  min-height: 320px;
}

.contact-map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.7rem;
  margin: 0.5rem 0;
}

.auth-page {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.2rem;
  margin: 2.4rem 0;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 540px;
  margin: 0 auto;
}

.auth-card input,
.auth-card select,
.auth-card button {
  width: 100%;
}

.auth-card h2 {
  margin: 0 0 1rem;
}

.auth-card form input,
.auth-card form button {
  width: 100%;
}

.auth-card form input {
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 0.75rem;
  margin: 0.55rem 0;
}

@media (max-width: 768px) {
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-card {
    max-width: 100%;
  }
}

.site-footer {
  margin-top: 2rem;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 1.6rem 0 0.8rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.footer-grid h3,
.footer-grid h4 {
  margin: 0 0 0.5rem;
}

.footer-grid a {
  display: block;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.footer-bottom {
  margin-top: 1rem;
  color: var(--muted);
  text-align: center;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .records-hero {
    grid-template-columns: 1fr;
  }

  .admin-hero {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-two-col {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    grid-template-columns: 1fr;
  }

  .contact-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-map-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-values-grid {
    grid-template-columns: 1fr;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-media img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
  }

  .booking-form-section,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .container {
    width: min(95vw, 1000px);
  }
}

@media (max-width: 768px) {
  .records-hero {
    padding: 1rem;
  }

  .booking-record-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .booking-search-wrap {
    width: 100%;
  }

  .booking-search-wrap input {
    min-width: 100%;
  }

  .contact-admin-search-wrap input {
    min-width: 100%;
  }

  .contact-message-meta {
    grid-template-columns: 1fr;
  }

  .booking-stats-wrap {
    width: 100%;
  }

  .booking-count-badge {
    width: 100%;
    justify-content: center;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .admin-hero {
    padding: 1rem;
  }

  .admin-user-search-wrap input {
    min-width: 100%;
  }

  .admin-user-search-wrap select,
  .admin-user-search-wrap .btn {
    width: 100%;
  }

  .filter-select {
    width: 100%;
    min-width: 100%;
  }

  .chat-compose-form {
    grid-template-columns: 1fr;
  }

  .chat-bubble {
    max-width: 100%;
  }

  .chat-widget-panel {
    right: 0.6rem;
    left: 0.6rem;
    width: auto;
    bottom: 4.8rem;
    max-height: calc(100vh - 7rem);
  }

  .chat-widget-fab {
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .contact-quick-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding: 1rem;
  }

  .about-metrics {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding: 1rem;
  }

  .nav-content {
    flex-wrap: wrap;
    row-gap: 0.5rem;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    order: 2;
    width: 100%;
    text-align: center;
  }

  .nav-actions {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    max-width: 100%;
    flex-wrap: wrap;
    order: 3;
  }

  .nav-actions .menu-toggler {
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    order: 1;
  }

  .nav-actions .btn {
    order: 2;
  }

  .nav-actions a.btn:first-of-type {
    margin-left: auto;
  }

  .nav-actions.nav-authenticated .btn {
    margin-left: auto;
  }

  .nav-user-label {
    margin-right: 0;
    margin-bottom: 0.2rem;
    order: -1;
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    border: 1px solid #bdd8ff;
    background: linear-gradient(180deg, #eaf3ff 0%, #dcecff 100%);
    color: #13395f;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(17, 82, 147, 0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .navbar {
    position: relative;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, #f8fbff 0%, #f0f6ff 100%);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid #d7e6ff;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.1);
    transition: max-height 0.25s ease;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    color: #24486e;
    font-weight: 500;
    border-bottom: 1px solid #e3efff;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a:hover {
    background: rgba(25, 118, 210, 0.08);
    color: #1976d2;
  }

  .nav-links.open {
    max-height: 320px;
  }

  .admin-nav-page .menu-toggler {
    display: inline-flex;
  }

  .provider-nav-page .menu-toggler {
    display: inline-flex;
  }

  .provider-nav-page .nav-links {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #fff;
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 10px 20px rgba(17, 82, 147, 0.1);
    transition: max-height 0.25s ease;
    padding: 0;
  }

  .provider-nav-page .nav-links.open {
    max-height: 220px;
  }

  .provider-nav-page .nav-links a {
    width: 100%;
    text-align: center;
    border-radius: 10px;
    margin: 0.12rem 0;
  }

  .admin-nav-page .nav-links {
    position: absolute;
    order: 3;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #fff;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    border-top: 0;
    border-bottom: 1px solid var(--border);
    padding-top: 0;
    padding-bottom: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.12rem;
    white-space: normal;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 10px 20px rgba(17, 82, 147, 0.1);
  }

  .admin-nav-page .nav-links.open {
    max-height: 260px;
  }

  .admin-nav-page .nav-links a {
    width: 100%;
    text-align: center;
    border: 0;
    background: transparent;
    border-radius: 10px;
    padding: 0.55rem 0.8rem;
    font-size: 0.95rem;
  }

  .admin-nav-page .nav-links a.active {
    border-color: transparent;
    background: #e3efff;
    color: #115293;
  }

  .admin-home-page .logo {
    font-size: 1rem;
  }

  .admin-home-page .nav-actions .btn {
    min-height: 42px;
  }

  .admin-home-page .nav-links a {
    padding: 0.42rem 0.78rem;
    font-size: 0.88rem;
  }

  .admin-home-page .nav-actions {
    order: 2;
  }

  .admin-home-page .nav-links {
    order: 3;
  }

  .menu-toggler {
    display: inline-flex;
  }

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

  .search-card button {
    width: 100%;
    padding: 0.75rem 1rem;
  }

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

  .hero-ctas .btn {
    width: 100%;
  }

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

  .whatsapp-box {
    flex-direction: column;
    text-align: center;
  }

  .review-form-row {
    grid-template-columns: 1fr;
  }
}

/* Viewport toggle helper classes (for developer preview) */
.force-mobile .desktop-only,
.force-mobile .desktop-hidden {
  display: none !important;
}
.force-mobile .mobile-only,
.force-mobile .mobile-visible {
  display: block !important;
}

.force-desktop .mobile-only,
.force-desktop .mobile-hidden {
  display: none !important;
}
.force-desktop .desktop-only,
.force-desktop .desktop-visible {
  display: block !important;
}

.force-mobile .container,
.force-mobile .hero-content,
.force-mobile .booking-form-section,
.force-mobile .contact-grid {
  max-width: 540px;
  width: min(95vw, 540px);
}

.force-desktop .container {
  width: min(1200px, 94vw);
}

.viewport-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.22rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  margin-left: 0.4rem;
}

@media (max-width: 768px) {
  .viewport-status { font-size: 0.7rem; padding: 0.2rem 0.5rem; }
}

/* Booking status styles */
.status-pending { color: #ff9800; font-weight: bold; }
.status-confirmed { color: #2196f3; font-weight: bold; }
.status-completed { color: #4caf50; font-weight: bold; }
.status-cancelled { color: #f44336; font-weight: bold; }

/* Followup status styles */
.followup-textarea {
  width: 100%;
  min-height: 60px;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  margin: 0.5rem 0;
  resize: vertical;
}

.update-followup-btn {
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

