/* Wrapper + card */
.ezs-booking-wrapper {
  display: flex;
  justify-content: center;
  padding: 24px 12px;
}

.ezs-booking-card {
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
  padding: 24px 24px 28px;
  box-sizing: border-box;
}

/* Titles */
.ezs-booking-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 600;
  color: #111827;
}

/* Form layout */
.ezs-booking-form {
  margin-top: 8px;
}

.ezs-field-row {
  margin-bottom: 14px;
}

.ezs-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 4px;
}

/* Inputs / selects */
.ezs-input,
.ezs-select {
  width: 100%;
  box-sizing: border-box;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 8px 10px;
  font-size: 14px;
  color: #111827;
  background-color: #f9fafb;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.ezs-input:focus,
.ezs-select:focus {
  outline: none;
  background-color: #ffffff;
  border-color: #6366f1;
  box-shadow: 0 0 0 1px rgba(99, 102, 241, 0.15);
}

.ezs-help-text {
  display: block;
  font-size: 12px;
  color: #6b7280;
  margin-top: 4px;
}

/* Primary button */
.ezs-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.ezs-button-primary {
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  padding: 9px 20px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
  transition: transform 0.1s ease, box-shadow 0.1s ease, filter 0.1s ease;
  text-decoration: none;
}

.ezs-button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.42);
  filter: brightness(1.03);
}

.ezs-button-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}

/* Inline confirmation */
.ezs-confirm-box-inline {
  text-align: center;
}

.ezs-confirm-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dcfce7;
  color: #16a34a;
  font-size: 30px;
}

.ezs-confirm-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 4px;
}

.ezs-confirm-subtitle {
  font-size: 13px;
  color: #6b7280;
}

/* My appointments table */
.ezs-myappointments-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 14px;
}

.ezs-myappointments-table th,
.ezs-myappointments-table td {
  padding: 8px 6px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

.ezs-myappointments-table th {
  font-weight: 600;
  color: #374151;
}

.ezs-myappointments-table td {
  color: #111827;
}

.ezs-link-cancel {
  color: #dc2626;
  font-size: 13px;
  text-decoration: underline;
}

.ezs-text-muted {
  color: #9ca3af;
  font-size: 13px;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .ezs-booking-card {
    padding: 18px 16px 22px;
    border-radius: 10px;
  }

  .ezs-booking-title {
    font-size: 18px;
  }

  .ezs-myappointments-table thead {
    display: none;
  }

  .ezs-myappointments-table tr {
    display: block;
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e7eb;
  }

  .ezs-myappointments-table td {
    display: block;
    font-size: 13px;
  }

  .ezs-myappointments-table td::before {
    font-weight: 500;
    color: #6b7280;
    display: inline-block;
    min-width: 90px;
  }

  .ezs-myappointments-table td:nth-child(1)::before { content: "Date/Time: "; }
  .ezs-myappointments-table td:nth-child(2)::before { content: "Service: "; }
  .ezs-myappointments-table td:nth-child(3)::before { content: "Staff: "; }
  .ezs-myappointments-table td:nth-child(4)::before { content: "Status: "; }
  .ezs-myappointments-table td:nth-child(5)::before { content: "Actions: "; }
}
