/* ==============================
   Private Lessons Page Styles
   ============================== */

/* Checklist - "What to Expect" */
.pl-checklist {
  list-style: none;
  margin: var(--spacing-md, 1rem) 0 var(--spacing-lg, 1.5rem);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pl-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--color-text, #374151);
  line-height: 1.6;
}

.pl-checklist__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FDF6DC;
  border: 1.5px solid #E2C033;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.pl-checklist__icon i {
  font-size: 9px;
  color: #C9A820;
}

/* "Why Choose" grid: 2/3 text, 1/3 image */
@media (min-width: 768px) {
  .pl-why-grid {
    grid-template-columns: 2fr 1fr;
  }

  .pl-why-grid .content-image {
    align-self: start;
  }
}

/* Card padding for pl-checklist and card-icon */
.card .pl-checklist {
  padding: 0 var(--spacing-lg);
}

.card .card-icon {
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

/* Compact inline price display — replaces the tall gray box */
.card .price-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  padding: 10px var(--spacing-lg);
  background: transparent;
  border-radius: 0;
  border-top: 1px solid #E5E7EB;
  margin: auto var(--spacing-lg) var(--spacing-sm);
}

.card .price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-secondary, #E2C033);
  margin-bottom: 0;
  display: inline;
}

.card .price-period {
  font-size: 0.8rem;
  color: var(--color-text-light, #6B7280);
  display: inline;
}

/* ==============================
   Private Lesson Request Form
   ============================== */

.ft-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.22);
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
}

.ft-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  margin-top: 16px;
  align-items: start;
}

.ft-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 16px;
}

.ft-label {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #374151;
}

.ft-input,
.ft-select,
.ft-textarea {
  width: 100%;
  padding: 11px 14px;
  background: #fff;
  border: 1.5px solid #D1D5DB;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #111827;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  box-sizing: border-box;
}

.ft-input::placeholder,
.ft-textarea::placeholder {
  color: #9CA3AF;
  font-weight: 400;
}

.ft-input:focus,
.ft-select:focus,
.ft-textarea:focus {
  border-color: #E2C033;
  box-shadow: 0 0 0 3px rgba(226, 192, 51, 0.15);
}

.ft-select-wrap {
  position: relative;
}

.ft-select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #6B7280;
  pointer-events: none;
}

.ft-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 36px;
}

.ft-textarea {
  resize: vertical;
  min-height: 100px;
}

.ft-submit {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 15px 24px;
  background: #E2C033;
  color: #1C244B;
  border: none;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.18s ease, transform 0.1s ease, box-shadow 0.18s ease;
}

.ft-submit:hover:not(:disabled) {
  background: #D4B12A;
  transform: scale(1.015);
  box-shadow: 0 4px 16px rgba(226, 192, 51, 0.35);
}

.ft-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.ft-form-error {
  margin-top: 14px;
  padding: 12px 16px;
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  border-radius: 8px;
  color: #DC2626;
  font-size: 14px;
  line-height: 1.5;
}

.ft-success {
  text-align: center;
  padding: 40px 24px;
}

.ft-success__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #FDF6DC;
  border: 2px solid #E2C033;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
  color: #C9A820;
}

/* Use higher specificity to override .bg-dark h3 / .section-dark h3 inherited white */
.ft-form-card .ft-success h3 {
  color: #1C244B;
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.ft-form-card .ft-success p {
  color: #4B5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Ensure icon renders correctly even when color is inherited from dark parent */
.ft-form-card .ft-success__icon {
  color: #C9A820;
}

/* ==============================
   Mobile Responsive
   ============================== */

@media (max-width: 767px) {
  .ft-form-row {
    grid-template-columns: 1fr;
  }

  .ft-form-card {
    padding: 24px 16px;
    border-radius: 12px;
  }

  .pl-checklist li {
    gap: 10px;
  }
}
