/* ============================================
   TemplyApp - CSS Mobile-First
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #FB5607;
  --primary-dark: #FF6700;
  --primary-light: #f9fafb;
  --secondary: #f59e0b;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  /*--dark: #1a1a2e;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;*/
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --shadow-xl: 0 25px 50px rgba(0,0,0,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }

/* ============ UTILIDADES ============ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--gray-500); }
.font-bold { font-weight: 700; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

.logo-img{
  height:40px;
  width:auto;
  display: block;
  
}
.text-highlight {
    color: #ea580c;
}
/* ============ BOTÕES ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  width: 100%;
  touch-action: manipulation;
}
.btn-primary {
  background: var(--primary);
  color: white;
}
.btn-primary:hover, .btn-primary:active {
  background: var(--primary-dark);
  transform: translateY(-1px);
}
.btn-success {
  background: var(--success);
  color: white;
}
.btn-success:hover { background: #16a34a; }
.btn-danger {
  background: var(--danger);
  color: white;
}
.btn-danger:hover { background: #dc2626; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
}
.btn-whatsapp {
  background: #25d366;
  color: white;
}
.btn-whatsapp:hover { background: #1da851; }
.btn-sm {
  padding: 10px 16px;
  font-size: 13px;
}
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  flex-shrink: 0;
}
.btn-group { display: flex; gap: 8px; }

/* ============ FORMULÁRIOS ============ */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 16px;
  transition: border-color 0.2s;
      padding: 12px;
    border: 1px solid #ddd;
    border-radius: 12px;
  
  background: white;
  -webkit-appearance: none;
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
 /* box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);*/
}

/* ============ CARDS ============ */
.card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}
.card-highlight {
  background: linear-gradient(135deg, var(--primary), #FB5607);
  color: white;
  border: none;
}

/* ============ BADGE ============ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.badge-primary { background: rgba(99,102,241,0.1); color: var(--primary); }
.badge-success { background: rgba(34,197,94,0.1); color: var(--success); }
.badge-danger { background: rgba(239,68,68,0.1); color: var(--danger); }
.badge-warning { background: rgba(245,158,11,0.1); color: var(--warning); }

/* ============ LANDING PAGE ============ */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
}
.landing-logo {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}
.landing-logo span { color: var(--dark); }

.hero {
  padding: 100px 20px 60px;
  text-align: center;
  background: linear-gradient(180deg, #eef2ff 0%, var(--gray-50) 100%);
}
.hero h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), #FB5607);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  color: var(--gray-500);
  font-size: 16px;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.hero-buttons { display: flex; flex-direction: column; gap: 12px; max-width: 320px; margin: 0 auto; }
.hero-mockup {
  margin-top: 40px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 12px;
  box-shadow: var(--shadow-xl);
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.hero-mockup-inner {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 24px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mockup-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.mockup-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #FB5607);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
}
.mockup-bar {
  height: 10px;
  background: var(--gray-200);
  border-radius: 5px;
}
.mockup-bar.w-75 { width: 75%; }
.mockup-bar.w-50 { width: 50%; }
.mockup-card {
  background: white;
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow);
}
.mockup-dot {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.mockup-dot.purple { background: rgba(99,102,241,0.15); }
.mockup-dot.green { background: rgba(34,197,94,0.15); }
.mockup-dot.orange { background: rgba(245,158,11,0.15); }
.mockup-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }

/* Categorias */
.categories { padding: 60px 20px; }
.section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  margin-bottom: 8px;
}
.section-subtitle {
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 32px;
  font-size: 15px;
}
.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}
.category-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all 0.2s;
}
.category-card:active {
  border-color: var(--primary);
  transform: scale(0.98);
}
.category-icon { font-size: 36px; margin-bottom: 8px; }
.category-name { font-weight: 700; font-size: 14px; color: var(--dark); }

/* Recursos */
.features { padding: 60px 20px; background: white; }
.features-list { display: flex; flex-direction: column; gap: 16px; max-width: 500px; margin: 0 auto; }
.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--gray-50);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(99,102,241,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.feature-text h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.feature-text p { font-size: 13px; color: var(--gray-500); }

/* Planos */
.plans { padding: 60px 20px; }
.plans-grid { display: flex; flex-direction: column; gap: 16px; max-width: 400px; margin: 0 auto; }
.plan-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gray-100);
  position: relative;
}
.plan-card.popular {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--primary);
}
.plan-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}
.plan-name { font-size: 18px; font-weight: 700; color: var(--dark); }
.plan-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  margin: 12px 0;
}
.plan-price small { font-size: 14px; color: var(--gray-500); font-weight: 400; }
.plan-features { list-style: none; margin: 20px 0; }
.plan-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  font-size: 16px;
}

/* Depoimentos */
.testimonials { padding: 60px 20px; background: white; }
.testimonials-list { display: flex; flex-direction: column; gap: 16px; max-width: 500px; margin: 0 auto; }
.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.testimonial-stars { color: var(--secondary); font-size: 16px; margin-bottom: 12px; }
.testimonial-text { font-size: 14px; color: var(--gray-700); margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #FB5607);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.testimonial-name { font-weight: 700; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--gray-500); }

/* CTA Final */
.cta-section {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), #FB5607);
  color: white;
}
.cta-section h2 { font-size: 26px; font-weight: 800; margin-bottom: 12px; }
.cta-section p { opacity: 0.9; margin-bottom: 28px; font-size: 15px; }
.btn-white { background: white; color: var(--primary); font-weight: 700; max-width: 320px; margin: 0 auto; }

/* Footer */
.footer {
  padding: 32px 20px;
  text-align: center;
  background: var(--dark);
  color: var(--gray-400);
  font-size: 13px;
}

/* ============ LOGIN ============ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #f9fafb;
}
.login-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 40px 28px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-xl);
}
.login-error {
  background: rgba(239,68,68,0.1);
  color: var(--danger);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
}
.login-error.show { display: block; }

/* ============ ADMIN DASHBOARD ============ */
.admin-page {
  min-height: 100vh;
  background: var(--gray-50);
  padding-bottom: 80px;
}
.admin-header {
  background: white;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--gray-100);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-header h1 { font-size: 18px; font-weight: 800; color: var(--dark); }
.admin-content { padding: 20px; max-width: 600px; margin: 0 auto; }

/* Link Card */
.link-card {
  background-color: #FB5607;
  border-radius: var(--radius-xl);
  padding: 24px;
  color: white;
  margin-bottom: 24px;
}
.link-card p { opacity: 0.85; font-size: 13px; margin-bottom: 8px; }
.link-url {
  background: rgba(255,255,255,0.2);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
  word-break: break-all;
}
.link-actions { display: flex; gap: 8px; }
.btn-link-action {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-copy { background: rgba(255,255,255,0.2); color: white; }
.btn-open { background: white; color: var(--primary); }

/* Stats */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
.stat-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}
.stat-number { font-size: 28px; font-weight: 800; color: var(--dark); }
.stat-label { font-size: 12px; color: var(--gray-500); font-weight: 600; margin-top: 4px; }

/* Appointment Items */
.appointment-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary);
}
.appointment-item.cancelled { border-left-color: var(--danger); opacity: 0.6; }
.appt-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.appt-customer { font-weight: 700; font-size: 15px; color: var(--dark); }
.appt-service { font-size: 13px; color: var(--gray-500); }
.appt-time {
  font-size: 13px;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  margin-bottom: 12px;
}
.appt-actions { display: flex; gap: 8px; }

/* Service Items */
.service-item {
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-info h3 { font-size: 15px; font-weight: 700; color: var(--dark); }
.service-info p { font-size: 13px; color: var(--gray-500); }
.service-price { font-size: 16px; font-weight: 700; color: var(--primary); white-space: nowrap; }
.service-actions { display: flex; gap: 6px; margin-left: 12px; }
.service-edit-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  border: 2px solid var(--primary);
}
.service-edit-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Bottom Nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  display: flex;
  border-top: 1px solid var(--gray-200);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}
.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-400);
  transition: color 0.2s;
  background: none;
  gap: 4px;
}
.nav-item.active { color: var(--primary); }
.nav-item svg { width: 22px; height: 22px; }

/* Hours Config */
.hour-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: white;
  border-radius: var(--radius);
  margin-bottom: 8px;
  box-shadow: var(--shadow);
}
.hour-row label { flex: 1; }
.hour-day { font-weight: 700; font-size: 14px; min-width: 40px; }
.hour-toggle {
  width: 48px;
  height: 28px;
  border-radius: 14px;
  background: var(--gray-300);
  position: relative;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.hour-toggle.active { background: var(--primary); }
.hour-toggle::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: white;
  top: 3px;
  left: 3px;
  transition: transform 0.2s;
  box-shadow: var(--shadow);
}
.hour-toggle.active::after { transform: translateX(20px); }
.hour-times {
  display: flex;
  gap: 4px;
  align-items: center;
}
.hour-times input {
  width: 70px;
  padding: 6px 8px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 13px;
  text-align: center;
}
.hour-times span { color: var(--gray-400); font-size: 12px; }

/* ============ BOOKING PAGE ============ */
.booking-page {
  min-height: 100vh;
  background: var(--gray-50);
}
.booking-header {
  background-color: #FB5607;
  color: white;
  padding: 24px 20px 32px;
  text-align: center;
}
.booking-header h1 { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.booking-header p { opacity: 0.85; font-size: 14px; }
.booking-content { padding: 20px; max-width: 500px; margin: 0 auto; margin-top: -12px; }

/* Steps */
.steps-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.step-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-300);
  transition: all 0.3s;
}
.step-dot.active { background: var(--primary); width: 28px; border-radius: 5px; }
.step-dot.done { background: var(--success); }

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

/* Service Selection */
.service-option {
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 10px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
}
.service-option:active, .service-option.selected {
  border-color: var(--primary);
  background: #eef2ff;
}
.service-option-info h3 { font-size: 15px; font-weight: 700; color: var(--dark); }
.service-option-info p { font-size: 12px; color: var(--gray-500); margin-top: 2px; }
.service-option-price { font-weight: 700; color: #FB5607; font-size: 16px; }

/* Date Selection */
.date-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.date-scroll::-webkit-scrollbar { display: none; }
.date-btn {
  min-width: 64px;
  padding: 14px 8px;
  border-radius: var(--radius);
  background: white;
  border: 2px solid var(--gray-200);
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.date-btn:active, .date-btn.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}
.date-btn .day-name { font-size: 11px; font-weight: 600; opacity: 0.7; }
.date-btn .day-num { font-size: 20px; font-weight: 800; margin: 4px 0; }
.date-btn .month { font-size: 11px; opacity: 0.7; }
.date-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
}

/* Time Selection */
.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.time-btn {
  padding: 14px;
  border-radius: var(--radius);
  background: white;
  border: 2px solid var(--gray-200);
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
}
.time-btn:active, .time-btn.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}
.time-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
  text-decoration: line-through;
}

/* Confirmation */
.confirm-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
}
.confirm-row:last-of-type { border-bottom: none; }
.confirm-label { color: var(--gray-500); }
.confirm-value { font-weight: 700; color: var(--dark); }

/* Success */
.success-screen {
  text-align: center;
  padding: 40px 20px;
}
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(34,197,94,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 36px;
}
.success-screen h2 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.success-screen p { color: var(--gray-500); font-size: 14px; }

/* ============ MODAL ============ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.show { opacity: 1; pointer-events: all; }
.modal-content {
  background: white;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 32px 24px;
  width: 100%;
  max-width: 500px;
  transform: translateY(100%);
  transition: transform 0.3s;
  text-align: center;
}
.modal-overlay.show .modal-content { transform: translateY(0); }
.modal-icon { font-size: 48px; margin-bottom: 16px; }
.modal-title { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.modal-text { font-size: 14px; color: var(--gray-500); margin-bottom: 24px; }
.modal-buttons { display: flex; gap: 12px; }
.modal-buttons .btn { flex: 1; }

/* ============ EMPTY STATE ============ */
.empty-state {
  text-align: center;
  padding: 40px 20px;
}
.empty-state-icon { font-size: 48px; margin-bottom: 12px; opacity: 0.5; }
.empty-state h3 { font-size: 16px; font-weight: 700; color: var(--gray-700); margin-bottom: 4px; }
.empty-state p { font-size: 13px; color: var(--gray-400); }

/* ============ LOADING ============ */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 20px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ TOAST ============ */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: var(--dark);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  z-index: 300;
  transition: transform 0.3s;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ============ DESKTOP ============ */
@media (min-width: 768px) {
  .hero h1 { font-size: 48px; }
  .hero-buttons { flex-direction: row; max-width: 400px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); max-width: 700px; }
  .plans-grid { flex-direction: row; max-width: 900px; }
  .plan-card { flex: 1; }
  .time-grid { grid-template-columns: repeat(4, 1fr); }
  .btn { width: auto; }
}
