/* ================================================================
   Briefcase Contact Form — Frontend Styles v1.0.0
   ================================================================ */
.bcf-wrap *, .bcf-wrap *::before, .bcf-wrap *::after { box-sizing: border-box; }
.bcf-wrap {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #111827; font-size: 15px; line-height: 1.5;
}
.bcf-form { max-width: 100%; }
.bcf-field { margin-bottom: 18px; }
.bcf-label { display: block; font-size: 14px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.bcf-required { color: #e94560; margin-left: 2px; }
.bcf-description { font-size: 12px; color: #9ca3af; margin: 4px 0 0; }
.bcf-input {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid #e5e7eb; border-radius: 6px;
  font-size: 14px; font-family: inherit; color: #111827;
  transition: border-color .15s, box-shadow .15s;
  background: #fff;
}
.bcf-input:focus { outline: none; border-color: #1a1a2e; box-shadow: 0 0 0 3px rgba(26,26,46,.1); }
.bcf-input::placeholder { color: #d1d5db; }
textarea.bcf-input { resize: vertical; min-height: 100px; }

/* Select */
select.bcf-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3af' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

/* Radio / Checkbox groups */
.bcf-radio-group, .bcf-checkbox-group { display: flex; flex-direction: column; gap: 8px; }
.bcf-radio-label, .bcf-checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.bcf-radio-label input, .bcf-checkbox-label input { width: 16px; height: 16px; flex-shrink: 0; accent-color: #1a1a2e; }

/* Acceptance */
.bcf-acceptance__label { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; cursor: pointer; }
.bcf-acceptance__label input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: #1a1a2e; }

/* Divider */
.bcf-divider { display: flex; align-items: center; gap: 12px; margin: 8px 0; }
.bcf-divider__label { font-size: 13px; font-weight: 600; color: #6b7280; white-space: nowrap; }
.bcf-divider__line  { flex: 1; border: none; border-top: 1px solid #e5e7eb; }

/* HTML block */
.bcf-html-block { margin-bottom: 4px; }

/* Submit button */
.bcf-submit-row { margin-top: 20px; }
.bcf-btn--submit {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 28px; background: #1a1a2e; color: #fff;
  border: none; border-radius: 6px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: background .15s;
}
.bcf-btn--submit:hover { background: #16213e; }
.bcf-btn--submit:disabled { opacity: .6; cursor: not-allowed; }

/* Messages */
.bcf-messages { margin-top: 12px; }
.bcf-error-msg { background: #fee2e2; color: #b91c1c; padding: 10px 14px; border-radius: 6px; font-size: 14px; margin-bottom: 8px; }
.bcf-field-error { font-size: 12px; color: #ef4444; margin-top: 4px; display: block; }
.bcf-field--has-error .bcf-input { border-color: #ef4444; }

/* Success */
.bcf-success { background: #ecfdf5; color: #065f46; padding: 16px 20px; border-radius: 8px; font-size: 15px; border: 1px solid #a7f3d0; }

/* Multi-step */
.bcf-steps-bar { display: flex; align-items: center; margin-bottom: 24px; }
.bcf-step-dot { width: 28px; height: 28px; border-radius: 50%; background: #e5e7eb; color: #9ca3af; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.bcf-step-dot--active, .bcf-step-dot--done { background: #1a1a2e; color: #fff; }
.bcf-step-line { flex: 1; height: 2px; background: #e5e7eb; margin: 0 6px; }
.bcf-step-nav { display: flex; gap: 10px; margin-top: 20px; }
.bcf-btn--prev { background: #f3f4f6; color: #374151; border: 1px solid #e5e7eb; padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: all .15s; }
.bcf-btn--prev:hover { background: #e5e7eb; }
.bcf-btn--next { padding: 10px 20px; background: #1a1a2e; color: #fff; border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s; }
.bcf-btn--next:hover { background: #16213e; }

/* Unavailable notice */
.bcf-unavailable { color: #6b7280; font-style: italic; padding: 12px; background: #f9fafb; border-radius: 6px; border: 1px solid #e5e7eb; }

@media (max-width:600px) {
  .bcf-radio-group, .bcf-checkbox-group { gap:10px; }
  .bcf-btn--submit { width:100%; justify-content:center; }
}

/* ================================================================
   Column layout — frontend
   ================================================================ */
.bcf-row-layout {
  display: grid;
  gap: 0 16px;
  margin-bottom: 18px;
}
.bcf-row-layout--1 { grid-template-columns: 1fr; }
.bcf-row-layout--2 { grid-template-columns: 1fr 1fr; }
.bcf-row-layout--3 { grid-template-columns: 1fr 1fr 1fr; }
.bcf-row-layout--4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.bcf-col-layout { display: flex; flex-direction: column; }
/* Fields inside columns still get their bottom margin */
.bcf-col-layout .bcf-field { margin-bottom: 18px; }
.bcf-col-layout .bcf-field:last-child { margin-bottom: 0; }

/* Collapse to single column on mobile */
@media (max-width: 600px) {
  .bcf-row-layout--2,
  .bcf-row-layout--3,
  .bcf-row-layout--4 {
    grid-template-columns: 1fr;
  }
}
