:root {
  --bg: #fafcfb;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --brand: #14532d; /* dark green */
  --brand-contrast: #f5f7f5; /* text on brand backgrounds */
  --accent-gold: #d4af37; /* gold */
  --highlight-orange: #f59e0b; /* orange highlight */
  --line: #e5e5e5;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);height:100%}
body{display:flex;flex-direction:column}
a{color:var(--accent-gold);text-decoration:none}
a:hover{color:var(--highlight-orange);text-decoration:underline}
.container{max-width:1000px;margin:0 auto;padding:24px}
.site-header,.site-footer{border-bottom:1px solid #0e372a;border-top:1px solid #0e372a;background:var(--brand);color:var(--brand-contrast)}
.site-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;position:sticky;top:0;z-index:1000}
.logo{font-weight:700;color:var(--accent-gold);position:relative;display:block;height:56px}
.site-header{overflow:visible}
.logo-img{height:126px;width:auto;display:block;position:absolute;top:50%;left:0;transform:translateY(-50%);}
.nav a{margin-left:12px;color:var(--brand-contrast)}
.nav a:hover{color:var(--accent-gold)}
.hero{padding:48px 0;position:relative}
/* Subtle brand gradient overlay for hero */
.hero::before{
  content:"";
  position:absolute;inset:0;z-index:0;
  background: linear-gradient(135deg, rgba(20,83,45,0.75) 0%, rgba(20,83,45,0.4) 40%, rgba(212,175,55,0.15) 100%);
  pointer-events:none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s cubic-bezier(.4,0,.2,1);
}
.hero-bg img.opacity-100 {
  opacity: 1;
  z-index: 1;
}
.hero-bg img.opacity-0 {
  opacity: 0;
  z-index: 0;
}
.hero-bg .bg-black {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.4;
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.hero-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.hero-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: color-mix(in oklab, var(--accent-gold) 30%, transparent);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}
.hero-indicators .bg-white { background: var(--accent-gold); }
.hero-indicators .scale-125 {
  transform: scale(1.25);
}
.hero-indicators .bg-white\/50 { background: color-mix(in oklab, var(--accent-gold) 60%, transparent); }
.hero-indicators .hover\:bg-white\/75:hover { background: var(--highlight-orange); }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 1s forwards;
}
.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Button hover effect */
.btn-hover {
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.btn-hover:hover { background: var(--accent-gold); color: #141418; transform: translateY(-2px) scale(1.05); }

/* Feature card animation */
.feature-card {
  transition: box-shadow 0.3s, transform 0.3s;
}
.feature-card:hover { box-shadow: 0 4px 24px rgba(20,83,45,0.25), 0 1px 0 #0004; transform: translateY(-4px) scale(1.03); }
.lead{color:var(--muted)}
.hero .lead{color:#e7efe9}
.hero h1,.hero p{color:var(--brand-contrast)}
.hero input{background:rgba(255,255,255,0.9);color:#0f172a;border-color:#d1d5db}
.features{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:24px 0}
.card{background:var(--card);border:1px solid var(--line);padding:16px;border-radius:14px;box-shadow:0 1px 0 #0001}
.btn{display:inline-block;padding:10px 14px;border-radius:12px;border:1px solid var(--accent-gold);background:var(--accent-gold);color:#1a1a1a;cursor:pointer;transition:background 0.3s,color 0.3s,transform 0.2s}
.btn-ghost{border-color:var(--accent-gold);color:var(--accent-gold);background:transparent}
.btn:hover,.btn-ghost:hover{background:var(--brand);color:var(--brand-contrast);transform:translateY(-2px) scale(1.05)}
.cta-section .btn{border-color:var(--accent-gold)}
.cta-section .btn:hover{background:var(--brand);color:var(--brand-contrast)}

/* Google login button styles */
.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  font-weight: 500;
  margin-bottom: 16px;
}

.btn-google:hover {
  background: #f8f9fa;
  border-color: #ccc;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Divider styles */
.divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.divider span {
  background: var(--bg);
  padding: 0 16px;
  color: var(--muted);
  font-size: 14px;
  position: relative;
  z-index: 1;
}
.filters{display:grid;grid-template-columns:1fr 160px 160px auto;gap:8px;margin:12px 0}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.card .meta{color:var(--muted);font-size:14px}
.pager{display:flex;gap:8px;justify-content:center;margin:16px 0}
.pager button{padding:8px 12px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--text)}
input,select{width:100%;padding:10px;border-radius:10px;border:1px solid var(--line);background:#fafafa;color:var(--text)}
input:focus,select:focus{outline:none;border-color:var(--accent-gold);box-shadow:0 0 0 3px rgba(212,175,55,0.25)}
.auth-card{max-width:360px;background:var(--card);border:1px solid var(--line);padding:16px;border-radius:14px}
.row{display:flex;gap:8px;margin-top:8px}
.small{color:var(--muted);font-size:12px}
/* Dropdown navigation styles */
.nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 32px; }
.dropdown { position: relative; display: inline-block; }
.dropbtn {
  background: none;
  border: none;
  font: inherit;
  color: var(--brand-contrast);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.2s;
}
.dropbtn:hover, .dropbtn:focus { background: color-mix(in oklab, var(--accent-gold) 12%, transparent); }
.dropdown-content {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 4px 24px #0001;
  z-index: 1001;
  padding: 8px 0;
}
.dropdown-content a {
  color: #222;
  padding: 8px 20px;
  text-decoration: none;
  display: block;
  font-size: 1rem;
  border-radius: 6px;
  transition: background 0.2s;
}
.dropdown-content a:hover { background: color-mix(in oklab, var(--accent-gold) 18%, #ffffff); }
.dropdown:hover .dropdown-content, .dropdown:focus-within .dropdown-content {
  display: block;
}
@media (max-width: 900px) {
  .nav { gap: 12px; }
  .dropdown-content { min-width: 160px; }
}
@media (max-width:640px){.filters{grid-template-columns:1fr;}.nav a{margin-left:8px}}
@media (max-width:1024px){.logo{height:auto;display:flex;align-items:center}.logo-img{position:static;transform:none;height:72px}}
@media (max-width:640px){.logo-img{height:56px}}

/* CTA section brand background override (overrides inline background) */
.cta-section { background: linear-gradient(135deg, #0b3d2e 0%, #14532d 65%, #d4af37 120%) !important; color: var(--brand-contrast); }

/* Sticky footer layout */
main, .container {
  flex: 1;
}

.site-footer {
  margin-top: auto;
}

/* Member Profile Styles */
.member-profile-header {
  margin-bottom: 32px;
}

.profile-welcome {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(135deg, var(--brand), #2d7d39);
  border-radius: 16px;
  color: white;
}

.profile-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

.profile-info {
  flex: 1;
}

.profile-info h1 {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.user-email {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.user-role {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.profile-actions {
  display: flex;
  gap: 12px;
}

.profile-actions .btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.profile-actions .btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Dashboard Stats */
.dashboard-stats {
  margin-bottom: 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  font-size: 2rem;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--accent-gold));
  border-radius: 12px;
}

.stat-info h3 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand);
}

.stat-info p {
  margin: 4px 0 0 0;
  color: #666;
  font-size: 0.9rem;
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid #f0f0f0;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn:hover {
  background: rgba(20, 83, 45, 0.1);
  color: var(--brand);
}

.tab-btn.active {
  color: var(--brand);
  background: rgba(20, 83, 45, 0.1);
}

.tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
}

/* Tab Content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.dashboard-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

.dashboard-card h3 {
  margin: 0 0 16px 0;
  color: var(--brand);
  font-size: 1.1rem;
}

/* Booking Items */
.booking-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 12px;
}

.booking-info h4 {
  margin: 0 0 4px 0;
  font-size: 1rem;
}

.booking-info p {
  margin: 0 0 4px 0;
  color: #666;
  font-size: 0.9rem;
}

.booking-date {
  font-size: 0.85rem;
  color: #888;
}

.booking-status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.booking-status.confirmed {
  background: #d4edda;
  color: #155724;
}

.booking-status.completed {
  background: #cce5ff;
  color: #004085;
}

.view-all-link {
  color: var(--brand);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

.view-all-link:hover {
  text-decoration: underline;
}

/* Recommendations */
.recommendation-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 12px;
}

.recommendation-image {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.recommendation-info {
  flex: 1;
}

.recommendation-info h4 {
  margin: 0 0 4px 0;
  font-size: 0.95rem;
}

.recommendation-info p {
  margin: 0 0 4px 0;
  color: #666;
  font-size: 0.85rem;
}

.recommendation-rating {
  font-size: 0.8rem;
  color: #888;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.85rem;
}

/* Loyalty Progress */
.loyalty-progress {
  text-align: center;
}

.loyalty-info p {
  margin: 8px 0;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e5e5;
  border-radius: 4px;
  margin: 16px 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, var(--brand), var(--accent-gold));
  transition: width 0.3s ease;
}

.loyalty-rewards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.reward-badge {
  background: var(--brand);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.next-reward {
  color: #666;
  font-size: 0.85rem;
}

/* Bookings Header */
.bookings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.booking-filters {
  display: flex;
  gap: 8px;
}

.filter-btn {
  background: none;
  border: 1px solid #e5e5e5;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: #666;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.empty-state h3 {
  margin: 0 0 8px 0;
  color: #333;
}

.empty-state p {
  margin: 0 0 24px 0;
}

/* Profile Form */
.profile-form {
  max-width: 600px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.profile-form label {
  display: block;
  margin-bottom: 16px;
  font-weight: 500;
  color: #333;
}

.profile-form input,
.profile-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-top: 4px;
}

.profile-form input:focus,
.profile-form select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(20, 83, 45, 0.1);
}

.checkbox-group {
  margin: 16px 0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

/* Dual Login Styles */
.auth-selection {
  text-align: center;
  margin-bottom: 32px;
}

.auth-subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.user-type-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.user-type-card {
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.user-type-card:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(20, 83, 45, 0.15);
}

.user-type-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.user-type-card h3 {
  margin: 0 0 12px 0;
  color: var(--brand);
  font-size: 1.3rem;
}

.user-type-card p {
  margin: 0 0 20px 0;
  color: #666;
  line-height: 1.5;
}

.user-type-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  text-align: left;
}

.user-type-features li {
  padding: 6px 0;
  color: #555;
  font-size: 0.9rem;
  position: relative;
  padding-left: 20px;
}

.user-type-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: bold;
}

.user-type-btn {
  width: 100%;
  margin-top: auto;
}

.auth-form {
  max-width: 400px;
  margin: 0 auto;
}

.auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.back-btn {
  background: none;
  border: none;
  color: var(--brand);
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.back-btn:hover {
  background: rgba(20, 83, 45, 0.1);
}

.auth-header h2 {
  margin: 0 0 8px 0;
  color: var(--brand);
}

.auth-header p {
  margin: 0;
  color: #666;
}

@media (max-width: 768px) {
  .user-type-selection {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .user-type-card {
    padding: 24px 20px;
  }
  
  .user-type-features {
    text-align: center;
  }
}

/* Provider-specific styling */
.user-type-card[data-type="provider"] {
  border-color: #ffc107;
}

.user-type-card[data-type="provider"]:hover {
  border-color: #ffc107;
  box-shadow: 0 12px 30px rgba(255, 193, 7, 0.15);
}

.user-type-card[data-type="provider"] h3 {
  color: #ffc107;
}

.user-type-card[data-type="provider"] .user-type-features li::before {
  color: #ffc107;
}

/* Provider Dashboard Styles */
.provider-profile-header {
  margin-bottom: 32px;
}

.provider-welcome {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #ffc107, #ff8f00);
  border-radius: 16px;
  color: white;
}

.provider-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

.provider-info {
  flex: 1;
}

.provider-info h1 {
  margin: 0 0 8px 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.business-email {
  margin: 0 0 8px 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.business-status {
  display: flex;
  gap: 16px;
  align-items: center;
}

.business-categories {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.business-rating {
  font-size: 0.9rem;
  opacity: 0.9;
}

.provider-actions {
  display: flex;
  gap: 12px;
}

.provider-actions .btn {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
}

.provider-actions .btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Business Stats */
.business-stats {
  margin-bottom: 32px;
}

/* Performance Metrics */
.performance-metrics {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.metric-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

.metric-label {
  color: #666;
  font-size: 0.9rem;
}

.metric-value {
  font-weight: 600;
  color: var(--brand);
}

.metric-trend {
  font-size: 1.2rem;
}

.metric-trend.positive {
  color: #28a745;
}

.metric-trend.negative {
  color: #dc3545;
}

.metric-trend.neutral {
  color: #6c757d;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.action-btn:hover {
  background: rgba(255, 193, 7, 0.1);
  border-color: #ffc107;
  transform: translateY(-1px);
}

.action-icon {
  font-size: 1.5rem;
}

/* Business Profile Form */
.business-profile-settings {
  max-width: 800px;
}

.business-form {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

.form-section {
  margin-bottom: 32px;
}

.form-section h4 {
  margin: 0 0 16px 0;
  color: #ffc107;
  font-size: 1.1rem;
  border-bottom: 2px solid #ffc107;
  padding-bottom: 8px;
}

.business-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 0.95rem;
  margin-top: 4px;
  resize: vertical;
  min-height: 100px;
}

/* Business Management */
.businesses-management {
  max-width: 1200px;
}

.businesses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.businesses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.business-card {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  position: relative;
}

.business-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.business-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.business-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffc107;
  margin: 0 0 4px 0;
}

.business-type {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.business-actions {
  display: flex;
  gap: 8px;
}

.business-info {
  margin-bottom: 16px;
}

.business-description {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 8px 0;
}

.business-services {
  font-size: 0.85rem;
  color: #888;
  font-style: italic;
}

.business-location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #666;
  font-size: 0.9rem;
  margin: 12px 0 8px 0;
}

.business-contact {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: #666;
}

.business-status {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
}

.business-status.active {
  background: #d4edda;
  color: #155724;
}

.business-status.inactive {
  background: #f8d7da;
  color: #721c24;
}

.business-status.unclaimed {
  background: #fff3cd;
  color: #856404;
}

/* Claim-specific styles */
.claim-card {
  border: 2px dashed #17a2b8;
  background: linear-gradient(135deg, rgba(23, 162, 184, 0.05), rgba(23, 162, 184, 0.1));
}

.claim-card:hover {
  border-color: #138496;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(23, 162, 184, 0.2);
}

.claim-notice {
  margin-top: 16px;
  padding: 12px;
  background: rgba(23, 162, 184, 0.1);
  border-radius: 8px;
  border-left: 3px solid #17a2b8;
}

.claim-notice p {
  margin: 0;
  font-size: 0.9rem;
  color: #0c5460;
}

/* Modal Styles */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 16px 24px;
  border-bottom: 1px solid #e5e5e5;
}

.modal-header h3 {
  margin: 0;
  color: #ffc107;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
  padding: 4px;
  line-height: 1;
}

.modal-close:hover {
  color: #333;
}

.modal .business-form {
  padding: 24px;
  margin: 0;
  border: none;
}

/* Business Hours Grid */
.hours-grid {
  display: grid;
  gap: 12px;
}

.hours-day {
  display: grid;
  grid-template-columns: 80px 1fr auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding: 8px;
  background: #f8f9fa;
  border-radius: 8px;
}

.hours-day span:first-child {
  font-weight: 500;
  color: #333;
}

.hours-day input[type="time"] {
  padding: 6px 8px;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  font-size: 0.85rem;
}

.hours-day .checkbox-label {
  margin: 0;
  font-size: 0.85rem;
}

.hours-day .checkbox-label input[type="checkbox"] {
  margin-right: 4px;
}

/* Empty state for businesses */
.businesses-empty {
  text-align: center;
  padding: 64px 24px;
  color: #666;
}

.businesses-empty .empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.5;
}

.businesses-empty h3 {
  margin: 0 0 8px 0;
  color: #333;
}

.businesses-empty p {
  margin: 0 0 24px 0;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* Services Management */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

/* Analytics */
.analytics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.analytics-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

.analytics-card h4 {
  margin: 0 0 16px 0;
  color: #ffc107;
}

/* Chart Placeholder */
.chart-placeholder {
  text-align: center;
}

.chart-bars {
  display: flex;
  align-items: end;
  justify-content: space-between;
  height: 120px;
  margin-bottom: 12px;
  gap: 8px;
}

.chart-bar {
  background: linear-gradient(135deg, #ffc107, #ff8f00);
  border-radius: 4px 4px 0 0;
  flex: 1;
  min-height: 20px;
}

.chart-label {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

/* Demographics */
.demographics-data {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.demo-item span:first-child {
  min-width: 80px;
  color: #666;
}

.demo-item span:last-child {
  min-width: 30px;
  font-weight: 600;
  color: #ffc107;
}

.demo-bar {
  flex: 1;
  height: 8px;
  background: #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}

.demo-fill {
  height: 100%;
  background: linear-gradient(135deg, #ffc107, #ff8f00);
}

/* Popular Services */
.popular-services {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-rank {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
}

.service-rank .rank {
  width: 24px;
  height: 24px;
  background: #ffc107;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.service-name {
  flex: 1;
  font-weight: 500;
}

.service-count {
  color: #666;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .provider-welcome {
    flex-direction: column;
    text-align: center;
  }
  
  .business-status {
    flex-direction: column;
    gap: 8px;
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
  
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  
  .services-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* Notifications */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  animation: slideIn 0.3s ease;
}

.notification-success {
  border-left: 4px solid #28a745;
}

.notification-info {
  border-left: 4px solid #17a2b8;
}

.notification-warning {
  border-left: 4px solid #ffc107;
}

.notification-error {
  border-left: 4px solid #dc3545;
}

.notification-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 12px;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-close:hover {
  color: #333;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .profile-welcome {
    flex-direction: column;
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .bookings-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .tab-navigation {
    flex-wrap: wrap;
  }
  
  .notification {
    right: 10px;
    left: 10px;
    width: auto;
  }
}

/* Directory Card Styles */
.directory-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.directory-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(135deg, var(--brand), var(--accent-gold));
  border-radius: 16px 16px 0 0;
}

.directory-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

.directory-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.directory-card-category {
  background: linear-gradient(135deg, var(--brand), var(--accent-gold));
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.directory-card-category:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(20, 83, 45, 0.3);
}

.directory-card-category:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(20, 83, 45, 0.4);
}

.directory-card-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.directory-card-category:hover::before {
  left: 100%;
}

.directory-card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.status-open { background: #22c55e; }
.status-closed { background: #ef4444; }
.status-unknown { background: #94a3b8; }

.directory-card-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.directory-card-logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--line);
  background: #f8f9fa;
}

.directory-card-name {
  text-align: center;
  margin-bottom: 16px;
}

.directory-card-name h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.directory-card-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.directory-card-name a:hover {
  color: var(--brand);
}

.directory-card-reviews {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.rating-stars {
  display: flex;
  gap: 2px;
}

.rating-stars .star {
  color: #fbbf24;
  font-size: 0.9rem;
}

.rating-stars .star.empty {
  color: #e5e7eb;
}

.rating-info {
  color: var(--muted);
}

.distance-info {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.85rem;
}

.directory-card-description {
  text-align: center;
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.5;
  font-size: 0.95rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.directory-card-locations {
  text-align: center;
  margin-bottom: 20px;
}

.locations-list {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
  width: 100%;
}

.locations-list:hover {
  background: rgba(20, 83, 45, 0.1);
  color: var(--brand);
  transform: translateY(-1px);
}

.directory-card-action {
  display: flex;
  justify-content: center;
}

.directory-card .btn {
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.directory-card .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .directory-card {
    padding: 20px;
  }
  
  .directory-card-header {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  
  .directory-card-logo img {
    width: 70px;
    height: 70px;
  }
  
  .directory-card-name h3 {
    font-size: 1.1rem;
  }
}

/* Homepage Providers Section */
.top-providers {
  background: #fff;
  padding: 80px 0;
  text-align: center;
}

.providers-section-header {
  max-width: 800px;
  margin: 0 auto 48px;
}

.providers-section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--brand);
  font-weight: 700;
}

.providers-section-header p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Category Filter Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.category-tab {
  padding: 12px 24px;
  border: 2px solid var(--line);
  border-radius: 25px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.category-tab:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.category-tab.active {
  background: linear-gradient(135deg, var(--brand), var(--accent-gold));
  border-color: var(--brand);
  color: white;
}

/* Providers Grid */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.provider-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.provider-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--brand), var(--accent-gold));
}

.provider-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.provider-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.provider-category {
  background: rgba(20,83,45,0.1);
  color: var(--brand);
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.provider-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
}

.provider-status.open {
  color: #059669;
}

.provider-status.closed {
  color: #dc2626;
}

.provider-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.provider-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.3;
}

.provider-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.provider-stars {
  color: #fbbf24;
  font-size: 1rem;
}

.provider-rating-text {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.provider-reviews {
  color: var(--muted);
  font-size: 0.9rem;
}

.provider-distance {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.provider-price {
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.provider-card .btn {
  width: 100%;
  padding: 12px;
  font-weight: 600;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.provider-card .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
}

/* View All Button */
.providers-cta {
  margin-top: 48px;
  text-align: center;
}

.providers-cta .btn {
  padding: 16px 32px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 25px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .top-providers {
    padding: 60px 0;
  }
  
  .providers-section-header h2 {
    font-size: 2rem;
  }
  
  .providers-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
  }
  
  .category-tabs {
    gap: 8px;
  }
  
  .category-tab {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .provider-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .providers-grid {
    grid-template-columns: 1fr;
  }
  
  .category-tabs {
    flex-direction: column;
    align-items: center;
  }
  
  .category-tab {
    min-width: 200px;
  }
}

/* Footer links */
.site-footer a{color:var(--brand-contrast)}
.site-footer a:hover{color:var(--accent-gold)}


/* Ensure CTA ghost button text is readable on dark background */
.cta-section .btn-ghost{background:transparent;color:var(--brand-contrast);border-color:var(--accent-gold)}

/* Auth note box theme override */
.auth-note small{
  background: #0f3b2f0d !important;
  border-left: 3px solid var(--accent-gold) !important;
  color: var(--text) !important;
}