/* RVP Connect — Salon Appointment Booking Widget */

.salon-booking-card {
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid #e8e8f0;
  padding: 20px;
  margin-bottom: 14px;
}

.salon-booking-card h2 {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px;
}

.salon-svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.salon-svc-option {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  text-align: left;
  background: #f8fafc;
  transition: border-color .15s, background .15s;
}

.salon-svc-option.active {
  border-color: #6C2BD9;
  background: #f5f3ff;
}

.salon-svc-option .icon { font-size: 1.4rem; }
.salon-svc-option .name { font-size: .78rem; font-weight: 700; color: #0f172a; margin-top: 4px; }
.salon-svc-option .meta { font-size: .7rem; color: #64748b; margin-top: 2px; }

.salon-field { margin-bottom: 14px; }
.salon-field label { display: block; font-size: .8rem; font-weight: 700; color: #334155; margin-bottom: 6px; }
.salon-field input,
.salon-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: .85rem;
  font-family: inherit;
  color: #1e293b;
  outline: none;
}
.salon-field input:focus,
.salon-field textarea:focus { border-color: #6C2BD9; }

.salon-slot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.salon-slot-btn {
  border: 1.5px solid #e2e8f0;
  background: #fff;
  border-radius: 8px;
  padding: 8px 6px;
  font-size: .74rem;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
  text-align: center;
}
.salon-slot-btn.active { border-color: #6C2BD9; background: #6C2BD9; color: #fff; }
.salon-slot-btn.full { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

.salon-submit-btn {
  width: 100%;
  background: linear-gradient(135deg,#6C2BD9,#4338CA);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 13px;
  font-size: .9rem;
  font-weight: 800;
  cursor: pointer;
  margin-top: 4px;
}
.salon-submit-btn:disabled { opacity: .6; cursor: not-allowed; }

.salon-msg {
  font-size: .8rem;
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 12px;
  display: none;
}
.salon-msg.error   { display: block; background: #fef2f2; color: #b91c1c; }
.salon-msg.success { display: block; background: #f0fdf4; color: #166534; }

.salon-success-box {
  text-align: center;
  padding: 10px 0;
}
.salon-success-box .ref {
  font-size: 1.1rem;
  font-weight: 800;
  color: #4338ca;
  margin: 8px 0;
}
