/* videokurse-form component
   Self-contained, scoped under .rc-vk-form-wrap. No global resets. */

.rc-vk-form-wrap {
  display: block;
  margin: 0 auto;
  padding: 32px 12px;
  max-width: 1366px;
  font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif;
  color: #1f2937;
  box-sizing: border-box;
}
.rc-vk-form-wrap *,
.rc-vk-form-wrap *::before,
.rc-vk-form-wrap *::after {
  box-sizing: border-box;
}

.rc-vk-form-card {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
  padding: 32px 28px;
}

.rc-vk-form-head {
  text-align: center;
  margin-bottom: 24px;
}
.rc-vk-form-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00BF63;
  margin-bottom: 8px;
}
.rc-vk-form-h2 {
  margin: 0 0 8px;
  font-family: 'Plakkaat', 'ProximaNova', sans-serif;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 400;
  color: #0f172a;
}
.rc-vk-form-sub {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #475569;
}

.rc-vk-form {
  display: block;
}

/* Fieldsets reset */
.rc-vk-form-fs {
  border: 0;
  padding: 0;
  margin: 0 0 20px;
}
.rc-vk-form-legend {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
  padding: 0;
}

/* Kurs cards row */
.rc-vk-form-kurs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rc-vk-form-kurs-card {
  position: relative;
  display: grid;
  grid-template-columns: 36px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  background: #f8fafc;
  border: 2px solid #e5e7eb;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}
.rc-vk-form-kurs-card:hover {
  border-color: #00BF63;
  background: #ffffff;
}
.rc-vk-form-kurs-card.is-selected {
  border-color: #00BF63;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 191, 99, 0.18);
}
.rc-vk-form-kurs-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}
.rc-vk-form-kurs-emoji {
  font-size: 28px;
  line-height: 1;
}
.rc-vk-form-kurs-name {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
}
.rc-vk-form-kurs-price {
  font-size: 15px;
  font-weight: 700;
  color: #00BF63;
}

/* Field grid */
.rc-vk-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-bottom: 20px;
}
.rc-vk-form-field {
  display: block;
}
.rc-vk-form-field-full {
  grid-column: 1 / -1;
}
.rc-vk-form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
}
.rc-vk-form-input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: #0f172a;
  background: #ffffff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.rc-vk-form-input::placeholder {
  color: #94a3b8;
}
.rc-vk-form-input:focus {
  border-color: #00BF63;
  box-shadow: 0 0 0 3px rgba(0, 191, 99, 0.18);
}
.rc-vk-form-input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #ef4444;
}

/* Honeypot hidden offscreen */
.rc-vk-form-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Actions row */
.rc-vk-form-actions {
  display: block;
  margin-top: 8px;
}
.rc-vk-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 24px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  background: #00BF63;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 191, 99, 0.32);
  transition: background 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}
.rc-vk-form-submit:hover {
  background: #00A957;
  box-shadow: 0 8px 24px rgba(0, 191, 99, 0.4);
}
.rc-vk-form-submit:active {
  transform: translateY(1px);
}
.rc-vk-form-submit:disabled {
  background: #94a3b8;
  cursor: wait;
  box-shadow: none;
}
.rc-vk-form-submit-arrow {
  font-size: 20px;
  line-height: 1;
}

.rc-vk-form-dsgvo {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
  text-align: center;
}
.rc-vk-form-dsgvo a {
  color: #00BF63;
  text-decoration: underline;
}

/* Alerts */
.rc-vk-form-alert {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
}
.rc-vk-form-alert[hidden] {
  display: none !important;
}
.rc-vk-form-alert-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.rc-vk-form-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.rc-vk-form-alert-error a {
  color: inherit;
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 640px) {
  .rc-vk-form-card {
    padding: 24px 18px;
    border-radius: 16px;
  }
  .rc-vk-form-h2 {
    font-size: 26px;
  }
  .rc-vk-form-kurs-grid {
    grid-template-columns: 1fr;
  }
  .rc-vk-form-grid {
    grid-template-columns: 1fr;
  }
  .rc-vk-form-field-full {
    grid-column: auto;
  }
}
