/* ========================================================= */
/* Calendar Booking Modal Styles                             */
/* ========================================================= */

.cal-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 6, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cal-modal-backdrop.active {
  display: flex;
}

.cal-modal-card {
  background: #141416;
  border: 1px solid rgba(215, 226, 234, 0.15);
  border-radius: 24px;
  width: 100%;
  max-width: 820px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  color: #F4F4F4;
  position: relative;
}

.cal-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  border-bottom: 1px solid rgba(215, 226, 234, 0.08);
}

.cal-modal__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cal-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  background: #0C0C0C;
  border: 1px solid rgba(215, 226, 234, 0.15);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: #F4F4F4;
  letter-spacing: 0.08em;
}

.cal-modal__brand-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #EFF0F0;
  letter-spacing: 0.05em;
  opacity: 0.8;
}

.cal-modal__title {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #F4F4F4;
}

.cal-modal__close {
  background: transparent;
  border: none;
  color: #D7E2EA;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  line-height: 1;
}

.cal-modal__close:hover {
  opacity: 1;
}

.cal-modal__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 32px;
  gap: 40px;
}

.cal-modal__left {
  display: flex;
  flex-direction: column;
}

.cal-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.meta-item {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #EFF0F0;
  background: rgba(215, 226, 234, 0.06);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(215, 226, 234, 0.08);
}

.cal-modal__desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #D7E2EA;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 24px;
}

.cal-modal__date-picker label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #EFF0F0;
  margin-bottom: 8px;
  opacity: 0.7;
}

.cal-select {
  width: 100%;
  padding: 12px 16px;
  background: #0C0C0C;
  border: 1px solid rgba(215, 226, 234, 0.12);
  border-radius: 12px;
  color: #F4F4F4;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  outline: none;
}

/* Right Column */
.column-title {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #F4F4F4;
  margin-bottom: 16px;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 4px;
}

.time-slot-btn {
  padding: 10px;
  background: #0C0C0C;
  border: 1px solid rgba(215, 226, 234, 0.1);
  border-radius: 10px;
  color: #F4F4F4;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.time-slot-btn:hover {
  background: #F4F4F4;
  color: #0C0C0C;
  border-color: #F4F4F4;
}

/* Booking Form Step */
.cal-booking-form {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.cal-booking-form.active {
  display: flex;
}

.back-btn {
  background: transparent;
  border: none;
  color: #D7E2EA;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  padding: 0;
  opacity: 0.8;
  margin-bottom: 4px;
}

.back-btn:hover {
  opacity: 1;
}

.selected-summary {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #EFF0F0;
  background: rgba(215, 226, 234, 0.08);
  padding: 8px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.form-group label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #D7E2EA;
  margin-bottom: 6px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background: #0C0C0C;
  border: 1px solid rgba(215, 226, 234, 0.12);
  border-radius: 10px;
  color: #F4F4F4;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  outline: none;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: rgba(215, 226, 234, 0.3);
}

.submit-booking-btn {
  width: 100%;
  margin-top: 8px;
  justify-content: center;
}

/* Success View */
.cal-modal__success {
  display: none;
  padding: 60px 40px;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cal-modal__success.active {
  display: flex;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(244, 244, 244, 0.1);
  border: 2px solid #F4F4F4;
  color: #F4F4F4;
  font-size: 24px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .cal-modal__body {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 20px;
  }
}
