.wec-widget{max-width:560px;border:1px solid #eee;border-radius:12px;overflow:hidden;font-family:system-ui,-apple-system,"Segoe UI",Tahoma,Arial;background:#fff;box-shadow:0 6px 24px rgba(0,0,0,.06)}
.wec-header{background:#f7f7f9;padding:14px 16px;font-weight:700;text-align:left}
.wec-body{padding:16px;text-align:left;line-height:1.8}
.wec-footer{background:#fafafa;padding:10px 16px;text-align:left;font-size:.9rem;color:#666;border-top:1px solid #f0f0f0}
.wec-menu{display:flex;flex-wrap:wrap;gap:8px}
.wec-menu button{flex:1;padding:10px;border:1px solid #ddd;background:#fff;border-radius:10px;cursor:pointer}
.wec-block{margin-bottom:12px}
.wec-form .wec-label{display:block;margin:10px 0 6px}
.wec-form .wec-label span{color:#d00}
.wec-input{width:100%;padding:10px;border:1px solid #ddd;border-radius:8px}
.wec-btn{margin-top:12px;padding:10px 14px;border:0;border-radius:8px;cursor:pointer;background:#222;color:#fff}
.wec-link{margin-top:8px;background:transparent;border:0;color:#0a58ca;cursor:pointer}
.wec-err{color:#d00;font-size:.85rem;margin-top:4px;min-height:1em}
.wec-success{background:#f0fff4;border:1px solid #d1f2d8;padding:12px;border-radius:8px;margin-bottom:10px}
.wec-faq{display:grid;gap:8px}
.wec-faq-answer{margin-top:10px;background:#f9f9f9;padding:10px;border-radius:8px;border:1px solid #eee}
@media (max-width:480px){.wec-widget{border-radius:0}}
/* Two rows layout: 2 cards then 3 cards */
.wec-cards{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.wec-row{
  display:grid;
  gap:12px;
}

.wec-row:first-child{
  grid-template-columns:repeat(2, 1fr);
}

.wec-row:last-child{
  grid-template-columns:repeat(3, 1fr);
}

/* Make sure cards adapt on small screens */
@media (max-width:480px){
  .wec-row:first-child{ grid-template-columns:1fr; }
  .wec-row:last-child{ grid-template-columns:1fr 1fr; }
}

/* Reuse card visuals */
.wec-card{
  appearance:none; border:1px solid #e6e6e6; background:#fff; border-radius:12px;
  padding:12px 14px; cursor:pointer; display:flex; align-items:center; gap:10px;
  min-height:56px; text-align:left; box-shadow:0 2px 8px rgba(0,0,0,.04);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.wec-card:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(0,0,0,.08);
  border-color:#dcdcdc; background:#fafafa;
}
.wec-card:focus-visible{
  box-shadow:0 0 0 3px rgba(14,165,233,.35), 0 6px 20px rgba(0,0,0,.08);
  border-color:#0EA5E9;
}
.wec-num{
  width:28px;height:28px;border-radius:8px;
  display:inline-flex;align-items:center;justify-content:center;
  background:#0EA5E9;color:#fff;font-weight:700;font-size:14px;flex:0 0 28px;
}
.wec-title{font-weight:600;line-height:1.25;color:#111;}
/* Force chatbot selects to be visible */
.wec-widget select,
.fc-mu-modal-bot .wec-widget select,
.wec-input[name="service"] {
  visibility: visible !important;
  opacity: 1 !important;      /* in case another rule lowers opacity */
  pointer-events: auto !important;
}
/* Align Submit + Back nicely on one row */
.wec-form .wec-btn,
.wec-form .wec-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  vertical-align: middle;
  line-height: 1;
}

/* Primary (Submit) */
.wec-form .wec-btn{
  background:#0E3A9E;
  color:#fff;
  border:0;
  font-weight:700;
  letter-spacing:.06em;
}

/* Secondary (Back) */
.wec-form .wec-link{
  margin-left:12px;
  background:transparent !important;
  color:#0E3A9E !important;
  border:1px solid #0E3A9E !important;
  box-shadow:none !important;
  font-weight:700;
  letter-spacing:.06em;
}

/* Normalize any theme overrides */
.wec-widget .wec-form .wec-btn,
.wec-widget .wec-form .wec-link{
  text-transform:none;
}

/* Mobile: stack */
@media (max-width: 520px){
  .wec-form .wec-btn,
  .wec-form .wec-link{
    width:100%;
    margin-left:0;
  }
  .wec-form .wec-btn + .wec-link{
    margin-top:10px;
  }
}


