.appointment-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(15 15 30 / 20%);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 999;
}

.appointment-overlay.active {
  visibility: visible;
  opacity: 1;
}

.appointment-form {
  background: white;
  border-radius: 24px;
  padding: 30px;
  width: 90%;
  max-width: 440px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(40px) scale(0.9);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.appointment-overlay.active .appointment-form {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: #f3f4f6;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-size: 1.2rem;
  color: #666;

  display: none;
}

.close-btn:hover {
  background: #e5e7eb;
  transform: rotate(90deg);
}

.progress-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.progress-bar::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 3px;
  background: #e5e7eb;
  z-index: 0;
}

.progress-line {
  position: absolute;
  top: 15px;
  left: 0;
  height: 3px;
  /* background: linear-gradient(135deg, #8b5cf6, #ec4899); */
  background: linear-gradient(135deg, #1e293b 0%, #5b3ef6 100%);
  transition: width 0.4s ease;
  z-index: 1;
}

.progress-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  border: 3px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.85rem;
  color: #9ca3af;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.progress-step.active {
  border-color: #4359b9;
  color: #3832c8;
  background: #e8e9ff;
}

.progress-step.completed {
  border-color: #10b981;
  background: #10b981;
  color: white;
}

.form-step {
  display: none;
  animation: fadeSlideIn 0.4s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-step h2 {
  color: rgb(0, 0, 0);
  line-height: 1.5em;
  font-family: "Manrope", "Manrope Placeholder", sans-serif;
  font-size: 18px;
  font-weight: 500;
  --framer-font-weight: 500;
  /* margin-bottom: 10px; */
  text-shadow: 0 0 0.5px rgb(0 0 0 / 62%);
}

.form-subtitle {
  margin-bottom: 1rem;

  font-family: "Manrope", "Manrope Placeholder", sans-serif;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  line-height: 150%;
  letter-spacing: 0.5px;
}

.date-time-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.time-slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.time-slot {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.9rem;
  font-family: "Manrope", "Manrope Placeholder", sans-serif;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  font-size: 0.9rem;
}

.time-slot:hover {
  border-color: #5c6cf6;
  background: #e8eaff;
}

.user-info {
  max-width: 700px;
  margin: 0 auto;
}

.user-info .form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.user-info .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.time-slot.selected {
  border-color: #1f219f;
  background: #00006a38;
  color: #000000;
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-method {
  padding: 1.25rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-method:hover {
  border-color: #5c5ff6;
  background: #e8e9ff;
}

.contact-method.selected {
  border-color: #1f3dc0;
  background: rgb(0 0 111 / 14%);
  color: #000000;
}

#appointmentDate {
  width: 50% !important;
}

.contact-method-icon {
  color: #00006a;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.contact-method-title {
  /* font-weight: 600; */
  font-size: 0.95rem;
}

.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.form-step input,
select,
textarea {
  width: 100%;
  padding: 0.5rem 0.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 0.75rem;
  transition: all 0.2s ease;
  margin-bottom: 1rem;
  font-family: "Manrope", "Manrope Placeholder", sans-serif;
  height: fit-content;
  min-height: 35px;
}
.form-step label {
  color: rgb(0, 0, 0);
  line-height: 1.5em;
  font-family: "Manrope", "Manrope Placeholder", sans-serif;
  font-size: 14px;
  font-weight: 500;
  --framer-font-weight: 500;
  margin-bottom: 10px;
  font-weight: 500;
  text-shadow: 0 0 0.5px rgb(0 0 0 / 62%);
}
.calendar-day.holiday {
    border-color: #ff0909;
    background-color: #ffdede;
    color: #ff1a1a;
    cursor: not-allowed;
    pointer-events: none;
}

.calendar-container {
  margin-bottom: 10px;
}

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

.calendar-header button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #667eea;
  padding: 3px 6px;
  border-radius: 5px;
  transition: background 0.3s;
}

.calendar-header button:hover {
  background: #f0f0f0;
}

.calendar-month {
  font-family: "Manrope", "Manrope Placeholder", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

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

.calendar-day-header {
  text-align: center;
  /* font-weight: 600; */
  color: #9d9d9d;
  padding: 5px;
  font-size: 12px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  color: #333;
  font-size: 12px;
  padding: 2px;
}

.calendar-day:hover:not(.disabled):not(.empty) {
  background: #f0f0f0;
  border-color: #667eea;
}

.calendar-day.selected {
  background: #25389140;
  color: #000000;
  border-color: #667eea;
}

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

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

.calendar-day.today {
  border-color: #764ba2;
  font-weight: 700;
}

.success-message {
  text-align: center;
  padding: 2rem;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.success-message h2 {
  color: #10b981;
  margin-bottom: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: #fff;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}
.form-step label {
  display: block;
}
@media (max-width: 640px) {
  .appointment-form {
    padding: 2rem 1.5rem;
  }

  .date-time-grid {
    grid-template-columns: 1fr;
  }

  .time-slots {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-methods {
    grid-template-columns: 1fr;
  }
}
