/* ===== BAŞVURU SAYFASI ===== */

.apply-page {
  padding: 7rem 0 3rem;
  min-height: 100vh;
  background: linear-gradient(160deg, #f8f5ff 0%, var(--bg) 40%, #ece8f4 100%);
}

/* Step Progress */
.step-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-light);
  background: var(--white);
  border: 2px solid var(--line);
  transition: all 0.4s ease;
}

.step-indicator.active .step-num,
.step-indicator.done .step-num {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.step-indicator.done .step-num::after {
  content: "✓";
  font-size: 1.1rem;
}

.step-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}

.step-indicator.active .step-label {
  color: var(--primary);
}

.step-line {
  flex: 1;
  height: 3px;
  background: var(--line);
  border-radius: 3px;
  margin: 0 1rem;
  margin-bottom: 1.2rem;
  position: relative;
  overflow: hidden;
}

.step-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 3px;
  transition: width 0.5s ease;
}

.step-line.filled::after {
  width: 100%;
}

/* Form Steps */
.form-step {
  display: none;
  animation: fadeInStep 0.5s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Form Card */
.form-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(228, 224, 240, 0.6);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.5rem 2rem;
  box-shadow: var(--shadow);
  max-width: 740px;
  margin: 0 auto;
}

.form-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.form-desc {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.form-label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text);
}

.form-label.full-width {
  grid-column: 1 / -1;
}

.req {
  color: #e74c3c;
  font-weight: 700;
}

.opt {
  color: var(--text-light);
  font-weight: 400;
  font-size: 0.8rem;
}

.form-label input,
.form-label textarea,
.form-label select {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font: inherit;
  font-size: 0.92rem;
  background: var(--bg);
  color: var(--text);
  transition: all 0.3s ease;
  width: 100%;
}

.form-label select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a4f65' d='M6 8.825L.35 3.175l.7-.7L6 7.425l4.95-4.95.7.7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-label input:focus,
.form-label textarea:focus,
.form-label select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
  background: var(--white);
}

.form-label input::placeholder,
.form-label textarea::placeholder {
  color: #b0b3c0;
}

.form-label input.error,
.form-label textarea.error,
.form-label select.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 4px rgba(231, 76, 60, 0.12);
}

/* Checkboxes */
.checkbox-group {
  margin-top: 1.8rem;
  display: grid;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.55;
  cursor: pointer;
  position: relative;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.check-mark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--line);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: all 0.25s ease;
  background: var(--white);
}

.checkbox-label input[type="checkbox"]:checked + .check-mark {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
}

.checkbox-label input[type="checkbox"]:checked + .check-mark::after {
  content: "✓";
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 800;
}

.checkbox-label input[type="checkbox"].error + .check-mark {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

.checkbox-label a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.checkbox-label a:hover {
  color: var(--primary-dark);
}

/* Seminar Options */
.seminar-options {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.seminar-option {
  cursor: pointer;
}

.seminar-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.seminar-option-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: all 0.3s ease;
}

.seminar-option input[type="radio"]:checked + .seminar-option-card {
  border-color: var(--primary);
  background: rgba(95, 75, 140, 0.04);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.seminar-option input[type="radio"].error + .seminar-option-card {
  border-color: #e74c3c;
}

.so-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(95,75,140,0.1), rgba(155,127,212,0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.so-info {
  flex: 1;
}

.so-info h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.so-info p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
}

.so-price {
  font-family: "Montserrat", sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}

/* Payment Summary */
.payment-summary {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
}

.ps-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.92rem;
  color: var(--text-light);
}

.ps-row + .ps-row {
  border-top: 1px solid var(--line);
}

.ps-total {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.ps-total span:last-child {
  font-family: "Montserrat", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.form-actions .btn {
  min-width: 160px;
}

/* Error message */
.field-error {
  color: #e74c3c;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 700px) {
  .apply-page {
    padding: 6rem 0 2rem;
  }

  .form-card {
    padding: 1.5rem 1.2rem 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-label.full-width {
    grid-column: 1;
  }

  .seminar-option-card {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .so-price {
    font-size: 1.1rem;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    min-width: auto;
    width: 100%;
  }

  .step-label {
    font-size: 0.68rem;
  }
}
