/* ===== VALSORIA FORMS — FRONTEND ===== */
.vf-wrap { font-family: 'Lato', 'Segoe UI', sans-serif; color: #222; max-width: 680px; margin: 0 auto; padding-bottom: 40px; }

/* BANNER */
.vf-banner { background: linear-gradient(135deg, #1a2f5e 0%, #243d7a 50%, #1a2f5e 100%); display: flex; align-items: stretch; min-height: 110px; overflow: hidden; border-radius: 10px 10px 0 0; }
.vf-banner-diamonds { flex: 0 0 220px; display: flex; align-items: center; padding: 16px 10px 16px 16px; }
.vf-diamond-grid { display: grid; grid-template-columns: repeat(3, 50px); grid-template-rows: repeat(2, 50px); gap: 5px; transform: rotate(-5deg); }
.vf-diamond { width: 50px; height: 50px; border-radius: 7px; transform: rotate(45deg); }
.vf-d-green { background: #88c057; }
.vf-d-navy  { background: #0f1f45; border: 2px solid rgba(255,255,255,0.15); }
.vf-banner-content { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; padding: 16px 24px; text-align: right; }
.vf-logo-icon { width: 36px; height: 36px; background: #6ab04c; border-radius: 7px; display: flex; align-items: center; justify-content: center; margin-left: auto; margin-bottom: 3px; }
.vf-logo-icon svg { fill: white; }
.vf-brand-name { font-size: 0.72rem; font-weight: 700; color: #6ab04c; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.vf-brand-discover { font-size: 1.25rem; font-weight: 900; color: #6ab04c; text-transform: uppercase; line-height: 1.1; margin-bottom: 3px; }
.vf-brand-tagline { font-size: 0.68rem; color: rgba(255,255,255,0.82); line-height: 1.4; max-width: 200px; margin-bottom: 5px; }
.vf-banner-contacts span { display: block; font-size: 0.63rem; color: rgba(255,255,255,0.6); letter-spacing: 0.3px; }

/* HEADER */
.vf-form-header { background: #fff; padding: 24px 28px 18px; border-top: 7px solid #6ab04c; box-shadow: 0 2px 8px rgba(0,0,0,0.07); margin-top: 0; }
.vf-form-title  { font-size: 1.6rem; font-weight: 800; color: #222; margin: 0 0 8px; }
.vf-form-subtitle { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 12px; color: #222; }
.vf-account-note { font-size: 0.78rem; color: #888; line-height: 1.5; padding-top: 12px; border-top: 1px solid #e0e0e0; }
.vf-required-note { margin-top: 10px; font-size: 0.78rem; color: #d93025; font-style: italic; }

/* FIELD CARDS */
.vf-field-card { background: #fff; margin-top: 12px; padding: 20px 28px 24px; box-shadow: 0 2px 7px rgba(0,0,0,0.06); transition: box-shadow 0.2s; }
.vf-field-card:focus-within { box-shadow: 0 4px 16px rgba(106,176,76,0.18); }
.vf-field-label { font-size: 0.95rem; font-weight: 700; color: #222; margin-bottom: 12px; }
.vf-req { color: #d93025; margin-left: 3px; }
.vf-input { width: 100%; border: none; border-bottom: 1px solid #ccc; outline: none; font-size: 0.88rem; color: #222; padding: 6px 0; background: transparent; transition: border-color 0.2s; font-family: inherit; }
.vf-input:focus { border-bottom: 2px solid #4e8a35; }
.vf-input::placeholder { color: #aaa; }
.vf-textarea { resize: vertical; min-height: 80px; border: 1px solid #ccc; padding: 8px; border-radius: 4px; }
.vf-textarea:focus { border-color: #4e8a35; border-bottom-width: 1px; }
.vf-select { border: 1px solid #ccc; border-radius: 4px; padding: 8px; }
.vf-select:focus { border-color: #4e8a35; border-bottom-width: 1px; }

/* CHECKBOXES */
.vf-checkbox-list, .vf-radio-list { display: flex; flex-direction: column; gap: 12px; }
.vf-checkbox-item, .vf-radio-item { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.vf-checkbox-item input[type="checkbox"],
.vf-other-row input[type="checkbox"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; border: 2px solid #aaa; border-radius: 3px;
  flex-shrink: 0; cursor: pointer; position: relative; transition: border-color 0.15s;
}
.vf-checkbox-item input[type="checkbox"]:checked,
.vf-other-row input[type="checkbox"]:checked {
  background: #1a2f5e; border-color: #1a2f5e;
}
.vf-checkbox-item input[type="checkbox"]:checked::after,
.vf-other-row input[type="checkbox"]:checked::after {
  content: ''; position: absolute; left: 3px; top: 0;
  width: 5px; height: 10px; border: 2px solid white;
  border-top: none; border-left: none; transform: rotate(45deg);
}
.vf-radio-item input[type="radio"] { accent-color: #1a2f5e; width: 16px; height: 16px; flex-shrink: 0; }
.vf-checkbox-item span, .vf-radio-item span { font-size: 0.88rem; color: #222; }

/* OTHER ROW */
.vf-other-row { display: flex; align-items: center; gap: 10px; }
.vf-other-label { font-size: 0.88rem; color: #222; flex-shrink: 0; }
.vf-other-input { flex: 1; border: none; border-bottom: 1px solid #ccc; outline: none; font-size: 0.88rem; color: #222; padding: 4px 0; background: transparent; font-family: inherit; }
.vf-other-input:focus { border-bottom: 1px solid #4e8a35; }
.vf-other-input:disabled { opacity: 0.4; }

/* ACTIONS */
.vf-form-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.vf-btn-submit { background: #1a2f5e; color: #fff; border: 2px solid #1a2f5e; padding: 10px 30px; font-size: 0.92rem; font-weight: 700; border-radius: 4px; cursor: pointer; transition: background 0.2s, transform 0.1s; font-family: inherit; }
.vf-btn-submit:hover { background: #0f1f45; transform: translateY(-1px); }
.vf-btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.vf-btn-clear { background: none; border: none; color: #4e8a35; font-size: 0.88rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.vf-btn-clear:hover { color: #6ab04c; }

/* MESSAGES */
.vf-error-msg { color: #d93025; font-size: 0.82rem; margin-top: 10px; padding: 10px 14px; background: #fde8e8; border-radius: 6px; }
.vf-success-msg { background: #fff; padding: 36px 28px; text-align: center; margin-top: 12px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); border-top: 7px solid #6ab04c; }
.vf-checkmark { width: 54px; height: 54px; background: #6ab04c; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.vf-checkmark svg { fill: white; }
.vf-success-msg h3 { font-size: 1.3rem; font-weight: 800; color: #1a2f5e; margin: 0 0 8px; }
.vf-success-msg p  { color: #888; font-size: 0.88rem; line-height: 1.6; margin: 0; }

@media (max-width: 580px) {
  .vf-banner-diamonds { flex: 0 0 120px; }
  .vf-diamond-grid { grid-template-columns: repeat(2, 42px); grid-template-rows: repeat(2, 42px); }
  .vf-diamond { width: 42px; height: 42px; }
  .vf-brand-discover { font-size: 1rem; }
  .vf-form-header, .vf-field-card { padding: 18px 16px 20px; }
  .vf-form-title { font-size: 1.25rem; }
}
