/* enrollment.css */

.enrollment-hero {
  height: 40vh;
  background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1517466787929-bc90951d0974?auto=format&fit=crop&q=80&w=2000') no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: #fff;
  padding-top: 80px; /* Offset for navbar */
}

.enrollment-section {
  padding: 60px 0;
  background: #070707;
  min-height: 60vh;
}

.wizard-container {
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.wizard-progress {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
}

.wizard-progress::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255,255,255,0.1);
  z-index: 1;
}

.progress-bar-fill {
  position: absolute;
  top: 15px;
  left: 0;
  height: 4px;
  background: var(--color-accent);
  z-index: 2;
  transition: width 0.4s ease;
}

.progress-step {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #666;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.progress-step.active, .progress-step.completed {
  opacity: 1;
  color: var(--color-accent);
}

.step-marker {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 2px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.progress-step.active .step-marker {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #000;
}

.progress-step.completed .step-marker {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #000;
}

.wizard-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.wizard-panel.active {
  display: block;
}

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

.panel-title {
  color: var(--color-accent);
  font-size: 1.8rem;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #ccc;
  font-size: 0.95rem;
}

.form-control, input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-control:focus, input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255,255,255,0.08);
}

.selectable-grid {
  display: grid;
  gap: 15px;
}

.selectable-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.selectable-card:hover {
  background: rgba(255,255,255,0.1);
}

.selectable-card.selected {
  border-color: var(--color-accent);
  background: rgba(245, 197, 24, 0.1);
}

.selectable-card h4 {
  margin: 0;
  color: #fff;
}

.selectable-card.selected h4 {
  color: var(--color-accent);
}

.form-actions {
  display: flex;
  margin-top: 30px;
}
.form-actions.right { justify-content: flex-end; }
.form-actions.between { justify-content: space-between; }

/* Upload Grid */
.document-upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.upload-card {
  background: rgba(255,255,255,0.02);
  border: 1px dashed rgba(255,255,255,0.2);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.upload-card label {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

.upload-card input[type="file"] {
  width: 100%;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 5px;
}

/* Checkout Summary */
.checkout-summary {
  background: rgba(255,255,255,0.03);
  padding: 20px;
  border-radius: 10px;
}

.fee-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #ccc;
}
.fee-row.total {
  border-bottom: none;
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  margin-top: 10px;
  padding-top: 15px;
  border-top: 1px dashed rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
  .form-grid, .document-upload-grid {
    grid-template-columns: 1fr;
  }
  .wizard-progress .step-label {
    display: none;
  }
}
