:root {
  --primary: #0EA5E9; /* Sky 500 */
  --primary-hover: #0C5D58;
  --accent: #E11D48; /* Amber 500 */
  --bg-gradient: linear-gradient(135deg, #0F172A, #0F766E);
  --card-bg: rgba(255, 255, 255, 0.95);
  --text-main: #111827;
  --text-muted: #4B5563;
  --shadow-premium: 0 12px 20px rgba(0,0,0,0.4);
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-gradient);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.bg-blur {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(30,58,138,0.15) 0%, transparent 40%),
              radial-gradient(circle at 80% 80%, rgba(245,158,11,0.15) 0%, transparent 40%);
  z-index: -1;
}

.card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: none;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
}

h1 {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, var(--primary), var(--primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

/* Progress Bar */
.progress-container {
  width: 100%;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

.progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Form Fields */
.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.input-group input, 
.input-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s;
  background: white;
}

.input-group input:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.1);
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-card {
  padding: 1rem;
  border: 2px solid #d1d5db;
  border-radius: 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: white;
}

.service-card:hover {
  border-color: var(--primary);
  background: rgba(255,255,255,0.2);
}

.service-card.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.service-card i {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Horizontal Picker (Date/Time) */
.picker-container {
  display: flex;
  overflow-x: auto;
  gap: 0.75rem;
  padding: 0.5rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.picker-container::-webkit-scrollbar { display: none; }

.pill {
  flex: 0 0 auto;
  padding: 0.625rem 1.25rem;
  border: 2px solid #d1d5db;
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: white;
  transition: all 0.2s;
}

.pill.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.pill:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f1f5f9;
}

/* Buttons */
.btn-primary {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-outline {
  flex: 1;
  padding: 0.75rem;
  background: transparent;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
}

.nav-btns {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Admin Section (Hidden) */
#adminSection {
  display: none;
  margin-top: 3rem;
  width: 100%;
  max-width: 800px;
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-premium);
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th {
  text-align: left;
  padding: 1rem;
  border-bottom: 2px solid #f1f5f9;
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  padding: 1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.step {
  display: none;
  animation: fadeInUp 0.4s ease-out;
}

.step.active {
  display: block;
}

#successScreen {
  display: none;
  text-align: center;
  animation: fadeInUp 0.5s ease-out;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: #dcfce7;
  color: #166534;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}


