/* == Bread of Life – Get Help (v1.1.1) == */
#bolgh{--ink:#eaf2ff; --muted:#cfe0ff; --card:rgba(255,255,255,0.03); --stroke:rgba(255,255,255,0.08); --focus:#39f; --primary:#0a64bc; --ghost:rgba(255,255,255,0.06);}
.bolgh-wrap{max-width:980px;margin:16px auto;padding:0 14px;color:var(--ink);}
.bolgh-kicker{font-size:14px;line-height:1.45;color:var(--muted);margin:0 0 16px;}

.bolgh-card{background:var(--card);border:1px solid var(--stroke);border-radius:14px;padding:16px 16px 18px;margin:14px 0;}
.bolgh-card-title{font-weight:700;font-size:18px;margin:2px 0 12px;color:#fff;}
.bolgh-subtitle{font-size:13px;color:var(--muted);margin:8px 0 8px;}

.bolgh-grid{display:grid;grid-template-columns:1fr;gap:12px;}
@media(min-width:768px){.bolgh-grid{grid-template-columns:1fr 1fr;}.bolgh-span2{grid-column:span 2;}}

.bolgh-lab{display:flex;flex-direction:column;gap:6px;}
.bolgh-lab-title{font-size:12px;font-weight:700;letter-spacing:.2px;color:#fff;display:inline-block;margin-right:8px;}
.bolgh-req{color:#f25b63;font-weight:900;display:inline-block;margin-left:3px;line-height:1;}
.bolgh-lab .bolgh-req{position:relative;top:0;} /* keep on same line */

.bolgh-lab input[type="text"],
.bolgh-lab input[type="tel"],
.bolgh-lab input[type="email"],
.bolgh-lab input[type="number"],
.bolgh-lab textarea,
.bolgh-lab select{
  width:100%;background:#0a1220;border:1px solid rgba(255,255,255,0.14);
  color:#FFF;border-radius:10px;padding:10px 12px;font-size:14px;outline:none;
}
.bolgh-lab textarea{resize:vertical;min-height:96px;}
.bolgh-lab input:focus,
.bolgh-lab select:focus,
.bolgh-lab textarea:focus{border-color:var(--focus);box-shadow:0 0 0 3px rgba(51,153,255,.2);}

.bolgh-note{font-size:12px;color:var(--muted);margin-left:12px;}

.bolgh-actions{display:flex;align-items:center;gap:10px;margin:18px 2px 8px;}

.bolgh-btn{appearance:none;border:1px solid transparent;border-radius:12px;padding:10px 14px;font-weight:700;cursor:pointer;color:#fff;background:var(--ghost);}
.bolgh-btn:hover{background:rgba(255,255,255,0.1);}
.bolgh-btn-primary{background:var(--primary);}
.bolgh-btn-primary:hover{filter:brightness(1.1);}
.bolgh-btn-ghost{background:transparent;border-color:var(--stroke);}
.bolgh-btn-sm{padding:6px 10px;border-radius:10px;font-size:12px;}
.bolgh-btn-add{margin-top:10px;font-size:15px;display:inline-block;}

.bolgh-inline{display:flex;gap:14px;align-items:center;}
.bolgh-radio input{transform:translateY(1px);}

/* Toggle buttons */
.bolgh-toggle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0 6px;}
@media(min-width:640px){.bolgh-toggle-grid{grid-template-columns:repeat(6,1fr);}}
.bolgh-toggle{position:relative;display:block;}
.bolgh-toggle input{position:absolute;opacity:0;inset:0;pointer-events:none;}
.bolgh-toggle span{display:block;text-align:center;padding:9px 8px;border-radius:10px;border:1px solid var(--stroke);background:#0a1220;}
.bolgh-toggle input:checked + span{background:var(--primary);border-color:transparent;color:#fff;}

/* Member block */
.bolgh-member{border:1px dashed var(--stroke);border-radius:12px;padding:10px;margin:10px 0 6px;background:rgba(255,255,255,0.02);}

/* Validation: only turn red after invalid */
.bolgh-invalid input,.bolgh-invalid select,.bolgh-invalid textarea{border-color:#f25b63;}
.bolgh-invalid .bolgh-req{color:#f25b63;}
/* 1) Force white input text (beats theme rules) */
#bolgh .bolgh-lab input[type="text"],
#bolgh .bolgh-lab input[type="tel"],
#bolgh .bolgh-lab input[type="email"],
#bolgh .bolgh-lab input[type="number"],
#bolgh .bolgh-lab textarea,
#bolgh .bolgh-lab select{
  color:#fff !important;
}

/* 2) Make placeholders light, not dark */
#bolgh .bolgh-lab input::placeholder,
#bolgh .bolgh-lab textarea::placeholder{
  color:rgba(255,255,255,.7) !important;
}

/* 3) Kill browser autofill yellow & keep white text */
#bolgh .bolgh-lab input:-webkit-autofill,
#bolgh .bolgh-lab input:-webkit-autofill:focus,
#bolgh .bolgh-lab input:-webkit-autofill:hover{
  -webkit-text-fill-color:#fff !important;
  transition:background-color 9999s ease-in-out 0s; /* hides yellow */
}
