/* ============================================================
   AMIABILA.CSS
   CSS consolidat pentru pagina /constatare-amiabila din Next.js
   Surse originale: base.css + form.css + modal.css + contact-required.css
   
   CE S-A ELIMINAT față de originalul CRA:
   - .app-container, .main-header, .simple-footer (gestionate de Next.js)
   - .burger-btn, .main-nav, .btn-call (Header Autoklasen)
   - LandingPage.css complet (nu mai e nevoie)
   - pages.css complet (conținut mutat în paginile /despre/ și /conditii/)
   
   CE S-A PĂSTRAT:
   - Toate variabilele CSS :root
   - Formularul complet (wizard, secțiuni, câmpuri, etc.)
   - Hero mini
   - Sidebar
   - Sketch / schița
   - Modal
   - Contact required
   - Toast
   - Responsive complet
============================================================ */

/* ============================================================
   VARIABILE CSS
============================================================ */

:root {
  --ak-primary: #0964CC;
  --ak-primary-dark: #08498F;
  --ak-primary-light: #EAF2FD;
  --ak-accent: #0964CC;
  --ak-black: #202124;
  --ak-white: #ffffff;
  --ak-bg: #ffffff;
  --ak-bg-warm: #fafafa;
  --ak-border: #e8eaed;
  --ak-gray-50: #f8f9fa;
  --ak-gray-100: #f1f3f4;
  --ak-gray-200: #e8eaed;
  --ak-gray-600: #5f6368;
  --ak-gray-800: #202124;
}

/* ============================================================
   HERO MINI
============================================================ */

.hero-mini {
  background: #f1f3f4;
  padding: 40px 16px 32px;
  text-align: center;
}

.hero-mini-content {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-mini-title {
  font-size: clamp(26px, 5vw, 38px);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px 0;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

/* Desktop: titlul stă pe un singur rând. Containerul se lărgește doar aici,
   ca nowrap-ul să nu împingă textul în afara zonei centrate. */
@media (min-width: 768px) {
  .hero-mini-content {
    max-width: 820px;
  }

  .hero-mini-title {
    white-space: nowrap;
  }
}

.hero-mini-subtitle {
  font-size: 16px;
  color: #555;
  margin: 0 0 24px 0;
  line-height: 1.5;
  font-weight: 400;
}

.hero-mini-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 8px;
}

.hero-mini-link {
  font-size: 13px;
  color: #0964CC;
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(9, 100, 204, 0.3);
  border-radius: 20px;
  transition: all 0.2s;
}

.hero-mini-link:hover {
  background: #EAF2FD;
  border-color: #0964CC;
}

/* ============================================================
   FORM CONTAINER ȘI LAYOUT
============================================================ */

.form-main,
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  width: 100%;
  box-sizing: border-box;
}

.form-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  padding: 14px 20px;
  background: #fff;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid #e0e0e0;
}

.autosave-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #444;
  font-weight: 500;
}

.autosave-dot {
  width: 8px;
  height: 8px;
  background: #0964CC;
  border-radius: 50%;
  animation: autosave-pulse 2s infinite;
}

@keyframes autosave-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Layout cu sidebar */
.form-page-layout {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  /* Respiratie inainte de subsol: fara ea, ultimul card al formularului
     statea lipit de el. */
  padding: 0 20px 56px;
  display: block;
}

.form-page-layout.with-sidebar {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: start;
}

/* ============================================================
   WIZARD STEPPER
============================================================ */

.wizard-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 20px 20px 16px;
  margin-bottom: 0;
  background: #fff;
}

.wizard-step {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  cursor: default;
  flex: 1;
  min-width: 0;
}

.wizard-step.clickable {
  cursor: pointer;
}

.wizard-step-icon {
  display: none;
}

.wizard-step::before {
  content: '';
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #ddd;
  transition: background 0.3s ease;
}

.wizard-step.active::before,
.wizard-step.completed::before {
  background: #0964CC;
}

.wizard-step-title {
  display: none;
}

.progress-label {
  text-align: center;
  padding: 10px 16px 16px;
  background: #fff;
  font-size: 15px;
  font-weight: 500;
  color: #444;
  border-bottom: 1px solid #e0e0e0;
  margin: 0 0 1px 0;
}

.progress-label strong {
  color: #0964CC;
  font-weight: 700;
}

/* ============================================================
   WIZARD NAVIGATION
============================================================ */

.wizard-navigation {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #d0d0d0;
}

.btn-wizard {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-prev {
  background: #f0f0f0;
  color: #333;
}

.btn-prev:hover {
  background: #e0e0e0;
}

.btn-next {
  background: #0964CC;
  color: #fff;
  margin-left: auto;
}

.btn-next:hover {
  background: #08498F;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(9, 100, 204, 0.3);
}

/* ============================================================
   FORM GRID ȘI SECȚIUNI
============================================================ */

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

.form-section {
  background: #fff;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #d0d0d0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

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

.form-section.vehicle-a {
  border-top: 3px solid #0964CC;
}

.form-section.vehicle-b {
  border-top: 3px solid #D97706;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
  flex-wrap: wrap;
}

.section-header h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

/* `.section-icon` a fost scos pe 24.09.2026: erau patrate colorate cu cate
   un emoji (doua dintre ele verzi, unul galben), iar titlurile au oricum
   numarul lor. */

.vehicle-badge {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.vehicle-badge.badge-a {
  background-color: #0964CC;
  color: #fff;
}

.vehicle-badge.badge-b {
  background-color: #D97706;
  color: #fff;
}

.subsection-title {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin: 20px 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #f0f0f0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ============================================================
   FORM ROWS
============================================================ */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-row-4 {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

/* ============================================================
   FORM ELEMENTS
============================================================ */

.form-group {
  margin-bottom: 16px;
  width: 100%;
  min-width: 0;
}

.form-group.no-margin {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}

.form-label .required {
  color: #DC2626;
  font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border: 2px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  background: #fafafa;
  color: #1a1a1a;
  box-sizing: border-box;
  max-width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #0964CC;
  box-shadow: 0 0 0 3px rgba(9, 100, 204, 0.15);
  background: #fff;
}

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

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

/* ============================================================
   CHECKBOX
============================================================ */

.checkbox-row,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 12px 16px;
  background: #EAF2FD;
  border: 2px solid rgba(9, 100, 204, 0.3);
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 14px;
}

.checkbox-row:hover,
.checkbox-label:hover {
  border-color: #0964CC;
  background: #ecfdf5;
}

.checkbox-row input[type="checkbox"],
.checkbox-input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #0964CC;
  flex-shrink: 0;
}

.checkbox-row label,
.checkbox-text {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
}

/* ============================================================
   RADIO GROUP
============================================================ */

.radio-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: 8px;
  background: #f5f5f5;
  border: 2px solid #ddd;
  font-size: 15px;
  font-weight: 500;
  color: #333;
  transition: all 0.2s ease;
}

.radio-option:hover {
  border-color: #0964CC;
  background: #EAF2FD;
}

.radio-option.selected {
  background: #0964CC;
  border-color: #0964CC;
  color: #fff;
}

/* ============================================================
   ÎMPREJURĂRI
============================================================ */

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

.imprejurari-column {
  background: #fafafa;
  border-radius: 10px;
  padding: 16px;
}

.imprejurari-column.col-a {
  border: 2px solid rgba(9, 100, 204, 0.3);
}

.imprejurari-column.col-b {
  border: 2px solid rgba(217, 119, 6, 0.3);
}

.imprejurari-header {
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 14px;
}

.imprejurari-header.header-a {
  background: #0964CC;
  color: #fff;
}

.imprejurari-header.header-b {
  background: #D97706;
  color: #fff;
}

.imprejurari-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.imprejurare-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: all 0.15s ease;
  user-select: none;
}

.imprejurare-item:hover {
  border-color: #0964CC;
  background: #EAF2FD;
}

.imprejurare-item.selected {
  background: #EAF2FD;
  border-color: #0964CC;
  color: #08498F;
  font-weight: 600;
}

.imprejurare-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0964CC;
  flex-shrink: 0;
  cursor: pointer;
}

/* ============================================================
   SCHIȚĂ ACCIDENT
============================================================ */

.sketch-mode-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.sketch-mode-toggle button {
  padding: 10px 20px;
  border-radius: 8px;
  border: 2px solid #ddd;
  background: #f5f5f5;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
}

.sketch-mode-toggle button.active {
  background: #0964CC;
  border-color: #0964CC;
  color: #fff;
}

.sketch-mode-toggle button:hover:not(.active) {
  border-color: #0964CC;
  background: #EAF2FD;
}

.sketch-select-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sketch-display {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px;
  background: #fafafa;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.btn-ai-generate {
  padding: 12px 24px;
  background: #0964CC;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-ai-generate:hover:not(:disabled) {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.btn-ai-generate:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-regenerate {
  padding: 8px 16px;
  background: #EFF6FF;
  border: 1px solid #0964CC;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #0964CC;
  transition: all 0.2s ease;
}

.btn-regenerate:hover {
  background: #DBEAFE;
}

.btn-clear {
  padding: 8px 16px;
  background: #FEF2F2;
  border: 1px solid #DC2626;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #DC2626;
  transition: all 0.2s ease;
}

.btn-clear:hover {
  background: #FEE2E2;
}

.sketch-error {
  color: #DC2626;
  font-size: 13px;
  margin-top: 6px;
}

/* ============================================================
   OBSERVAȚII
============================================================ */

.observatii-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.observatii-column {
  background-color: #FAFAFA;
  border-radius: 8px;
  padding: 16px;
}

.observatii-column.col-a {
  border: 2px solid #DBEAFE;
}

.observatii-column.col-b {
  border: 2px solid #FEF3C7;
}

.observatii-header {
  text-align: center;
  padding: 8px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
}

.observatii-header.header-a {
  background-color: #1E3A5F;
  color: #FFF;
}

.observatii-header.header-b {
  background-color: #D97706;
  color: #FFF;
}

/* ============================================================
   GENERATE SECTION
============================================================ */

.generate-section {
  background: #0964CC;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  color: #fff;
  margin-top: 24px;
}

.generate-section h2 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.generate-section p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 20px;
}

.btn-generate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 44px;
  font-size: 16px;
  font-weight: 700;
  color: #0964CC;
  background-color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-generate:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-generate:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   RESET SECTION
============================================================ */

.reset-section {
  max-width: 640px;
  margin: 24px auto 0;
  padding: 20px 24px;
  background: #FEF2F2;
  border: 2px solid #FECACA;
  border-radius: 12px;
  text-align: center;
}

.reset-section p {
  font-size: 14px;
  color: #991B1B;
  margin-bottom: 12px;
  font-weight: 500;
}

.reset-section .btn-reset {
  background: #DC2626;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.reset-section .btn-reset:hover {
  background: #B91C1C;
}

/* ============================================================
   SUCCESS CARD
============================================================ */

.success-card {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #DFE6F0;
  border-left: 4px solid #0964CC;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 1px 2px rgba(12,34,72,.05), 0 2px 6px rgba(12,34,72,.05);
}

.success-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.success-card-icon {
  color: #0964CC;
  flex-shrink: 0;
  display: inline-flex;
}

.success-card-header strong {
  color: #123059;
  font-size: 16px;
}

.success-email-note {
  color: #08498F;
  font-size: 14px;
  font-weight: normal;
}

.success-card-info {
  background: #F4F7FB;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 14px;
}

.success-card-info p {
  margin: 0;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

.success-card-cta {
  background: #EAF2FD;
  border: 1px solid #D6E6FA;
  border-radius: 8px;
  padding: 14px;
}

.success-cta-text {
  color: #123059;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.success-cta-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.success-phone-link {
  color: #0964CC;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
}

.success-phone-link:hover {
  text-decoration: underline;
}

.success-address {
  color: #555;
  font-size: 13px;
}

/* ============================================================
   SPINNER
============================================================ */

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spinner-spin 0.8s linear infinite;
  flex-shrink: 0;
}

@keyframes spinner-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   TOAST
============================================================ */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  background: #1a1a1a;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: all 0.3s ease;
  z-index: 9999;
  pointer-events: none;
  max-width: 320px;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.error {
  background: #DC2626;
}

/* ============================================================
   SIDEBAR
============================================================ */

.form-sidebar {
  position: sticky;
  top: 90px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
}

.sidebar-preview {
  width: 100%;
}

.sidebar-preview-img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #e0e0e0;
}

.sidebar-intro {
  padding: 20px 22px;
  border-bottom: 1px solid #e0e0e0;
}

.sidebar-intro-text {
  font-size: 13px;
  color: #333;
  line-height: 1.6;
  font-weight: 500;
  margin: 0 0 10px 0;
}

.sidebar-intro-disclaimer {
  font-size: 12px;
  color: #777;
  line-height: 1.55;
  margin: 0 0 14px 0;
}

.sidebar-guide {
  padding: 20px 22px 16px;
}

.sidebar-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EAF2FD;
  color: #0964CC;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.sidebar-guide-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.sidebar-guide-text {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.sidebar-tip {
  padding: 14px 22px;
  background: #f8f9fa;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.sidebar-tip--atentie {
  background: #fffbeb;
  border-top-color: #fef3c7;
  border-bottom-color: #fef3c7;
}

.sidebar-tip p {
  font-size: 12.5px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0;
}

.sidebar-tip--atentie p { color: #78350f; }

.sidebar-trust {
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.sidebar-trust-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #0964CC;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-scenarios {
  padding: 0 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-scenario-card {
  padding: 12px 14px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.2s ease;
  border: 1.5px solid transparent;
}

.sidebar-scenario-card:hover {
  background: #EAF2FD;
  border-color: rgba(9, 100, 204, 0.25);
}

.sidebar-scenario-title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}

.sidebar-scenario-desc {
  font-size: 12.5px;
  line-height: 1.45;
  color: #666;
  margin: 0;
}

/* ============================================================
   CONTACT REQUIRED (pasul 5)
============================================================ */

.contact-simple {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 18px;
}

.contact-intro {
  color: #1a1a1a;
  font-size: 15px;
  font-weight: 500;
  margin: 0 0 18px 0;
  text-align: center;
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Câmpul de telefon imediat sub intro, textul explicativ dedesubt (fără a schimba
   ordinea din DOM, ca varianta mobilă cu dropdown să rămână corectă) */
.contact-info-desktop {
  order: 2;
}

/* Telefonul si emailul stau unul langa altul pe desktop; sub 768px, in coloana. */
.contact-fields {
  order: 1;
  display: flex;
  flex-direction: row;
  gap: 14px;
  width: 100%;
  max-width: 740px;
  align-self: center;
}

.contact-fields .form-group {
  flex: 1 1 0;
  min-width: 0;
  margin-bottom: 0;
}

.contact-fields .form-label {
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 5px;
  display: block;
}

.contact-fields .form-input {
  background: #FFF;
  border: 1.5px solid #D1D5DB;
  padding: 10px 12px;
  font-size: 14px;
}

.contact-fields .form-input:focus {
  border-color: #0964CC;
  box-shadow: 0 0 0 3px rgba(9, 100, 204, 0.1);
}

.contact-info-desktop {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px;
}

.contact-info-desktop h4 {
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.contact-info-desktop p {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 8px 0;
}

.contact-info-desktop p:last-child {
  margin-bottom: 0;
}

.contact-info-desktop a {
  color: #0964CC;
  text-decoration: none;
  font-weight: 600;
}

.contact-info-desktop a:hover {
  text-decoration: underline;
}

.info-dropdown-mobile {
  display: none;
}

/* Generate section override pentru pasul 5 */
.generate-section.green {
  background: #fff !important;
  border: 1px solid #e5e7eb;
  color: #1a1a1a !important;
  padding: 24px !important;
  max-width: 640px;
  margin: 24px auto 0;
}

.generate-section.green h2 {
  color: #1a1a1a !important;
  font-size: 18px !important;
}

.generate-section.green p {
  color: #4b5563 !important;
  opacity: 1 !important;
  font-size: 13px !important;
}

.generate-section .btn-generate {
  background: #0964CC !important;
  color: #FFF !important;
  box-shadow: 0 2px 8px rgba(9, 100, 204, 0.25) !important;
}

.generate-section .btn-generate:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(9, 100, 204, 0.35) !important;
}

/* ============================================================
   MODAL
============================================================ */

.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
  animation: modal-fadeIn 0.3s ease;
}

@keyframes modal-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-content {
  background: #FFF;
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  animation: modal-slideUp 0.3s ease;
}

@keyframes modal-slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: none;
  background: #F3F4F6;
  border-radius: 50%;
  font-size: 20px;
  color: #6B7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background: #E5E7EB;
  color: #1F2937;
}

/* ============================================================
   RESPONSIVE
============================================================ */

/* Sub 900px */
@media (max-width: 900px) {
  .form-page-layout.with-sidebar {
    grid-template-columns: 1fr;
  }

  .form-sidebar {
    display: none;
  }

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

  .imprejurari-grid,
  .observatii-grid {
    grid-template-columns: 1fr;
  }

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

/* Mobile */
@media (max-width: 768px) {
  .hero-mini {
    padding: 24px 16px 20px;
  }

  .hero-mini-subtitle {
    font-size: 13px;
  }

  .form-main,
  .container {
    padding: 12px 10px;
  }

  .form-page-layout {
    padding: 0 0 40px;
  }

  .form-section {
    padding: 20px 16px;
    border-radius: 10px;
  }

  .form-toolbar {
    border-radius: 10px 10px 0 0;
    margin: 0 0 1px 0;
    padding: 10px 14px;
  }

  .wizard-stepper {
    padding: 14px;
    gap: 4px;
  }

  .wizard-navigation {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    border-radius: 10px;
  }

  .btn-wizard {
    width: 100%;
    justify-content: center;
  }

  .btn-next {
    margin-left: 0;
  }

  .generate-section {
    border-radius: 10px;
    padding: 24px 16px;
  }

  .contact-layout {
    display: block;
  }

  .contact-fields {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
    max-width: none;
  }

  .contact-fields .form-input {
    font-size: 16px;
    padding: 10px 12px;
  }

  .contact-info-desktop {
    display: none;
  }

  .info-dropdown-mobile {
    display: block;
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
  }

  .info-toggle {
    background: transparent;
    border: none;
    color: #4b5563;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
  }

  .info-content {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px;
    margin-top: 10px;
  }

  .info-content p {
    color: #4b5563;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 8px 0;
  }

  .info-content a {
    color: #0964CC;
    text-decoration: none;
    font-weight: 600;
  }

  .generate-section.green {
    padding: 20px 10px !important;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 8px;
  }

  .modal-content {
    max-height: 95vh;
    border-radius: 20px 20px 0 0;
  }
}

/* Small mobile */
@media (max-width: 600px) {
  .form-main,
  .container {
    padding: 8px 6px;
  }

  .form-section {
    padding: 16px 14px;
    border-radius: 8px;
  }

  .form-row,
  .form-row-3,
  .form-row-4 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
  }

  .section-header h2 {
    font-size: 17px;
  }

  .vehicle-badge {
    margin-left: 0;
  }

  .radio-option {
    padding: 8px 14px;
    font-size: 14px;
  }

  .sketch-mode-toggle {
    flex-direction: column;
    width: 100%;
  }

  .sketch-mode-toggle button {
    width: 100%;
  }

  .btn-generate {
    width: 100%;
    padding: 14px;
  }

  .success-card {
    padding: 14px 12px;
  }

  .success-cta-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .contact-simple {
    padding: 14px 8px;
  }

  .generate-section.green {
    padding: 18px 8px !important;
  }
}

/* Foarte mic */
@media (max-width: 380px) {
  .form-main,
  .container {
    padding: 4px;
  }

  .form-section {
    padding: 14px 10px;
    border-radius: 6px;
  }

  .form-input,
  .form-select {
    padding: 10px;
  }

  .radio-option {
    padding: 7px 12px;
    font-size: 13px;
  }
}
/* ============================================================
   SUBPAGINI: /despre/ și /conditii/
============================================================ */

.page-hero {
  background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
  padding: 60px 20px 48px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
}

.page-hero-content {
  max-width: 680px;
  margin: 0 auto;
}

.page-hero-icon {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
}

.page-hero h1 {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 14px 0;
  line-height: 1.2;
}

.page-hero p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.page-content {
  padding: 40px 20px 60px;
  background: #f8f9fa;
  flex: 1;
}

.page-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.content-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.content-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-card p {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
  margin: 0 0 14px 0;
}

.content-card p:last-child { margin-bottom: 0; }

.content-card ul {
  margin: 10px 0 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.content-card ul li {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.card-icon { font-size: 22px; flex-shrink: 0; }

.content-card.legal { border-left: 4px solid #0964CC; }
.content-card.legal h2 { color: #1e3a5f; font-size: 17px; }

.info-grid-new {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}

.info-card-new {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #e5e7eb;
}

.info-card-new .icon { font-size: 28px; margin-bottom: 10px; }
.info-card-new h3 { font-size: 14px; font-weight: 700; color: #1a1a1a; margin: 0 0 6px 0; }
.info-card-new p { font-size: 13px; color: #666; margin: 0; line-height: 1.5; }

.feature-grid { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fafafa;
}

.feature-item.highlight { border-color: rgba(22,163,74,0.3); background: #EAF2FD; }
.feature-icon { font-size: 24px; flex-shrink: 0; line-height: 1.3; }
.feature-item h4 { font-size: 14px; font-weight: 700; color: #1a1a1a; margin: 0 0 4px 0; }
.feature-item p { font-size: 13px; color: #555; margin: 0; line-height: 1.5; }

.eligibility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}

.eligibility-box { border-radius: 12px; padding: 20px; }
.eligibility-box.yes { background: #EAF2FD; border: 2px solid #0964CC; }
.eligibility-box.no { background: #fff5f5; border: 2px solid #dc2626; }
.eligibility-box h3 { font-size: 15px; font-weight: 700; margin: 0 0 12px 0; color: #1a1a1a; }
.eligibility-box ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.eligibility-box ul li { font-size: 14px; color: #333; line-height: 1.5; }

.warning-box {
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 16px;
}

.warning-box p { font-size: 14px; color: #78350f; margin: 0; line-height: 1.5; }

.benefits-grid-new {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0;
}

.benefit-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 18px 14px;
  text-align: center;
  border: 1px solid #e5e7eb;
}

.benefit-card .icon { font-size: 28px; margin-bottom: 8px; }
.benefit-card h4 { font-size: 13px; font-weight: 700; color: #1a1a1a; margin: 0 0 4px 0; }
.benefit-card p { font-size: 12px; color: #666; margin: 0; line-height: 1.4; }

.cta-box-new {
  background: linear-gradient(135deg, #1e3a5f 0%, #0964CC 100%);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  margin-top: 8px;
}

.cta-box-new h3 { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 8px 0; }
.cta-box-new p { font-size: 14px; color: rgba(255,255,255,0.85); margin: 0 0 18px 0; line-height: 1.5; }

.btn-cta-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0964CC;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-cta-new:hover { background: #08498F; transform: translateY(-1px); }

.faq-grid { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }

.faq-item {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 18px 20px;
  border: 1px solid #e5e7eb;
}

.faq-item h3 { font-size: 15px; font-weight: 700; color: #1a1a1a; margin: 0 0 8px 0; }
.faq-item p { font-size: 14px; color: #555; margin: 0; line-height: 1.6; }

.page-cta { text-align: center; padding: 16px 0 8px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0964CC;
  color: #fff;
  padding: 16px 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: #08498F;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22,163,74,0.3);
}

.contact-box {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  margin-top: 12px;
}

.contact-box p { margin: 0 0 6px 0; font-size: 14px; color: #333; }
.contact-box p:last-child { margin-bottom: 0; }
.contact-box a { color: #0964CC; text-decoration: none; font-weight: 600; }
.contact-box a:hover { text-decoration: underline; }

.acceptance-box {
  background: #EAF2FD;
  border: 2px solid #0964CC;
  border-radius: 12px;
  padding: 20px 24px;
  text-align: center;
}

.acceptance-box p { font-size: 14px; color: #08498F; font-weight: 500; margin: 0; line-height: 1.6; }

.imprejurare-item.selected-a { background: #EAF2FD; border-color: #0964CC; color: #08498F; font-weight: 600; }
.imprejurare-item.selected-b { background: #fffbeb; border-color: #D97706; color: #92400E; font-weight: 600; }

.sketch-ai-area {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  margin-bottom: 12px;
}

.sketch-area {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  text-align: center;
  margin-bottom: 12px;
}

.btn-generate-sketch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #0964CC;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 4px;
}

.btn-generate-sketch:hover:not(:disabled) { background: #1d4ed8; transform: translateY(-1px); }
.btn-generate-sketch:disabled { opacity: 0.5; cursor: not-allowed; }

.mode-btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: 2px solid #ddd;
  background: #f5f5f5;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.2s;
}

.mode-btn.active { background: #0964CC; border-color: #0964CC; color: #fff; }
.mode-btn:hover:not(.active) { border-color: #0964CC; background: #EAF2FD; }

@media (max-width: 768px) {
  .page-hero { padding: 40px 16px 32px; }
  .content-card { padding: 22px 18px; }
  .info-grid-new { grid-template-columns: 1fr; }
  .eligibility-grid { grid-template-columns: 1fr; }
  .benefits-grid-new { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .benefits-grid-new { grid-template-columns: 1fr; }
  .content-card { padding: 18px 14px; }
}

/* ============================================================
   CONSENT BOX (GDPR) — checkbox-uri înainte de generare PDF
============================================================ */

.gdpr-note {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  margin: 16px 0 0;
  text-align: left;
}

.gdpr-note > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  color: #0964CC;
}

.gdpr-note > summary::-webkit-details-marker {
  display: none;
}

.gdpr-note[open] > summary {
  border-bottom: 1px solid #e5e7eb;
}

.gdpr-note-body {
  padding: 14px 18px 6px;
}

.gdpr-note-body p {
  font-size: 12.5px;
  line-height: 1.55;
  color: #4b5563;
  margin: 0 0 10px;
}

.gdpr-note-body a {
  color: #0964CC;
  text-decoration: underline;
  font-weight: 600;
}

.consent-box {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 16px 18px;
  margin: 16px 0 18px;
  text-align: left;
}

.consent-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
}

.consent-item + .consent-item {
  border-top: 1px solid #f0f0f0;
  margin-top: 4px;
  padding-top: 12px;
}

.consent-item input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #0964CC;
  cursor: pointer;
}

.consent-text {
  font-size: 13px;
  line-height: 1.55;
  color: #374151;
}

.consent-text a {
  color: #0964CC;
  text-decoration: underline;
  font-weight: 600;
}

.consent-text a:hover {
  color: #08498F;
}

.consent-required {
  color: #dc2626;
  font-weight: 700;
}

@media (max-width: 480px) {
  .consent-box {
    padding: 14px;
  }
  .consent-text {
    font-size: 12.5px;
  }
}

/* ===== Secțiune ajutor sub formular (eligibilitate mobil) + FAQ accordion (/conditii) ===== */
.amiabila-help { display: none; padding: 8px 20px 40px; }

.faq-accordion { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.faq-accordion details {
  background: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0 18px;
}
.faq-accordion summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after {
  content: '+';
  font-size: 22px;
  line-height: 1;
  color: #0964CC;
  font-weight: 400;
  flex-shrink: 0;
}
.faq-accordion details[open] summary::after { content: '−'; }
.faq-accordion details p {
  font-size: 14px;
  color: #555;
  margin: 0;
  padding: 0 0 16px;
  line-height: 1.6;
}

/* Eligibilitate în sidebar (Pasul 1, desktop) — neutru, fără chenare/culori */
.sidebar-help .sidebar-eligibility {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 0 22px 4px;
}
.sidebar-help .eligibility-box {
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
}
.sidebar-help .eligibility-box h3 { font-size: 14px; margin: 0 0 8px 0; }
.sidebar-help .eligibility-box ul { list-style: none; padding-left: 0; }
.sidebar-help .eligibility-box ul li {
  font-size: 13px;
  position: relative;
  padding-left: 20px;
}
/* Bifa cenusie statea si in dreptul listei „NU folosi daca”, ceea ce citea
   pe dos. Acum semnul urmeaza inteles ul listei. */
.sidebar-help .eligibility-box ul li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
}
.sidebar-help .eligibility-box.yes ul li::before { content: '✓'; color: #0964CC; }
.sidebar-help .eligibility-box.no  ul li::before { content: '✕'; color: #dc2626; }

/* Secțiunea help de sub formular: doar pe mobil (pe desktop eligibilitatea e în sidebar) */
@media (max-width: 900px) {
  .amiabila-help { display: block; }
}
/* ────────────────────────────────────────────────────────────
   Adaugat la portarea in PHP (27.08.2026)

   Restul foii e preluat neschimbat din varianta anterioara. Aici sunt
   doar clasele care n-aveau corespondent: casuta de bifat desenata peste
   un checkbox real, evidentierea campului lipsa, si butonul de resetare.
   ──────────────────────────────────────────────────────────── */

/* Checkbox real, ascuns vizual dar prezent pentru tastatura si cititoare
   de ecran; patratul vizibil e desenat langa el. */
.imprejurare-bifa {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-box {
  flex: none;
  width: 18px;
  height: 18px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s;
}

.checkbox-box::after {
  content: "✓";
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  opacity: 0;
}

.imprejurare-bifa:checked + .checkbox-box::after { opacity: 1; }

.imprejurare-bifa:focus-visible + .checkbox-box {
  outline: 2px solid #0964CC;
  outline-offset: 2px;
}

.col-a .imprejurare-bifa:checked + .checkbox-box { background: #0964CC; border-color: #0964CC; }
.col-b .imprejurare-bifa:checked + .checkbox-box { background: #f59e0b; border-color: #f59e0b; }

/* Campul care lipseste la trecerea pasului. */
.camp-lipsa,
.camp-lipsa .form-input {
  border-color: #dc2626 !important;
  background: #fef2f2;
}

.btn-reset {
  background: none;
  border: none;
  color: #6b7280;
  text-decoration: underline;
  cursor: pointer;
}

.btn-reset:hover { color: #374151; }

.hint { font-size: 13px; color: #6b7280; margin-bottom: 14px; }
/* Sugestia de sub titlul „Vehicul A/B": lipita de el, fara spatiul de jos. */
.hint-antet { margin: 2px 0 0; }

.toast-eroare { background: #dc2626; }

/* Pozitionarea interactiva — in varianta anterioara stilurile erau scrise
   inline in componenta; aici sunt in foaie, ca sa poata fi ajustate fara cod. */
.schita-instructiune { font-size: 13px; color: #6b7280; margin-bottom: 10px; font-weight: 500; }

.schita-fundaluri { margin-bottom: 16px; }
.schita-fundal-butoane { display: flex; gap: 8px; flex-wrap: wrap; }

.schita-fundal-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  background: #fff;
  color: #374151;
  font-size: 13px;
  cursor: pointer;
  transition: all .15s;
}

.schita-fundal-btn.activ { border-color: #0964CC; background: #eff6ff; color: #0964CC; font-weight: 600; }

.schita-rotatii {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 12px;
  padding: 12px 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
}

.schita-rotatii-titlu {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a8a;
}

.schita-rotatii label { font-size: 13px; color: #374151; font-weight: 500; display: block; margin-bottom: 6px; }
.schita-rotatii input[type="range"] { width: 100%; accent-color: #0964CC; }

.schita-cadru { border: 2px solid #e2e8f0; border-radius: 10px; overflow: hidden; background: #fff; }

.schita-confirma {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #0964CC;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.schita-confirma:hover { background: #1d4ed8; }

@media (max-width: 480px) {
  .schita-rotatii { grid-template-columns: 1fr; }
}

/* Blocul afisat dupa depasirea numarului de trimiteri. */
.limita-pdf {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 10px;
  padding: 20px 24px;
  text-align: center;
  margin-top: 10px;
}

.limita-pdf-icon { font-size: 28px; margin-bottom: 8px; }
.limita-pdf-titlu { font-weight: 600; font-size: 15px; color: #92400e; margin-bottom: 8px; }
.limita-pdf-text { font-size: 14px; color: #78350f; margin-bottom: 14px; }

.limita-pdf-buton {
  display: inline-block;
  background: #047857;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

/* <details> in loc de buton cu stare, pe mobil. */
.info-dropdown-mobile summary { cursor: pointer; list-style: none; }
.info-dropdown-mobile summary::-webkit-details-marker { display: none; }
.info-dropdown-mobile summary::before { content: "▶ "; }
.info-dropdown-mobile details[open] summary::before { content: "▼ "; }

/* Mesajul de sub un camp completat gresit. */
.camp-eroare {
  display: block;
  font-size: 13px;
  color: #dc2626;
  margin-top: 6px;
  line-height: 1.4;
}

.consent-box + .camp-eroare { margin-bottom: 10px; }

/* Starea campului de telefon la pasul 5.
   Verdele din foaie inseamna „camp activ" (:focus), deci pentru „camp corect"
   avem nevoie de reguli care bat focusul — de aici selectorii dubli. */
.contact-fields .form-input.camp-invalid,
.contact-fields .form-input.camp-invalid:focus {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12);
  background: #fef2f2;
}

.contact-fields .form-input.camp-valid,
.contact-fields .form-input.camp-valid:focus {
  border-color: #0964CC;
  box-shadow: 0 0 0 3px rgba(9, 100, 204, .15);
  background: #EAF2FD;
}

/* Lista cu ce mai lipseste, deasupra butonului de trimitere. */
.lipsuri {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 12px 16px;
  margin: 0 0 12px;
  text-align: left;
}

.lipsuri-titlu { font-size: 13px; font-weight: 600; color: #92400e; margin: 0 0 6px; }

.lipsuri ul { margin: 0; padding-left: 20px; }

.lipsuri li { font-size: 13px; color: #78350f; line-height: 1.5; }

.btn-generate:disabled { cursor: not-allowed; }
