/* RESET & BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: #fafafa;
  color: #1a1a1a;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ─── Anti-flicker: applied from <head> before body renders ─────────────────
   html.is-loggedin is set by an inline <head> script that reads localStorage,
   so these rules are active before the nav element ever paints.              */
html.is-loggedin a[href*="provider/signup"] { display: none !important; }
/* Hide nav button text on every page until auth.js confirms the correct text.
   For guests: IIFE adds auth-ready immediately → "Log in" visible right away.
   For logged-in: IIFE sets first_name (transparent), updateNavigation adds auth-ready. */
html:not(.auth-ready) .nav-btn { color: transparent !important; }

/* NAVIGATION */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  border-bottom: 1px solid #e8e8e8;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.logo {
  font-size: 22px;
  font-weight: 700;
  color: #E67E22;
  letter-spacing: -0.8px;
  cursor: pointer;
  transition: transform 0.2s;
}
.logo:hover { transform: scale(1.02); }
.logo span { color: #1a1a1a; }
.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  cursor: pointer;
  text-decoration: none;
  color: #666;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E67E22;
  transition: width 0.2s;
}
.nav-links a:hover { color: #1a1a1a; }
.nav-links a:hover::after { width: 100%; }
.nav-btn {
  background: #E67E22;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.2);
}
.nav-btn:hover {
  background: #D35400;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}
.user-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  min-width: 200px;
  z-index: 100;
  animation: slideDown 0.2s ease-out;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.user-menu-item {
  padding: 14px 18px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
  color: #333;
}
.user-menu-item:hover {
  background: #FDF3E7;
  color: #E67E22;
}
.user-menu-item:first-child { border-radius: 12px 12px 0 0; }
.user-menu-item:last-child { border-radius: 0 0 12px 12px; }

/* HERO SECTION */
.hero {
  padding: 80px 32px 64px;
  text-align: center;
  background: linear-gradient(160deg, #FDF3E7 0%, #fafafa 70%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 16px;
  letter-spacing: -1.5px;
  position: relative;
}
.hero h1 em {
  color: #E67E22;
  font-style: normal;
  background: linear-gradient(120deg, #1D9E75 0%, #D35400 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 17px;
  color: #555;
  margin-bottom: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
  position: relative;
}

/* SEARCH BAR */
.search-bar {
  display: flex;
  max-width: 680px;
  margin: 0 auto;
  border: 2px solid #d0d0d0;
  border-radius: 16px;
  overflow: visible;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transition: all 0.3s;
  position: relative;
}
.search-bar:focus-within {
  border-color: #E67E22;
  box-shadow: 0 12px 40px rgba(230, 126, 34, 0.15);
  transform: translateY(-2px);
}
.search-bar select, .search-bar input {
  border: none;
  outline: none;
  padding: 17px 18px;
  font-size: 15px;
  background: transparent;
  color: #1a1a1a;
  flex: 1;
  font-weight: 500;
}
.search-bar select {
  border-right: 1px solid #e8e8e8;
  max-width: 220px;
  cursor: pointer;
}
.search-bar button {
  background: #E67E22;
  color: #fff;
  border: none;
  padding: 17px 36px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  transition: all 0.2s;
}
.search-bar button:hover {
  background: #D35400;
}

/* AUTOCOMPLETE */
.autocomplete-wrapper { position: relative; flex: 1; }
.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d0d0d0;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
  animation: slideDown 0.2s ease-out;
}
.autocomplete-item {
  padding: 14px 18px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid #f5f5f5;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.15s;
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.active {
  background: #FDF3E7;
  color: #E67E22;
}
.autocomplete-item strong { color: #1D9E75; font-weight: 600; }
.autocomplete-item .region { font-size: 12px; color: #999; margin-left: 8px; }

/* CATEGORY PILLS */
.categories {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
  position: relative;
}
.cat-pill {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid #d0d0d0;
  font-size: 14px;
  cursor: pointer;
  color: #555;
  background: #fff;
  transition: all 0.2s;
  font-weight: 500;
}
.cat-pill:hover, .cat-pill.active {
  background: #E67E22;
  color: #fff;
  border-color: #E67E22;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.25);
}

/* SECTIONS */
.section {
  padding: 64px 32px;
  max-width: 1120px;
  margin: 0 auto;
}
.section-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
}
hr.divider {
  border: none;
  border-top: 1px solid #ebebeb;
  max-width: 1120px;
  margin: 0 auto;
}

/* HOW IT WORKS */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.how-card {
  text-align: center;
  padding: 32px 24px;
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  transition: all 0.3s;
  position: relative;
}
.how-card:hover {
  border-color: #E67E22;
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.how-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FDF3E7 0%, #F39C12 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 28px;
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.15);
}
.how-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1a1a1a;
}
.how-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}

/* PROVIDER CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.card, .provider-card {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
}
.card:hover, .provider-card:hover {
  border-color: #E67E22;
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.card-img {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, #FDF3E7 0%, #F39C12 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  position: relative;
  overflow: hidden;
}
.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.05) 100%);
}
.card-body { padding: 20px 22px 22px; }
.card-title {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 4px;
  color: #1a1a1a;
}
.card-location {
  font-size: 13px;
  color: #777;
  margin-bottom: 2px;
}
.card-cat {
  font-size: 13px;
  color: #E67E22;
  font-weight: 600;
  margin-bottom: 12px;
}
.card-rating {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-price {
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 700;
}

/* FILTERS */
.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-select {
  border: 1.5px solid #d0d0d0;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  background: #fff;
  color: #1a1a1a;
  outline: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s;
}
.filter-select:hover {
  border-color: #E67E22;
  box-shadow: 0 2px 8px rgba(230, 126, 34, 0.1);
}
.filter-label {
  font-size: 14px;
  color: #777;
  font-weight: 600;
}
.result-count {
  font-size: 14px;
  color: #777;
  margin-left: auto;
  font-weight: 500;
}

/* PROFILE PAGE */
.profile-back {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  cursor: pointer;
  padding: 24px 32px 0;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  font-weight: 500;
  transition: all 0.2s;
}
.profile-back:hover {
  color: #E67E22;
  gap: 12px;
}
.profile-header {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 32px 32px 40px;
  max-width: 1120px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.profile-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F39C12 0%, #1D9E75 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(230, 126, 34, 0.25);
}
.profile-info { flex: 1; min-width: 280px; }
.profile-info h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.profile-info .location {
  font-size: 15px;
  color: #777;
  margin-bottom: 12px;
  font-weight: 500;
}
.badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #FDF3E7;
  color: #D35400;
  font-weight: 600;
  margin-bottom: 16px;
}
.profile-stats {
  display: flex;
  gap: 32px;
  margin-top: 16px;
}
.stat { text-align: center; }
.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}
.stat-label {
  font-size: 13px;
  color: #777;
  margin-top: 4px;
  font-weight: 500;
}
.profile-book-btn {
  background: #E67E22;
  color: #fff;
  border: none;
  padding: 15px 40px;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 700;
  margin-top: 20px;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3);
}
.profile-book-btn:hover {
  background: #D35400;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}
.profile-body {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.profile-section {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
}
.profile-section:hover {
  border-color: #d0d0d0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.profile-section h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.service-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 15px;
  font-weight: 500;
}
.service-row:last-child { border-bottom: none; }
.service-price {
  font-weight: 700;
  color: #E67E22;
  font-size: 16px;
}
.review {
  padding: 16px 0;
  border-bottom: 1px solid #f5f5f5;
}
.review:last-child { border-bottom: none; }
.review-author {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.review-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* BOOKING MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  width: 440px;
  max-width: 95vw;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.modal h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.modal-sub {
  font-size: 15px;
  color: #777;
  margin-bottom: 28px;
}
.modal label {
  font-size: 14px;
  color: #555;
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}
.modal select, .modal input[type="date"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #d0d0d0;
  border-radius: 10px;
  font-size: 15px;
  margin-bottom: 20px;
  outline: none;
  font-weight: 500;
  transition: all 0.2s;
}
.modal select:focus, .modal input:focus {
  border-color: #E67E22;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}
.deposit-box {
  background: linear-gradient(135deg, #FDF3E7 0%, #d0f0e5 100%);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 28px;
  font-size: 14px;
  color: #D35400;
  line-height: 1.6;
  font-weight: 500;
  border: 1px solid rgba(211, 84, 0, 0.1);
}
.modal-actions {
  display: flex;
  gap: 12px;
}
.modal-actions button {
  flex: 1;
  padding: 14px;
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s;
}
.btn-secondary {
  background: #fff;
  border: 1.5px solid #d0d0d0;
  color: #1a1a1a;
}
.btn-secondary:hover {
  border-color: #999;
  background: #f5f5f5;
}
.btn-primary {
  background: #E67E22;
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}
.btn-primary:hover {
  background: #D35400;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(230, 126, 34, 0.4);
}

/* AUTH PAGES */
.auth-container {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  background: linear-gradient(160deg, #FDF3E7 0%, #fafafa 70%);
}
.auth-box {
  background: #fff;
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  max-width: 500px;
  width: 100%;
  animation: slideUp 0.3s ease-out;
}
.auth-box h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #1a1a1a;
  letter-spacing: -0.5px;
}
.auth-subtitle {
  font-size: 15px;
  color: #666;
  margin-bottom: 36px;
  line-height: 1.6;
}
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}
.form-group input, .form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #d0d0d0;
  border-radius: 10px;
  font-size: 15px;
  outline: none;
  transition: all 0.2s;
  font-weight: 500;
}
.form-group input:focus {
  border-color: #E67E22;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.auth-btn {
  width: 100%;
  background: #E67E22;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3);
}
.auth-btn:hover:not(:disabled) {
  background: #D35400;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}
.auth-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.auth-btn-secondary {
  width: 100%;
  background: #fff;
  color: #333;
  border: 1.5px solid #d0d0d0;
  padding: 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.auth-btn-secondary:hover {
  border-color: #E67E22;
  background: #FDF3E7;
  color: #E67E22;
}
.auth-divider {
  display: flex;
  align-items: center;
  margin: 28px 0;
  color: #999;
  font-size: 14px;
}
.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e0e0e0;
}
.auth-divider span { padding: 0 16px; }
.auth-footer {
  text-align: center;
  margin-top: 28px;
  font-size: 14px;
  color: #666;
}
.auth-footer a {
  color: #E67E22;
  text-decoration: none;
  font-weight: 700;
}
.auth-footer a:hover {
  text-decoration: underline;
}

/* PROVIDER SIGNUP - keeping existing styles with slight enhancement */
.signup-wrap { max-width: 660px; margin: 0 auto; padding: 56px 32px; }
.signup-wrap h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.5px; }
.signup-wrap .signup-sub { font-size: 16px; color: #666; margin-bottom: 40px; line-height: 1.7; }
.form-card { background: #fff; border: 1px solid #ebebeb; border-radius: 20px; padding: 40px; box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.form-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.3px; }
.form-card .form-desc { font-size: 15px; color: #666; margin-bottom: 32px; line-height: 1.6; }
.form-group textarea { resize: vertical; min-height: 100px; padding: 14px 16px; border: 1.5px solid #d0d0d0; border-radius: 10px; font-size: 15px; outline: none; font-family: inherit; font-weight: 500; transition: all 0.2s; width: 100%; box-sizing: border-box; }
.form-group textarea:focus { border-color: #1D9E75; box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1); }
.form-nav { display: flex; gap: 14px; margin-top: 32px; }
.form-nav .btn-back { background: #fff; border: 1.5px solid #d0d0d0; color: #1a1a1a; padding: 14px 28px; border-radius: 10px; font-size: 15px; cursor: pointer; font-weight: 700; transition: all 0.2s; }
.form-nav .btn-back:hover { border-color: #999; background: #f5f5f5; }
.form-nav .btn-next { background: #1D9E75; color: #fff; border: none; padding: 14px 36px; border-radius: 10px; font-size: 15px; cursor: pointer; font-weight: 700; flex: 1; transition: all 0.2s; box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3); }
.form-nav .btn-next:hover { background: #D35400; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(230, 126, 34, 0.4); }

/* RESPONSIVE DESIGN */
/* Mobile Menu Hamburger Icon */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #222;
  padding: 8px;
}

.mobile-nav-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 999;
}

.mobile-nav-menu.active {
  display: block;
}

.mobile-nav-menu a {
  display: block;
  padding: 16px 24px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #f5f5f5;
  font-weight: 600;
}

.mobile-nav-menu a:hover {
  background: #FDF3E7;
  color: #E67E22;
}

@media (max-width: 768px) {
  /* Navigation */
  .nav { padding: 14px 20px; }
  .nav-links { display: none; }
  .mobile-menu-toggle { display: block; }

  /* Hero Section */
  .hero { padding: 60px 24px 48px; }
  .hero h1 { font-size: 28px; line-height: 1.3; }
  .hero p { font-size: 15px; }

  /* Search Bar */
  .search-bar { flex-direction: column; border-radius: 16px; }
  .search-bar select { max-width: 100%; border-right: none; border-bottom: 1px solid #e8e8e8; }
  .search-bar button { border-radius: 0 0 16px 16px; }

  /* Grid Layouts */
  .how-grid { grid-template-columns: 1fr; gap: 20px; }
  .cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .form-row { grid-template-columns: 1fr; }

  /* Profile Pages */
  .profile-header { padding: 24px 20px 32px; flex-direction: column; align-items: flex-start; }
  .profile-body { grid-template-columns: 1fr; padding: 0 20px 48px; }
  .profile-info { min-width: 100%; }

  /* Modal Improvements */
  .modal {
    width: calc(100vw - 32px);
    max-width: none;
    max-height: 90vh;
    overflow-y: auto;
    margin: 16px;
  }

  .modal h3 { font-size: 20px; }
  .modal label { font-size: 14px; }
  .modal-actions { flex-direction: column; gap: 12px; }
  .modal-actions button { width: 100%; }

  /* Sections */
  .section { padding: 48px 24px; }
  .section-title { font-size: 24px; }

  /* Auth Pages */
  .auth-box { padding: 36px 24px; }

  /* Provider Cards */
  .provider-card { padding: 20px; }
  .provider-card h3 { font-size: 18px; }

  /* Tables */
  table { font-size: 14px; }
  th, td { padding: 10px 8px; }

  /* Buttons */
  .btn-primary, .btn-secondary { padding: 12px 20px; font-size: 14px; }

  /* Hide desktop-specific elements on mobile */
  .desktop-only { display: none !important; }
}

/* Additional calendar, success, and utility styles retained from original */
.calendar { background: #fff; border: 1px solid #ebebeb; border-radius: 16px; padding: 24px; margin-bottom: 24px; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.calendar-month { font-size: 18px; font-weight: 700; }
.calendar-nav { display: flex; gap: 12px; }
.calendar-nav button { background: none; border: 1.5px solid #d0d0d0; border-radius: 8px; padding: 8px 14px; cursor: pointer; font-size: 14px; font-weight: 600; transition: all 0.2s; }
.calendar-nav button:hover { border-color: #1D9E75; color: #1D9E75; background: #FDF3E7; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.calendar-day-header { text-align: center; font-size: 12px; font-weight: 700; color: #999; padding: 10px; }
.calendar-day { text-align: center; padding: 12px; border-radius: 10px; font-size: 14px; cursor: pointer; border: 1px solid transparent; font-weight: 600; transition: all 0.2s; }
.calendar-day:hover { background: #FDF3E7; }
.calendar-day.available { background: #fff; border-color: #d0d0d0; }
.calendar-day.available:hover { border-color: #1D9E75; background: #FDF3E7; }
.calendar-day.booked { background: #f5f5f5; color: #999; cursor: not-allowed; text-decoration: line-through; }
.calendar-day.selected { background: #1D9E75; color: #fff; border-color: #1D9E75; box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3); }
.calendar-day.empty { cursor: default; }
.success-box { text-align: center; padding: 80px 32px; max-width: 480px; margin: 0 auto; }
.success-icon { width: 88px; height: 88px; border-radius: 50%; background: linear-gradient(135deg, #FDF3E7 0%, #F39C12 100%); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; font-size: 40px; color: #1D9E75; font-weight: 700; box-shadow: 0 8px 24px rgba(230, 126, 34, 0.2); }
.success-box h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.success-box p { font-size: 16px; color: #666; margin-bottom: 32px; line-height: 1.7; }
.success-box .btn-primary { width: 100%; padding: 16px; border-radius: 10px; font-size: 16px; cursor: pointer; font-weight: 700; background: #1D9E75; color: #fff; border: none; box-shadow: 0 4px 16px rgba(230, 126, 34, 0.3); transition: all 0.2s; }
.success-box .btn-primary:hover { background: #D35400; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4); }

/* Utility classes */
.steps { display: flex; align-items: flex-start; margin-bottom: 40px; }
.step { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; }
.step:not(:last-child)::after { content: ''; position: absolute; top: 16px; left: 55%; width: 90%; height: 2px; background: #e8e8e8; z-index: 0; }
.step:not(:last-child).done::after { background: #1D9E75; }
.step-circle { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #e8e8e8; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #aaa; z-index: 1; transition: all 0.2s; }
.step.active .step-circle { border-color: #1D9E75; background: #1D9E75; color: #fff; box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3); }
.step.done .step-circle { border-color: #1D9E75; background: #1D9E75; color: #fff; }
.step-label { font-size: 12px; color: #aaa; margin-top: 8px; text-align: center; font-weight: 600; }
.step.active .step-label, .step.done .step-label { color: #1D9E75; }
.form-hint { font-size: 13px; color: #999; margin-top: 6px; line-height: 1.5; }
.info-box { background: linear-gradient(135deg, #FDF3E7 0%, #d0f0e5 100%); border-radius: 12px; padding: 16px 18px; font-size: 14px; color: #D35400; line-height: 1.7; margin-bottom: 24px; font-weight: 500; border: 1px solid rgba(211, 84, 0, 0.1); }
.info-box a { color: #E67E22; text-decoration: underline; font-weight: 600; pointer-events: auto; position: relative; z-index: 10; }
.info-box a:hover { color: #D35400; }
.upload-area { border: 2px dashed #d0d0d0; border-radius: 16px; padding: 40px 24px; text-align: center; cursor: pointer; transition: all 0.2s; background: #fafafa; margin-bottom: 20px; }
.upload-area:hover, .upload-area.uploaded { border-color: #1D9E75; background: #FDF3E7; }
.upload-icon { font-size: 40px; margin-bottom: 12px; }
.upload-title { font-size: 16px; font-weight: 700; color: #1a1a1a; margin-bottom: 6px; }
.upload-sub { font-size: 14px; color: #999; }
.upload-success { font-size: 14px; color: #1D9E75; font-weight: 700; margin-top: 10px; display: none; }
.upload-area.uploaded .upload-success { display: block; }
.upload-area.uploaded .upload-sub { display: none; }
.pending-box { text-align: center; padding: 72px 32px; max-width: 520px; margin: 0 auto; }
.pending-icon { width: 96px; height: 96px; border-radius: 50%; background: linear-gradient(135deg, #FDF3E7 0%, #F39C12 100%); display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; font-size: 44px; box-shadow: 0 8px 24px rgba(230, 126, 34, 0.2); }
.pending-box h2 { font-size: 32px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }
.pending-box p { font-size: 16px; color: #666; margin-bottom: 10px; line-height: 1.7; }
.service-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.service-item { display: flex; gap: 12px; align-items: center; }
.service-item input { flex: 1; padding: 12px 14px; border: 1.5px solid #d0d0d0; border-radius: 10px; font-size: 15px; outline: none; font-weight: 500; transition: all 0.2s; }
.service-item input:focus { border-color: #1D9E75; box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1); }
.service-item .price-input { max-width: 110px; }
.service-item .remove-btn { background: none; border: none; color: #ccc; font-size: 22px; cursor: pointer; padding: 6px; line-height: 1; flex-shrink: 0; transition: color 0.2s; }
.service-item .remove-btn:hover { color: #e53e3e; }
.add-service-btn { background: none; border: 2px dashed #1D9E75; color: #1D9E75; padding: 12px 18px; border-radius: 10px; font-size: 14px; cursor: pointer; font-weight: 700; width: 100%; transition: all 0.2s; }
.add-service-btn:hover { background: #FDF3E7; border-style: solid; }

/* FOOTER */
.footer {
  background: #2c2c2c;
  color: #ccc;
  padding: 48px 32px 32px;
  margin-top: 80px;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}
.footer-section h3 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-section p {
  color: #999;
  font-size: 14px;
  line-height: 1.7;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #E67E22;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid #444;
  text-align: center;
  color: #888;
  font-size: 13px;
}
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
