.steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}

.step {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--card-bg);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
  border: 2px solid var(--border);
  transition: all 0.3s;
}

.step.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.step.done {
  background: var(--success);
  color: white;
  border-color: var(--success);
}

.step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
}

.step.active .step-num,
.step.done .step-num {
  background: rgba(255,255,255,0.3);
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.service-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  cursor: pointer;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

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

.service-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.service-info {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.service-price {
  color: var(--primary-dark);
  font-weight: 600;
}

.calendar-wrapper {
  margin-bottom: 16px;
}

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

.calendar-header h3 {
  font-size: 1rem;
}

.calendar-nav {
  display: flex;
  gap: 8px;
}

.calendar-nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s;
}

.calendar-nav button:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  text-align: center;
}

.calendar-day-name {
  font-size: 0.75rem;
  color: var(--text-light);
  padding: 8px 0;
  font-weight: 500;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.calendar-day:hover:not(.disabled):not(.empty) {
  background: var(--primary-light);
}

.calendar-day.today {
  border: 2px solid var(--primary);
}

.calendar-day.selected {
  background: var(--primary);
  color: white;
}

.calendar-day.disabled {
  color: #ccc;
  cursor: not-allowed;
}

.calendar-day.empty {
  cursor: default;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 8px;
}

.slot-btn {
  padding: 10px 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  cursor: pointer;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 0.9rem;
  transition: all 0.2s;
  text-align: center;
}

.slot-btn:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

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

.slot-time {
  font-weight: 600;
}

.slot-end {
  font-size: 0.75rem;
  opacity: 0.7;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Vazirmatn', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  background: var(--card-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.btn {
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: 'Vazirmatn', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

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

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-success:hover:not(:disabled) {
  background: #43a047;
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background: #c0392b;
}

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

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

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

.summary-table tr {
  border-bottom: 1px solid var(--border);
}

.summary-table td {
  padding: 10px 0;
}

.summary-table td:first-child {
  color: var(--text-light);
  font-size: 0.9rem;
}

.summary-table td:last-child {
  font-weight: 500;
  text-align: left;
}

.summary-total {
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.success-overlay.show {
  opacity: 1;
  visibility: visible;
}

.success-box {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  max-width: 400px;
  margin: 20px;
  transform: scale(0.8);
  transition: transform 0.3s;
}

.success-overlay.show .success-box {
  transform: scale(1);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 2.5rem;
  color: white;
}

.success-box h2 {
  margin-bottom: 8px;
}

.success-box p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
}

.tab-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  background: var(--card-bg);
  padding: 4px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.tab-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  cursor: pointer;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  transition: all 0.2s;
}

.tab-btn.active {
  background: var(--primary);
  color: white;
}

.tab-content {
  display: none;
}

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

.booking-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  transition: all 0.2s;
}

.booking-item:hover {
  box-shadow: var(--shadow);
}

.booking-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.booking-info {
  flex: 1;
  min-width: 0;
}

.booking-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.booking-detail {
  font-size: 0.8rem;
  color: var(--text-light);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.booking-status {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
}

.status-pending {
  background: #fff3e0;
  color: #e65100;
}

.status-confirmed {
  background: #e8f5e9;
  color: #2e7d32;
}

.status-cancelled {
  background: #fce4ec;
  color: #c62828;
}

.booking-actions {
  display: flex;
  gap: 4px;
}

.booking-actions button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.booking-actions button:hover {
  background: var(--primary-light);
}

.booking-actions .btn-delete:hover {
  background: #fce4ec;
  color: var(--danger);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s;
}

.modal-overlay.show .modal {
  transform: translateY(0);
}

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

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light);
}

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

.stat-card {
  text-align: center;
  padding: 16px;
  border-radius: var(--radius-sm);
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

.stat-primary {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.stat-success {
  background: #e8f5e9;
  color: #2e7d32;
}

.stat-warning {
  background: #fff3e0;
  color: #e65100;
}

.stat-info {
  background: #e3f2fd;
  color: #1565c0;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.checkbox-label:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
}

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

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  color: white;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 0.9rem;
  z-index: 2000;
  transition: transform 0.3s ease;
  white-space: nowrap;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.toast-success {
  background: var(--success);
}

.toast-error {
  background: var(--danger);
}

.toast-warning {
  background: var(--warning);
}

.section {
  display: none;
}

.section.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.3s ease;
}

.btn-lang {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 6px;
  background: rgba(255,255,255,0.2);
  color: white;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}

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

.btn-lang.active {
  background: white;
  color: var(--primary);
  border-color: white;
}

.header {
  position: relative;
}
