/* ============================================================
   FinancialCorp Chat Widget — Premium Redesign
   Aesthetic: Trust & Precision — dark navy, champagne gold
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

#shlc-widget-root {
  --fc-navy:      #0d1b2a;
  --fc-navy-mid:  #162335;
  --fc-navy-lite: #1e3050;
  --fc-gold:      #c9a84c;
  --fc-gold-lite: #e8c97a;
  --fc-gold-dim:  rgba(201,168,76,.18);
  --fc-ice:       #e8f0fc;
  --fc-mist:      #f2f5fb;
  --fc-white:     #ffffff;
  --fc-text:      #0d1b2a;
  --fc-text-mid:  #3d5166;
  --fc-text-soft: #7a93b0;
  --fc-border:    rgba(201,168,76,.22);
  --fc-shadow:    0 24px 64px rgba(13,27,42,.38),0 4px 16px rgba(13,27,42,.18);
  --fc-radius:    20px;
  --fc-radius-sm: 12px;
  --fc-font-body: 'DM Sans',system-ui,sans-serif;
  --fc-font-disp: 'DM Serif Display',Georgia,serif;
  --fc-ease:      cubic-bezier(.22,.68,0,1.2);
  --fc-ease-out:  cubic-bezier(.16,1,.3,1);
  --shlc-primary: var(--fc-navy);

  position:fixed; right:20px; bottom:20px; z-index:99999;
  font-family:var(--fc-font-body);
}

.shlc-widget-shell {
  position:relative; display:flex; flex-direction:column;
  align-items:flex-end; gap:10px;
  max-width:min(400px,calc(100vw - 16px));
}

/* ── Teaser ── */
.shlc-launcher-stack {
  display:flex; flex-direction:column; align-items:center;
  gap:0; align-self:flex-end; width:148px;
}

.shlc-launcher-badge {
  width:154px; padding:10px 14px; text-align:center;
  background:var(--fc-navy); color:var(--fc-white);
  border-radius:14px; box-shadow:var(--fc-shadow);
  position:relative; border:1px solid var(--fc-border);
  animation:fcBadgePop .5s var(--fc-ease) both;
}
@keyframes fcBadgePop {
  from{opacity:0;transform:translateY(8px) scale(.94)}
  to  {opacity:1;transform:translateY(0)   scale(1)}
}
.shlc-launcher-badge::after {
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  bottom:-9px; border-width:9px 9px 0; border-style:solid;
  border-color:var(--fc-navy) transparent transparent;
}
.shlc-launcher-badge strong {
  display:block; font-family:var(--fc-font-disp); font-size:15px;
  font-weight:400; color:var(--fc-gold-lite); line-height:1.15; margin-bottom:2px;
}
.shlc-launcher-badge span {
  display:block; font-size:11.5px; color:rgba(255,255,255,.72);
  line-height:1.3; font-weight:300;
}

.shlc-mascot-above {
  width:100px !important; height:auto; display:block;
  margin:0 auto -5px;
  filter:drop-shadow(0 6px 12px rgba(13,27,42,.35));
}

/* ── Launcher ── */
.shlc-launcher {
  width:72px; height:72px; border-radius:999px;
  border:2px solid var(--fc-gold);
  background:var(--fc-navy); color:var(--fc-gold);
  cursor:pointer; font-size:26px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 32px rgba(13,27,42,.45);
  transition:transform .25s var(--fc-ease),box-shadow .25s ease;
  position:relative; overflow:hidden;
}
.shlc-launcher::before {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 35% 35%,rgba(201,168,76,.28) 0%,transparent 70%);
  opacity:0; transition:opacity .3s ease;
}
.shlc-launcher:hover {
  transform:scale(1.08) translateY(-2px);
  box-shadow:0 18px 48px rgba(13,27,42,.5),0 0 0 6px var(--fc-gold-dim);
}
.shlc-launcher:hover::before { opacity:1; }
.shlc-launcher:active { transform:scale(.96); }

/* ── Panel ── */
.shlc-panel {
  width:min(400px,calc(100vw - 16px));
  height:min(720px,calc(100vh - 24px));
  background:var(--fc-mist); border-radius:var(--fc-radius);
  box-shadow:var(--fc-shadow); overflow:hidden;
  display:flex; flex-direction:column;
  border:1px solid var(--fc-border); position:relative;
  animation:fcPanelSlide .4s var(--fc-ease-out) both;
}
@keyframes fcPanelSlide {
  from{opacity:0;transform:translateY(20px) scale(.96)}
  to  {opacity:1;transform:translateY(0) scale(1)}
}

.shlc-launcher-close {
  position:absolute; right:14px; top:14px; z-index:30;
  width:36px; height:36px; border-radius:999px;
  background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.25);
  color:rgba(255,255,255,.9); font-size:18px; font-weight:400;
  cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background .2s ease,transform .2s var(--fc-ease);
  backdrop-filter:blur(8px);
}
.shlc-launcher-close:hover {
  background:rgba(255,255,255,.26);
  transform:scale(1.1) rotate(90deg);
}

/* ── Hero ── */
.shlc-hero {
  position:relative; padding:22px 20px 18px;
  background:linear-gradient(135deg,var(--fc-navy) 0%,var(--fc-navy-lite) 100%);
  color:var(--fc-white); min-height:136px;
  display:grid; grid-template-columns:1fr 108px;
  align-items:end; gap:12px; overflow:hidden;
}
.shlc-hero::before {
  content:''; position:absolute; top:-40px; right:-30px;
  width:200px; height:200px; border-radius:50%;
  background:radial-gradient(circle,rgba(201,168,76,.18) 0%,transparent 70%);
  pointer-events:none;
}
.shlc-hero::after {
  content:''; position:absolute; bottom:0; left:0; right:0;
  height:1px; background:linear-gradient(90deg,transparent,var(--fc-gold),transparent);
}

.shlc-hero-copy { min-width:0; position:relative; z-index:1; }

.shlc-hero-title {
  font-family:var(--fc-font-disp); font-size:21px; font-weight:400;
  margin-bottom:6px; color:var(--fc-white); letter-spacing:-.01em; line-height:1.15;
}
.shlc-subtitle {
  font-size:12.5px; color:rgba(255,255,255,.68);
  max-width:210px; line-height:1.4; font-weight:300;
}

.shlc-hero-art {
  display:flex; justify-content:center; align-items:flex-end;
  place-self:end center; width:100%; position:relative; z-index:1;
}
.shlc-hero img {
  width:112px; height:auto; display:block; margin:0 auto;
  filter:drop-shadow(0 8px 20px rgba(13,27,42,.5));
}

/* ── Body ── */
.shlc-body { flex:1; min-height:0; background:var(--fc-mist); display:flex; flex-direction:column; }
.shlc-dynamic { flex:0 0 auto; min-height:0; }
.shlc-node-form .shlc-dynamic,
.shlc-node-live_chat .shlc-dynamic { flex:1 1 auto; min-height:0; overflow:hidden; display:flex; flex-direction:column; }
.shlc-node-form .shlc-messages     { flex:0 0 auto; max-height:88px !important; margin-bottom:8px; overflow-y:auto; }
.shlc-node-live_chat .shlc-messages { flex:0 0 auto; max-height:200px; }
.shlc-node-form .shlc-body         { display:flex; flex-direction:column; min-height:0; }

/* ── Breadcrumb bar ── */
.shlc-header-actions {
  display:flex; justify-content:space-between; align-items:center;
  padding:10px 16px; background:var(--fc-white);
  border-bottom:1px solid rgba(201,168,76,.14); gap:12px;
}
.shlc-crumbs {
  font-size:11px; color:var(--fc-text-soft); min-width:0;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-weight:600; letter-spacing:.06em; text-transform:uppercase;
}
.shlc-text-link {
  background:none; border:none; padding:0; color:var(--fc-gold);
  cursor:pointer; font-size:12px; font-weight:600; flex:0 0 auto;
  letter-spacing:.02em; transition:color .2s ease;
  font-family:var(--fc-font-body);
}
.shlc-text-link:hover { color:var(--fc-gold-lite); }

/* ── Messages ── */
.shlc-messages {
  flex:1 1 auto; min-height:84px; overflow-y:auto; overflow-x:hidden;
  padding:16px 14px 10px; overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch; scroll-behavior:smooth;
  scrollbar-width:thin; scrollbar-color:rgba(201,168,76,.3) transparent;
}
.shlc-message {
  margin-bottom:10px; display:flex;
  animation:fcMsgIn .3s var(--fc-ease-out) both;
}
@keyframes fcMsgIn {
  from{opacity:0;transform:translateY(6px)}
  to  {opacity:1;transform:translateY(0)}
}
.shlc-message-visitor { justify-content:flex-end; }
.shlc-message-agent,
.shlc-message-system  { justify-content:flex-start; }

.shlc-bubble {
  max-width:86%; padding:11px 15px; border-radius:16px;
  background:var(--fc-white); font-size:13.5px; line-height:1.5;
  box-shadow:0 2px 12px rgba(13,27,42,.07); white-space:pre-line;
  word-break:break-word; border:1px solid rgba(13,27,42,.06);
  color:var(--fc-text);
}
.shlc-message-visitor .shlc-bubble {
  background:var(--fc-navy); color:var(--fc-white);
  border-color:transparent; box-shadow:0 4px 16px rgba(13,27,42,.25);
}

.shlc-bubble p            { margin:0 0 8px !important; line-height:1.5 !important; }
.shlc-bubble p:last-child  { margin-bottom:0 !important; }
.shlc-bubble strong,.shlc-bubble b { font-weight:600 !important; }
.shlc-bubble em,.shlc-bubble i     { font-style:italic !important; }
.shlc-bubble ul,.shlc-bubble ol   { margin:8px 0 8px 18px !important; padding:0 !important; }
.shlc-bubble li            { margin:3px 0 !important; }
.shlc-bubble a             { color:var(--fc-gold); text-decoration:underline !important; }
.shlc-message-visitor .shlc-bubble a { color:var(--fc-gold-lite); }

/* Typing */
.shlc-typing-bubble { display:inline-flex; align-items:center; gap:8px; color:var(--fc-text-soft); font-size:13px; }
.shlc-typing-dots   { display:inline-flex; gap:4px; align-items:center; }
.shlc-typing-dots i {
  width:6px; height:6px; border-radius:50%;
  background:var(--fc-gold); display:inline-block;
  animation:fcTyping 1.2s infinite ease-in-out;
}
.shlc-typing-dots i:nth-child(2) { animation-delay:.18s; }
.shlc-typing-dots i:nth-child(3) { animation-delay:.36s; }
@keyframes fcTyping {
  0%,80%,100%{transform:translateY(0);opacity:.3}
  40%        {transform:translateY(-3px);opacity:1}
}

/* Avatar / name / status */
.shlc-bubble-wrap       { max-width:86%; }
.shlc-msg-name          { font-size:11px; color:var(--fc-text-soft); margin:0 0 4px 10px; font-weight:500; }
.shlc-avatar-wrap       { width:30px; height:30px; flex:0 0 30px; display:flex; align-items:flex-end; justify-content:center; margin-right:8px; }
.shlc-msg-avatar,
.shlc-msg-avatar-fallback {
  width:30px; height:30px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg,var(--fc-navy),var(--fc-navy-lite));
  color:var(--fc-gold); font-weight:700; font-size:12px;
  border:1.5px solid var(--fc-border);
}
.shlc-msg-status { font-size:11px; color:var(--fc-text-soft); margin-top:4px; padding-left:10px; }
.shlc-message-visitor .shlc-bubble-wrap { display:flex; flex-direction:column; align-items:flex-end; }
.shlc-message-visitor .shlc-msg-status  { padding-left:0; padding-right:4px; }

.shlc-badge-online,.shlc-badge-offline {
  display:inline-block; padding:2px 9px; border-radius:999px;
  font-size:10.5px; font-weight:600; letter-spacing:.03em;
  margin-right:6px; vertical-align:middle;
}
.shlc-badge-online  { background:rgba(20,180,120,.14); color:#0a8a5a; border:1px solid rgba(20,180,120,.25); }
.shlc-badge-offline { background:rgba(120,130,150,.1); color:var(--fc-text-soft); border:1px solid rgba(120,130,150,.2); }

/* ── Options card ── */
.shlc-options-card,
.shlc-live-wrap,
.shlc-form-wrap { border-top:1px solid rgba(201,168,76,.14); background:var(--fc-white); }

.shlc-options-card { padding:10px 12px 12px; }
.shlc-options-head {
  display:flex; justify-content:space-between; align-items:center;
  gap:10px; margin-bottom:10px; font-size:11px; font-weight:600;
  letter-spacing:.06em; text-transform:uppercase; color:var(--fc-text-soft);
}
.shlc-options-head-buttons { display:flex; gap:8px; align-items:center; }
.shlc-actions,
.shlc-live-actions,
.shlc-form-actions { display:grid; gap:7px; }
.shlc-options-card .shlc-actions { max-height:178px; overflow-y:auto; scrollbar-width:thin; }
.shlc-options-card.expanded .shlc-actions { max-height:290px; }

/* ── Buttons ── */
.shlc-btn,
.shlc-link-btn,
.shlc-know-btn,
.shlc-minimize-toggle {
  border:none; border-radius:var(--fc-radius-sm);
  padding:12px 15px; cursor:pointer; font-size:13.5px;
  text-align:left; width:100%; box-sizing:border-box;
  font-family:var(--fc-font-body); font-weight:500;
  transition:transform .18s var(--fc-ease),box-shadow .18s ease,background .18s ease;
  position:relative; overflow:hidden;
}
.shlc-btn.secondary,
.shlc-link-btn.secondary {
  background:var(--fc-mist); color:var(--fc-text);
  border:1px solid rgba(13,27,42,.08);
}
.shlc-btn.secondary:hover,
.shlc-link-btn.secondary:hover {
  background:var(--fc-ice); border-color:var(--fc-gold-dim);
  transform:translateY(-1px); box-shadow:0 4px 12px rgba(13,27,42,.08);
}
.shlc-link-btn { text-decoration:none; display:block; }

.shlc-minimize-toggle {
  background:var(--fc-mist); color:var(--fc-text-mid);
  padding:6px 12px; border-radius:999px; font-size:11.5px;
  width:auto; border:1px solid rgba(13,27,42,.07);
  font-weight:500; white-space:nowrap;
}
.shlc-minimize-toggle:hover { background:var(--fc-ice); }

.shlc-know-btn {
  margin-top:8px;
  background:linear-gradient(135deg,var(--fc-navy),var(--fc-navy-lite));
  color:var(--fc-white); text-align:center; font-weight:600;
  letter-spacing:.02em; border:1px solid var(--fc-border);
  box-shadow:0 4px 16px rgba(13,27,42,.2);
}
.shlc-know-btn:hover { transform:translateY(-1px); box-shadow:0 8px 24px rgba(13,27,42,.3); }

/* ── Live chat ── */
.shlc-live-status         { padding:10px 14px; font-size:13px; font-weight:500; }
.shlc-live-status.online  { color:#0a8a5a; }
.shlc-live-status.offline { color:var(--fc-text-soft); }
.shlc-live-wrap           { display:flex; flex-direction:column; gap:8px; min-height:0; padding-bottom:10px; }
.shlc-live-row            { padding:0 14px 10px; }

.shlc-live-row textarea,
.shlc-form-wrap input,
.shlc-form-wrap select,
.shlc-form-wrap textarea,
.shlc-embedded-form input,
.shlc-embedded-form select,
.shlc-embedded-form textarea {
  width:100% !important; max-width:100% !important; box-sizing:border-box;
  border:1.5px solid rgba(13,27,42,.12); border-radius:var(--fc-radius-sm);
  padding:11px 13px; font-size:13.5px; font-family:var(--fc-font-body);
  color:var(--fc-text); background:var(--fc-mist);
  transition:border-color .2s ease,box-shadow .2s ease; outline:none;
}
.shlc-live-row textarea:focus,
.shlc-form-wrap input:focus,
.shlc-form-wrap select:focus,
.shlc-form-wrap textarea:focus,
.shlc-embedded-form input:focus,
.shlc-embedded-form select:focus,
.shlc-embedded-form textarea:focus {
  border-color:var(--fc-gold); box-shadow:0 0 0 3px var(--fc-gold-dim); background:var(--fc-white);
}
.shlc-live-row textarea { min-height:64px; max-height:140px; resize:vertical; }
.shlc-live-actions { padding:0 14px 12px; display:flex; flex-wrap:wrap; gap:8px; }

/* Gold CTA */
.shlc-live-actions .shlc-btn:not(.secondary),
.shlc-form-actions .shlc-btn:not(.secondary) {
  background:linear-gradient(135deg,var(--fc-gold) 0%,#b8932f 100%);
  color:var(--fc-navy); font-weight:700; letter-spacing:.02em;
  box-shadow:0 4px 16px rgba(201,168,76,.4);
}
.shlc-live-actions .shlc-btn:not(.secondary):hover,
.shlc-form-actions .shlc-btn:not(.secondary):hover {
  transform:translateY(-1px); box-shadow:0 8px 24px rgba(201,168,76,.5);
}

/* ── Form area ── */
.shlc-form-wrap { display:flex; flex-direction:column; gap:8px; padding:10px 12px 12px; min-height:0; height:100%; overflow:hidden; }
.shlc-form-card {
  flex:1 1 auto; min-height:0 !important; overflow-y:auto;
  overscroll-behavior:contain; -webkit-overflow-scrolling:touch;
  scroll-behavior:smooth; padding:4px 2px 12px;
  scrollbar-width:thin; scrollbar-color:rgba(201,168,76,.25) transparent;
}
.shlc-form-actions { position:sticky; bottom:0; background:var(--fc-white); padding-top:8px; padding-bottom:max(8px,env(safe-area-inset-bottom)); z-index:3; }
.shlc-form-note   { display:none; }

/* ── WPForms embed ── */
.shlc-embedded-form,
.shlc-embedded-form .wpforms-container,
.shlc-embedded-form .wpforms-form,
.shlc-embedded-form .wpforms-field-container { width:100%; max-width:100%; }
.shlc-embedded-form .wpforms-container { margin:0 !important; }
.shlc-embedded-form .wpforms-field,
.shlc-embedded-form .wpforms-field-row-block,
.shlc-embedded-form .wpforms-layout-column { padding:0 !important; margin-bottom:10px !important; }
.shlc-embedded-form .wpforms-field-row,
.shlc-embedded-form .wpforms-one-half,
.shlc-embedded-form .wpforms-one-third,
.shlc-embedded-form .wpforms-two-thirds,
.shlc-embedded-form .wpforms-layout-row,
.shlc-embedded-form .wpforms-layout-column { width:100% !important; max-width:100% !important; margin-left:0 !important; float:none !important; display:block !important; }
.shlc-embedded-form label { font-size:12.5px !important; font-weight:600 !important; color:var(--fc-text-mid) !important; }
.shlc-embedded-form .wpforms-field-label,
.shlc-embedded-form .wpforms-field-sublabel { white-space:normal !important; }
.shlc-embedded-form .wpforms-submit-container { display:block !important; margin-top:10px !important; padding:0 !important; opacity:1 !important; visibility:visible !important; overflow:visible !important; position:sticky; bottom:0; background:var(--fc-white); padding-bottom:6px !important; z-index:5; }
.shlc-embedded-form button[type="submit"],
.shlc-embedded-form input[type="submit"],
.shlc-embedded-form .wpforms-submit {
  display:block !important; width:100% !important; border:none !important;
  border-radius:var(--fc-radius-sm) !important; padding:13px 15px !important;
  cursor:pointer !important; opacity:1 !important; visibility:visible !important; position:static !important;
  background:linear-gradient(135deg,var(--fc-gold),#b8932f) !important;
  color:var(--fc-navy) !important; font-weight:700 !important; font-size:14px !important;
  font-family:var(--fc-font-body) !important; letter-spacing:.03em !important;
  box-shadow:0 4px 16px rgba(201,168,76,.35) !important;
  transition:transform .2s var(--fc-ease),box-shadow .2s ease !important;
}

/* ── Misc overrides ── */
.shlc-secure-trigger,
.shlc-secure-trigger.shlc-btn,
.shlc-secure-trigger.shlc-btn.secondary,
.shlc-actions .elementor-button#secure,
.shlc-actions .shlc-popup-real#secure,
.shlc-actions .in-chat-static-trigger#secure {
  background:var(--fc-mist) !important; color:var(--fc-text) !important;
  border:1px solid rgba(13,27,42,.08) !important; box-shadow:none !important;
  text-decoration:none !important; display:block !important; width:100% !important;
  border-radius:var(--fc-radius-sm) !important; padding:12px 15px !important;
  text-align:left !important; font-size:13.5px !important; line-height:1.4 !important;
  font-family:var(--fc-font-body) !important; font-weight:500 !important;
}
.shlc-secure-trigger .elementor-button-content-wrapper,
.shlc-secure-trigger .ui-btn-anim-wrapp { display:inline !important; }
.shlc-secure-trigger .elementor-button-text+.elementor-button-text { display:none !important; }

#shlc-sitewide-popup-triggers { position:absolute; left:-99999px; top:auto; width:1px; height:1px; overflow:hidden; opacity:0; pointer-events:none; }
#shlc-static-popup-holder { pointer-events:none; }
.in-chat-static-trigger { display:inline-flex !important; align-items:center; justify-content:center; text-decoration:none; cursor:pointer; }
.shlc-close-chat-option { display:block !important; }

.shlc-panel *, .shlc-messages, .shlc-form-card, .shlc-options-card .shlc-actions,
.shlc-live-wrap, .shlc-dynamic { pointer-events:auto; }

.shlc-messages, .shlc-form-card, .shlc-options-card .shlc-actions,
.shlc-live-wrap, .shlc-dynamic {
  overflow-y:auto !important; overflow-x:hidden !important;
  overscroll-behavior:contain !important; -webkit-overflow-scrolling:touch !important;
  touch-action:pan-y !important; scroll-behavior:smooth;
}
.shlc-panel, .shlc-body, .shlc-dynamic, .shlc-messages,
.shlc-form-card, .shlc-options-card .shlc-actions, .shlc-live-wrap {
  overscroll-behavior:contain !important;
}
.shlc-panel * { scrollbar-width:thin; scrollbar-color:rgba(201,168,76,.25) transparent; }
.shlc-hidden-json { display:none !important; }

/* ── Responsive ── */
@media (max-width:767px) {
  #shlc-widget-root { right:10px; bottom:10px; left:10px; }
  .shlc-widget-shell { align-items:flex-end; width:100%; }
  .shlc-panel { width:min(100%,calc(100vw - 12px)); height:min(86vh,720px); border-radius:18px; }
  .shlc-launcher-stack { width:90px; margin-right:2px; }
  .shlc-mascot-above { width:82px !important; margin-bottom:-4px; }
  .shlc-launcher { width:62px; height:62px; font-size:22px; }
  .shlc-hero { grid-template-columns:1fr 80px; min-height:116px; padding-right:46px; }
  .shlc-hero img { width:68px; }
  .shlc-subtitle { max-width:none; }
  .shlc-node-form .shlc-messages { max-height:72px !important; }
  .shlc-node-live_chat .shlc-messages { max-height:120px; }
}
@media (max-width:420px) {
  .shlc-launcher-badge { width:134px; padding:8px 10px; }
  .shlc-hero-title { font-size:18px; }
  .shlc-bubble { max-width:92%; }
}

/* ── Contact form overlay (lives outside widget root, overlays the body area) ── */
#shlc-form-overlay,
#shlc-form-overlay-actions {
  display: none;
  position: fixed;
  z-index: 100000;
}

#shlc-form-overlay.shlc-form-visible {
  display: block;
  background: #f4f6fb;
  overflow-y: scroll;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  box-sizing: border-box;
  padding: 14px 14px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,.35) transparent;
}
#shlc-form-overlay.shlc-form-visible::-webkit-scrollbar { width: 5px; }
#shlc-form-overlay.shlc-form-visible::-webkit-scrollbar-track { background: transparent; }
#shlc-form-overlay.shlc-form-visible::-webkit-scrollbar-thumb { background: rgba(201,168,76,.4); border-radius: 99px; }

#shlc-form-overlay-actions.shlc-form-visible {
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: #f4f6fb;
  border-top: 1px solid rgba(13,27,42,.07);
  padding: 10px 14px 14px;
  box-sizing: border-box;
}

/* ── All text/field colors hardcoded (overlay is outside CSS var scope) ── */
#shlc-form-overlay { color: #1a2a3a !important; font-family: "Inter", "Helvetica Neue", Arial, sans-serif !important; }
#shlc-form-overlay .wpforms-container,
#shlc-form-overlay .wpforms-form { width: 100% !important; max-width: 100% !important; color: #1a2a3a !important; }
#shlc-form-overlay .wpforms-container { margin: 0 !important; }
#shlc-form-overlay .wpforms-field { padding: 0 !important; margin-bottom: 12px !important; }
#shlc-form-overlay .wpforms-field-label,
#shlc-form-overlay label {
  font-size: 12.5px !important; font-weight: 600 !important;
  color: #4a5568 !important; margin-bottom: 5px !important; display: block !important;
}
#shlc-form-overlay .wpforms-field-sublabel { color: #718096 !important; font-size: 11px !important; }
#shlc-form-overlay input,
#shlc-form-overlay select,
#shlc-form-overlay textarea {
  width: 100% !important; max-width: 100% !important; box-sizing: border-box !important;
  border: 1.5px solid rgba(13,27,42,.15) !important; border-radius: 8px !important;
  padding: 11px 13px !important; font-size: 13.5px !important;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif !important;
  color: #1a2a3a !important; background: #ffffff !important;
  transition: border-color .2s ease, box-shadow .2s ease !important; outline: none !important;
}
#shlc-form-overlay input:focus,
#shlc-form-overlay select:focus,
#shlc-form-overlay textarea:focus {
  border-color: #FDB913 !important;
  box-shadow: 0 0 0 3px rgba(253,185,19,.2) !important;
  background: #fff !important;
}
#shlc-form-overlay input::placeholder,
#shlc-form-overlay textarea::placeholder { color: #a0aec0 !important; }
#shlc-form-overlay .wpforms-submit-container { margin-top: 12px !important; padding: 0 !important; }
#shlc-form-overlay button[type="submit"],
#shlc-form-overlay .wpforms-submit {
  display: block !important; width: 100% !important; border: none !important;
  border-radius: 8px !important; padding: 13px 15px !important;
  cursor: pointer !important;
  background: linear-gradient(135deg, #0d1b2a 0%, #1e3050 100%) !important;
  color: #FDB913 !important; font-weight: 700 !important; font-size: 14px !important;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif !important;
  letter-spacing: .03em !important; box-shadow: 0 4px 16px rgba(13,27,42,.3) !important;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease !important;
}
#shlc-form-overlay button[type="submit"]:hover,
#shlc-form-overlay .wpforms-submit:hover {
  background: linear-gradient(135deg, #162335 0%, #253d63 100%) !important;
  box-shadow: 0 6px 20px rgba(13,27,42,.45) !important;
  transform: translateY(-1px) !important;
}
/* Action buttons below the form */
#shlc-form-overlay-actions .shlc-btn {
  background: #edf2f7 !important; color: #1a2a3a !important;
  border: 1px solid rgba(13,27,42,.1) !important;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif !important;
  font-size: 13px !important; font-weight: 500 !important;
}
#shlc-form-overlay-actions .shlc-btn:hover {
  background: #e2e8f0 !important; border-color: #FDB913 !important;
}
