:root{
  --ink:#0b2340; --muted:#5a6b7b;
  --shadow: 0 10px 25px rgba(0,0,0,.08);
  --radius: 16px;
  --good:#1a7f37; --bad:#b42318;
}
*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background: radial-gradient(1200px 600px at 20% 10%, #243b55 0%, #141e30 55%, #0b1020 100%);
  min-height:100vh;
}
.wrap{ max-width:980px; margin:0 auto; padding:22px 16px 48px; position:relative; }
.top{ display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:12px; }
.backLink{ color:rgba(255,255,255,.9); text-decoration:none; font-weight:900; padding:10px 12px; border-radius:14px; border:1px solid rgba(255,255,255,.18); background:rgba(255,255,255,.08); }
.langToggle{ display:flex; gap:10px; align-items:center; padding:10px 12px; border-radius:999px; background:#fff; box-shadow:0 4px 14px rgba(0,0,0,.06); }
.muted{ color:var(--muted); font-size:13px; }
.switch{ width:48px;height:28px;border-radius:20px;background:#d7dde5; position:relative; cursor:pointer; }
.knob{ width:22px;height:22px;border-radius:50%; background:#fff; position:absolute; top:3px; left:3px; transition:all .2s ease; box-shadow:0 4px 10px rgba(0,0,0,.15); }
.switch.on{ background:#0b2340; } .switch.on .knob{ left:23px; }

.heroCard{ background:rgba(255,255,255,.92); border-radius:18px; box-shadow:0 16px 36px rgba(0,0,0,.18); padding:16px; }
.heroCard h1{ margin:0; font-size:22px; }
.ctaRow{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.btnLink{ display:inline-flex; align-items:center; padding:12px 14px; border-radius:14px; border:1px solid #dfe6ef; background:#fff; font-weight:900; color:#0b2340; text-decoration:none; }

.card{ margin-top:14px; background:rgba(255,255,255,.93); border-radius:18px; box-shadow:0 16px 36px rgba(0,0,0,.18); padding:18px; }
.disclaimer{ padding:12px; border-radius:14px; background:#f6f8fc; border:1px solid #e7edf6; font-size:13px; color:var(--muted); }
.section{ margin-top:14px; }
.section h2{ margin:0 0 10px; font-size:18px; }
.divider{ height:1px; background:#eef2f7; margin:16px 0; }

.grid{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media(max-width:820px){ .grid{ grid-template-columns:1fr; } }

label{ display:block; font-size:13px; color:var(--muted); margin:10px 0 6px; }
input,select,textarea{ width:100%; padding:12px 12px; border-radius:12px; border:1px solid #dfe6ef; background:#fff; outline:none; font-size:14px; }
textarea{ min-height:110px; resize:vertical; }

.drop{ border:2px dashed #cfd9e6; border-radius:14px; padding:14px; background:#fff; }
.drop.dragover{ border-color:#0b2340; background:#f1f5ff; }
.dropTop{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.dropActions{ display:flex; gap:10px; align-items:center; }
.fileList{ margin-top:10px; font-size:13px; color:var(--muted); }
.fileItem{ display:flex; justify-content:space-between; gap:10px; padding:6px 0; border-bottom:1px solid #eef2f7; }
.fileItem:last-child{ border-bottom:none; }

.smallBtn{ border:1px solid #dfe6ef; background:#fff; padding:10px 12px; border-radius:12px; cursor:pointer; font-weight:900; }
.actions{ margin-top:16px; display:flex; justify-content:flex-end; }
.btn{ border:none; padding:12px 16px; border-radius:14px; cursor:pointer; font-weight:900; background:#0b2340; color:#fff; box-shadow:0 10px 24px rgba(11,35,64,.18); }
.footer{ margin-top:18px; text-align:center; color:var(--muted); font-size:13px; }

.overlay{ display:none; position:fixed; inset:0; background:rgba(0,0,0,.35); z-index:999; align-items:center; justify-content:center; }
.overlay.show{ display:flex; }
.modal{ width:min(560px,92vw); background:#fff; border-radius:18px; box-shadow:0 18px 40px rgba(0,0,0,.22); padding:18px; }
.modalTop{ display:flex; gap:12px; align-items:center; }
.spin{ width:40px;height:40px; border:4px solid rgba(11,35,64,.18); border-top-color:#0b2340; border-radius:50%; animation:spin 1s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.modalTitle{ margin:0; font-size:16px; }
.modalMsg{ margin:10px 0 0; color:#0b2340; white-space:pre-wrap; }
.modalMsg.good{ color:var(--good); }
.modalMsg.bad{ color:var(--bad); }
.modalActions{ display:flex; justify-content:flex-end; gap:10px; margin-top:14px; }
.modalBtn{ border:1px solid #dfe6ef; background:#fff; padding:10px 12px; border-radius:12px; cursor:pointer; }
.modalBtn.primary{ border:none; background:#0b2340; color:#fff; font-weight:900; }

/* Success icon (green circled checkmark) for modal */
.spin.ok{
  border:none !important;
  animation:none !important;
  background: transparent !important;
  display:flex;
  align-items:center;
  justify-content:center;
}
.spin.ok svg{ width:40px; height:40px; display:block; }

/* Trust strip */
.trustStrip{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 12px;
}
.trustBadge{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid #e6ebf2;
  background: rgba(255,255,255,.95);
  color: #0b2340;
  font-weight: 800;
}
input:focus, select:focus, textarea:focus{
  border-color: #0b2340;
  box-shadow: 0 0 0 3px rgba(11,35,64,.12);
}


/* === Frank Insurance Orange + Blue Theme Override === */
:root{
  --fi-theme-blue-soft:#eaf6ff;
  --fi-theme-blue-mist:#dcefff;
  --fi-theme-orange-soft:#fff3e3;
  --fi-theme-orange-mist:#ffe6c7;
  --fi-theme-cream:#fffaf3;
  --fi-theme-navy:#0b2340;
}

body{
  background:
    radial-gradient(circle at 12% 8%, rgba(255,230,199,.78), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(220,239,255,.88), transparent 34%),
    linear-gradient(135deg, var(--fi-theme-blue-soft) 0%, var(--fi-theme-cream) 47%, var(--fi-theme-orange-soft) 100%) !important;
}

body::before{
  background:
    linear-gradient(135deg, rgba(11,35,64,.04), rgba(255,154,61,.06)),
    radial-gradient(circle at 78% 28%, rgba(255,198,128,.18), transparent 28%),
    radial-gradient(circle at 20% 82%, rgba(115,185,255,.18), transparent 30%) !important;
}

.card,
.panel,
.formCard,
.summaryBar,
.stepBar,
.trustStrip,
.modal,
.glass,
.heroCard,
.homeShell,
.hero,
.homeCard,
.productCard,
.productsCard,
.quickCard{
  background:rgba(255,255,255,.88) !important;
  border-color:rgba(11,35,64,.10) !important;
  box-shadow:0 18px 44px rgba(11,35,64,.10) !important;
}

.badge,
.trustBadge,
.pill,
.chip,
.kicker,
.miniBadge{
  background:linear-gradient(135deg, rgba(234,246,255,.94), rgba(255,243,227,.94)) !important;
  border-color:rgba(11,35,64,.10) !important;
}

button.primary,
.btn.primary,
.submitBtn,
.cta.primary,
.ctaPrimary,
.primary,
button[type="submit"]{
  background:linear-gradient(135deg, #0b2340, #225f93) !important;
}

button.secondary,
.btn.secondary,
.cta.secondary,
.ctaSecondary,
.secondary{
  background:linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,243,227,.92)) !important;
  border-color:rgba(11,35,64,.14) !important;
}

input:focus,
select:focus,
textarea:focus{
  border-color:#225f93 !important;
  box-shadow:0 0 0 4px rgba(34,95,147,.13) !important;
}


/* === Professional logo integration === */
.autoBrandLogo{
  display:inline-flex;
  width:68px;
  height:68px;
  border-radius:50%;
  overflow:hidden;
  flex:0 0 auto;
  box-shadow:0 10px 24px rgba(11,35,64,.13);
  background:#fff;
}
.autoBrandLogo img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
.top{
  align-items:center;
}
@media(max-width:560px){
  .autoBrandLogo{width:54px;height:54px}
}


.brandCampaignBar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:10px 14px;border-radius:14px;background:#0b2340;color:#fff;margin:12px 0;border-left:6px solid #f28c45;}
.brandCampaignBar strong{letter-spacing:.04em}.brandCampaignBar span{color:#ffd7b8;font-size:12px;font-weight:800}.brandCampaignBar #t_campaignProducts{color:#fff;font-size:11px;letter-spacing:.05em}
.consentGroup{margin-top:16px;padding:14px;border:1px solid #d8e2ee;border-radius:16px;background:#fff}.consentGroupHead{display:grid;gap:4px}.consentGroupHead strong{color:#0b2340}.consentGroupHead span{font-size:12px;line-height:1.45;color:#5d6b7b}.consentRow{display:flex;align-items:flex-start;gap:9px;margin-top:10px;padding:11px 12px;border:1px solid #dfe6ef;border-radius:12px;background:#f9fbfd;color:#40556b;line-height:1.45}.consentRow input{width:auto;flex:0 0 auto;margin:2px 0 0}.consentRow a{color:#0b5f9e;font-weight:800}.consentOptional{background:#fffaf4;border-color:#f2dcc9}.inputError{border-color:#b42318!important;box-shadow:0 0 0 3px rgba(180,35,24,.08)!important}

.directContactLink{font-size:12px;font-weight:850;color:#0b2340;text-decoration:none;padding:7px 10px;border:1px solid #dce5ee;border-radius:999px;background:#fff}
.directContactLink:hover{text-decoration:underline}
