/* numerology-booking.css – Styles for booking modal (600x500px layout) */

.bw-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: 9999;
  transition: opacity 0.3s ease;
}

.bw-modal-inner {
  width: 600px;
  height: 500px;
  border-radius: 6px;
  background: #fff;
  border-radius: 10px;
  overflow-x: hidden;
  overflow-y: scroll;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  position: relative;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bw-close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #999;
  transition: color 0.2s ease;
}

.bw-close-btn:hover {
  color: #000;
}

.bw-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
}

.bw-header {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #4b2c2c;
}

.bw-body {
  flex: 1;
  overflow-y: hidden;
  padding-right: 10px;
}

.bw-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
  gap: 10px;
}

.bw-step {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.bw-step.active {
  display: flex;
}

.bw-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  margin-top: 10px;
}

.bw-calendar-grid div {
  text-align: center;
  padding: 6px 0;
  cursor: pointer;
  border-radius: 6px;
}

.bw-calendar-grid div.disabled {
  background: #f3f3f3;
  color: #ccc;
  cursor: not-allowed;
}

.bw-calendar-grid div.selected {
  background: maroon;
  color: #fff;
  font-weight: bold;
}

.bw-times {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.bw-time-btn {
  border: 1px solid #ccc;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  background: #f7f7f7;
  transition: all 0.2s ease;
}

.bw-time-btn:hover {
  background: #f1f1f1;
}

.bw-time-btn.active {
  background: maroon;
  color: #fff;
  font-weight: bold;
}

.bw-time-btn.booked {
  background: #ddd;
  color: #999;
  cursor: not-allowed;
}

select, input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  font-size: 14px;
}

label {
  font-weight: 500;
  color: #444;
  margin-top: 8px;
}
