html, body { margin: 0; padding: 0; height: 100%; }
body { 
  background: #fbfbfb; 
  color: #222; 
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Header styling */
header {
  text-align: center;
  padding: 20px 0;
}

.logo {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px auto;
  display: block;
}

.studio-logo {
  width: 200px;
  display: inline-block;
}

.s-card { background: #fff; border-radius: 10px; box-shadow: 0 6px 20px rgba(12,12,12,0.06); }
/* center main content vertically and horizontally */
main { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  flex: 1;
  width: 100%;
  padding: 24px;
}

/* Booking section */
.booking-section {
  max-width: 680px;
  width: 100%;
  text-align: center;
  padding: 20px;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.fieldset-legend {
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
}

.total-section {
  gap: 16px;
  margin-top: 8px;
}

.total-display {
  text-align: center;
}

.confirmation-msg {
  margin-top: 12px;
}

.footer {
  text-align: center;
  color: #888;
  padding: 20px 0;
}

.trainer-photo {
  width: 150px;
  float: right;
  margin-left: 15px;
  margin-bottom: 10px;
}

.booking-title {
  clear: both;
}

/* days list vertical */
#days-list { display: flex; flex-direction: column; gap: 8px; }
#days-list label { 
    width:40%; 
    display:flex; 
    align-items:center; 
    gap:10px; 
    padding:8px; 
    border-radius:6px; 
    border:1px solid #f0f0f0;
    margin: 0 auto;}
#days-list label.package-option { 
  font-weight: 600;
  background: #f9fafc;
}
#days-list input[type="checkbox"] { transform: scale(1.15); }
#confirmation { padding: 12px; border-radius: 6px; }
fieldset { border: none; padding: 0; margin: 0; }
.s-hidden { display: none; }

/* Payment options side-by-side */
.payment-options {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}
.payment-option {
  width: 150px;
  height: 50px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(12,12,12,0.06);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.payment-option.selected {
  background: #eef2ff; /* soft highlight */
  border-color: #667eea;
  box-shadow: 0 8px 24px rgba(102,126,234,0.35);
}
.payment-option input.s-radio {
  display: none; /* hide native radio */
}
.s-alert {
  margin-top: 8px;
  color: #dc2626; /* red-600 */
  font-weight: 600;
  font-size: 14px;
}

/* make inputs full width inside centered card */
.s-width-100 { width: 100%; }

/* Form field styling: labels and fieldsets centered with vertical layout */
.form-field {
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding-bottom: 20px;
}
.form-field input {
  width: 50%;
  align-self: center;
}

/* Styled Pay & Book button */
.btn-pay {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}
.btn-pay:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}
.btn-pay:active {
  transform: translateY(0);
}
.btn-pay:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

