/* Style dedykowane dla podstrony Zapisy (Formularz LangLion) */

.reg-hero {
  background: linear-gradient(135deg, #fff8f1 0%, #ffefe3 100%);
  padding: 60px 0 66px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.reg-hero::before,
.reg-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(242, 113, 33, .08);
}
.reg-hero::before {
  width: 280px;
  height: 280px;
  left: -120px;
  top: -70px;
}
.reg-hero::after {
  width: 340px;
  height: 340px;
  right: -170px;
  bottom: -170px;
}
.reg-hero-inner {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.reg-hero-inner .lead {
  max-width: 720px;
  margin: 18px auto 0;
  font-size: 1.05rem;
}

.reg-layout {
  padding: 64px 0 80px;
}
.reg-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 48px;
  align-items: start;
}

/* Karta formularza */
.reg-form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 12px 36px rgba(29, 36, 48, .05);
}
.reg-form-card h2 {
  font-size: 1.5rem;
  margin: 0 0 8px;
  color: var(--ink);
}
.reg-form-card .form-subtitle {
  color: var(--muted);
  font-size: .94rem;
  margin: 0 0 32px;
}

/* Sekcje wewnątrz formularza */
.form-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 32px;
}
.form-legend {
  font-size: 1.08rem;
  font-weight: 750;
  color: var(--ink);
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  width: 100%;
  display: block;
}
.form-legend-desc {
  font-size: .85rem;
  font-weight: normal;
  color: var(--muted);
  display: block;
  margin-top: 4px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: .9rem;
  font-weight: 650;
  color: #374151;
}
.form-group label .req {
  color: var(--orange-dark);
  margin-left: 2px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fbfbfc;
  color: var(--ink);
  font-size: .95rem;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 0;
  border-color: var(--orange);
  background: white;
  box-shadow: 0 0 0 4px rgba(242, 113, 33, .12);
}
.form-hint {
  font-size: .8rem;
  color: var(--muted);
}

/* Zgody */
.form-consent {
  margin: 28px 0;
  padding: 20px;
  background: var(--cream);
  border-radius: 14px;
  border: 1px solid var(--line);
}
.form-checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: .86rem;
  line-height: 1.45;
  color: #4b5563;
  margin-bottom: 14px;
  cursor: pointer;
}
.form-checkbox:last-child {
  margin-bottom: 0;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--orange);
  cursor: pointer;
}
.form-checkbox a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* reCAPTCHA & Submit */
.captcha-container {
  display: flex;
  justify-content: flex-start;
  margin: 24px 0 28px;
}
.reg-submit-btn {
  width: 100%;
  min-height: 52px;
  font-size: 1.05rem;
  font-weight: 750;
}

/* Pasek boczny (Sidebar z krokami i kontaktem) */
.reg-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.steps-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
}
.steps-card h3 {
  font-size: 1.2rem;
  margin: 0 0 20px;
  color: var(--ink);
}
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.steps-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.step-num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  font-weight: 800;
  font-size: .88rem;
  display: grid;
  place-items: center;
}
.step-text h4 {
  margin: 0 0 4px;
  font-size: .98rem;
  color: var(--ink);
}
.step-text p {
  margin: 0;
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.4;
}

.help-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: 0 6px 20px rgba(29, 36, 48, .04);
}
.help-card h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
}
.help-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 18px;
}
.help-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.help-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: .92rem;
  color: var(--ink);
}
.help-contact-item:hover {
  color: var(--orange-dark);
}

/* Responsywność */
@media (max-width: 900px) {
  .reg-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .reg-form-card {
    padding: 28px 20px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
