:root {
  --brand-green: #0f9d58;
  --brand-green-dark: #0b7a43;
  --brand-gold: #f6c84c;
  --bg-soft: #f7faf7;
  --muted: #6b7280;
}

html {
  font-size: 16px;
}

body {
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
    "Ubuntu", "Cantarell", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(2, 6, 23, 0.04);
  padding: 1rem;
}

@media (min-width: 640px) {
  .card {
    border-radius: 14px;
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .card {
    padding: 2rem;
  }
}

.input {
  border-radius: 8px;
  padding: 0.75rem 0.875rem;
  border: 1px solid #e6eef0;
  background: white;
  box-shadow: 0 2px 8px rgba(2, 6, 23, 0.02);
  font-size: 1rem;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

@media (min-width: 640px) {
  .input {
    border-radius: 10px;
    padding: 0.85rem 1rem;
    box-shadow: 0 4px 12px rgba(2, 6, 23, 0.03);
  }
}

.input:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 4px 16px rgba(15, 157, 88, 0.08);
}

.helper {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

@media (min-width: 640px) {
  .helper {
    font-size: 0.85rem;
  }
}

.invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.06);
}

.invalid-msg {
  color: #dc2626;
  font-size: 0.8rem;
  display: none;
  margin-top: 0.375rem;
}

input[type="radio"] {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--brand-green);
  flex-shrink: 0;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #e6eef0;
  background: white;
  box-shadow: 0 2px 8px rgba(2, 6, 23, 0.02);
  cursor: pointer;
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .radio-label {
    padding: 0.875rem 1rem;
    gap: 0.75rem;
    border-radius: 10px;
    font-size: 1rem;
  }
}

.radio-label input[type="radio"] {
  margin: 0;
}

.radio-label.selected {
  border-color: rgba(15, 157, 88, 0.5);
  background: linear-gradient(
    90deg,
    rgba(15, 157, 88, 0.08),
    rgba(15, 157, 88, 0.02)
  );
}

.progress-track {
  height: 8px;
  background: #eef2f7;
  border-radius: 999px;
  overflow: hidden;
}

@media (min-width: 640px) {
  .progress-track {
    height: 10px;
  }
}

.progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--brand-green),
    var(--brand-green-dark)
  );
  width: 0%;
  transition: width 0.36s ease;
}

.step-pill {
  min-width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .step-pill {
    min-width: 44px;
    height: 44px;
    font-size: 1rem;
  }
}

.step-pill.inactive {
  background: #f1f5f9;
  color: #475569;
}

.step-pill.active {
  background: var(--brand-green);
  color: white;
  box-shadow: 0 4px 16px rgba(15, 157, 88, 0.12);
}

img.brosur {
  width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #e6eef0;
  box-shadow: 0 2px 8px rgba(2, 6, 23, 0.02);
}

@media (min-width: 640px) {
  img.brosur {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(2, 6, 23, 0.03);
  }
}

.btn {
  padding: 0.875rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  width: 100%;
  touch-action: manipulation;
}

@media (min-width: 640px) {
  .btn {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 1rem;
  }
}

.grid-cols-2-mobile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .grid-cols-2-mobile {
    grid-template-columns: repeat(2, 1fr);
  }
}

label {
  font-size: 0.9rem;
  font-weight: 500;
}

@media (min-width: 640px) {
  label {
    font-size: 1rem;
  }
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .space-y-4 > * + * {
    margin-top: 1.25rem;
  }
}

.program-card {
  display: block;
  border-radius: 8px;
  border: 1.5px solid #e6eef0;
  padding: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

@media (min-width: 640px) {
  .program-card {
    border-radius: 10px;
    padding: 1rem;
  }
}

.program-card:active {
  transform: scale(0.98);
}

.info-box {
  padding: 0.875rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

@media (min-width: 640px) {
  .info-box {
    padding: 1rem;
    border-radius: 10px;
    font-size: 1rem;
  }
}
