/* SECAM Vehicle Export Forms */
.svef-wrap { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 15px; color: #1a1a1a; max-width: 900px; margin: 0 auto; }
.svef-wrap *, .svef-wrap *::before, .svef-wrap *::after { box-sizing: border-box; }

.svef-header { margin-bottom: 1.5rem; }
.svef-header h2 { font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.svef-header p { font-size: 14px; color: #666; }

.svef-section { background: #fff; border: 1px solid #e0e0dc; border-radius: 10px; padding: 1.25rem 1.5rem; margin-bottom: 1rem; }
.svef-section.svef-highlight { border-color: #185FA5; border-width: 1.5px; }
.svef-section-title { font-size: 15px; font-weight: 600; color: #1a1a1a; margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.svef-shared-badge { font-size: 11px; font-weight: 500; background: #e8f0fb; color: #185FA5; border-radius: 4px; padding: 2px 8px; }

.svef-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.svef-field { display: flex; flex-direction: column; gap: 4px; }
.svef-field.svef-full { grid-column: 1 / -1; }
.svef-field.svef-small { grid-column: span 1; max-width: 120px; }
.svef-field label { font-size: 12px; font-weight: 500; color: #555; }
.svef-field input, .svef-field select { font-family: inherit; font-size: 13px; padding: 8px 10px; border: 1px solid #ddd; border-radius: 6px; outline: none; width: 100%; }
.svef-field input:focus, .svef-field select:focus { border-color: #185FA5; }
.svef-field input::placeholder { color: #bbb; }
span.req { color: #c0392b; }

.svef-title-toggle { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #f0f0ec; }
.svef-toggle-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 500; }
.svef-toggle-label input[type=checkbox] { width: 16px; height: 16px; cursor: pointer; }
.svef-toggle-note { font-size: 13px; color: #666; margin-top: 6px; }

.svef-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 1.5rem 0; }
.svef-btn { font-family: inherit; font-size: 14px; padding: 10px 22px; border-radius: 8px; cursor: pointer; border: 1px solid #ccc; background: #fff; color: #1a1a1a; transition: background 0.15s; }
.svef-btn:hover { background: #f0f0ec; }
.svef-btn.primary { background: #185FA5; color: #fff; border-color: #185FA5; }
.svef-btn.primary:hover { background: #0C447C; }
.svef-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.svef-status { font-size: 13px; color: #666; }
.svef-status.success { color: #0F6E56; font-weight: 500; }
.svef-status.error { color: #c0392b; }

.svef-blank-downloads { background: #f5f5f3; border-radius: 10px; padding: 1.25rem 1.5rem; margin-top: 1rem; }
.svef-blank-downloads h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.svef-blank-downloads p { font-size: 13px; color: #666; margin-bottom: 12px; }
.svef-blank-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Password gate */
.svef-gate { max-width: 400px; margin: 2rem auto; background: #fff; border: 1px solid #e0e0dc; border-radius: 10px; padding: 2rem; text-align: center; }
.svef-gate h2 { font-size: 18px; margin-bottom: 8px; }
.svef-gate p { font-size: 14px; color: #666; margin-bottom: 1.5rem; }
.svef-gate input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; margin-bottom: 10px; font-family: inherit; outline: none; }
.svef-gate input:focus { border-color: #185FA5; }
.svef-gate-error { font-size: 13px; color: #c0392b; margin-bottom: 8px; display: none; }
.svef-gate button { width: 100%; padding: 10px; background: #185FA5; color: #fff; border: none; border-radius: 8px; font-size: 14px; cursor: pointer; font-family: inherit; }

@media (max-width: 600px) {
  .svef-grid { grid-template-columns: 1fr 1fr; }
  .svef-field.svef-small { max-width: 100%; }
}
