
/* Modern minimal two-column form layout & styles */
.curohelp-form { max-width: 920px; margin: 24px auto; font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; color: #222; }
.curohelp-top h2 { font-size: 22px; margin: 0 0 8px; }
.step-indicators { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0 18px; }
.indicator { background:#f3f4f6; padding:8px 12px; border-radius:999px; font-size:13px; color:#333; }
.indicator.active { background:#111827; color:#fff; }

.progressbar { height:6px; background:#e6e7ea; border-radius:6px; overflow:hidden; margin-top:10px; }
.progress-step { width:12.5%; height:100%; float:left; opacity:0.35; }
.progress-step.active { opacity:1; background:linear-gradient(90deg,#06b6d4,#3b82f6); }

.step { background:#fff; padding:18px; border-radius:8px; box-shadow:0 6px 20px rgba(0,0,0,0.04); margin-bottom:16px; }
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap:12px; align-items:start; margin-bottom:12px; }
.field { display:block; margin-bottom:8px; font-size:14px; }
.field input[type="text"], .field input[type="email"], .field input[type="number"], .field textarea, .field select { width:100%; padding:10px 12px; border:1px solid #e5e7eb; border-radius:8px; font-size:14px; box-sizing:border-box; }
.field textarea { min-height:84px; resize:vertical; }

.checkbox-group { display:flex; flex-wrap:wrap; gap:10px; margin:10px 0 16px; }
.role-row { display:flex; align-items:center; gap:8px; background:#f8fafc; padding:8px 10px; border-radius:8px; border:1px solid #eef2f6; }
.role-row input[type="checkbox"] { transform:scale(1.1); }
.role-years { width:70px; padding:6px 8px; }

.curohelp-actions { display:flex; gap:10px; justify-content:flex-end; margin-top:10px; }
.button-primary { background:#111827; color:#fff; padding:8px 14px; border-radius:8px; border:none; cursor:pointer; }
.button-secondary { background:#fff; color:#111827; padding:8px 14px; border-radius:8px; border:1px solid #e5e7eb; cursor:pointer; }

.reference-row { display:flex; gap:10px; margin-bottom:8px; }
.reference-row .field { flex:1; margin-bottom:0; }

/* Preloader overlay */
#curohelp-preloader { position:fixed; left:0; top:0; right:0; bottom:0; background:rgba(255,255,255,0.75); z-index:9999; display:flex; align-items:center; justify-content:center; }
#curohelp-preloader .loader { width:56px; height:56px; border-radius:50%; border:6px solid #e6e7eb; border-top-color:#111827; animation:spin 1s linear infinite; }
@keyframes spin { to { transform:rotate(360deg); } }

@media(max-width:720px){ .form-grid { grid-template-columns: 1fr; } .role-years { width:64px; } }


/* Improved form styling - clean & professional */
.curohelp-form { max-width:900px; margin:20px auto; font-family: Arial, Helvetica, sans-serif; color:#222; background: #fff; padding:20px; border-radius:8px; box-shadow:0 6px 18px rgba(0,0,0,0.06); }
.curohelp-top h2 { margin:0 0 10px 0; font-size:22px; }
.step-indicators { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.indicator { padding:6px 10px; background:#f0f2f5; border-radius:6px; font-size:13px; color:#333; }
.indicator.active { background:#1f6feb; color:#fff; box-shadow: 0 2px 6px rgba(31,110,235,0.18); }
.step { padding:12px 0; }
.field { display:block; margin:8px 0; }
.field input[type="text"], .field input[type="email"], .field input[type="number"], .field textarea, .field select { width:100%; padding:10px 12px; border:1px solid #d6d9de; border-radius:6px; font-size:14px; box-sizing:border-box; }
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap:12px; align-items:start; margin-top:8px; }
.checkbox-group { display:flex; gap:12px; flex-wrap:wrap; }
.curohelp-actions { margin-top:16px; display:flex; gap:12px; }
.button-primary, .button-secondary { padding:10px 14px; border-radius:8px; cursor:pointer; border:0; font-weight:600; }
.button-primary { background:#1f6feb; color:#fff; }
.button-secondary { background:#eef1f6; color:#333; }
.reference-row { display:flex; gap:8px; margin-bottom:8px; }
.reference-row .field { flex:1; }
.role-exp-block { background:#fbfcfe; border:1px solid #eef2ff; padding:10px; border-radius:8px; margin-bottom:8px; }
#curohelp-preloader { position:fixed; left:0; top:0; right:0; bottom:0; background: rgba(255,255,255,0.75); display:flex; align-items:center; justify-content:center; z-index:9999; }
#curohelp-preloader .loader { width:48px; height:48px; border-radius:50%; border:6px solid #e8eefc; border-top-color:#1f6feb; animation:spin 1s linear infinite; margin-right:12px; }
#curohelp-preloader .loader-text { font-weight:600; color:#1f2f53; }
@keyframes spin { to { transform:rotate(360deg); } }
/* small responsive tweaks */
@media (max-width:700px) { .form-grid { grid-template-columns: 1fr; } .reference-row { flex-direction:column; } }


/* Professional front-end styles for CuroHelp form with progress bar */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;500;700&display=swap');

.curohelp-form { max-width:980px; margin:40px auto; background:#ffffff; padding:36px; border-radius:12px; box-shadow:0 18px 50px rgba(8,32,50,0.06); font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif; color:#0b2540; }
.curohelp-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; }
.curohelp-top h2 { margin:0; font-size:20px; letter-spacing:0.2px; }
.progressbar { display:flex; gap:8px; align-items:center; margin-bottom:20px; }
.progress-step { flex:1; height:8px; background:#e6eefc; border-radius:8px; position:relative; overflow:hidden; }
.progress-step.active { background: linear-gradient(90deg,#60a5fa,#2563eb); box-shadow:0 4px 18px rgba(37,99,235,0.18); }
.step-indicators { display:flex; gap:12px; margin-bottom:18px; }
.step-indicators .indicator { padding:8px 12px; border-radius:8px; background:#f8fafc; border:1px solid #eef2ff; font-weight:600; color:#334155; }
.step-indicators .indicator.active { background:#2563eb; color:white; border-color:#2563eb; }

.curohelp-form h3 { font-size:18px; margin-bottom:12px; color:#062a4f; }
.form-grid { display:grid; grid-template-columns: 1fr 1fr; gap:14px; margin-bottom:14px; }
.form-row { margin-bottom:10px; }
label.field { display:block; font-size:13px; color:#1f2937; }
input[type=text], input[type=email], textarea, select { width:100%; padding:10px 12px; border-radius:8px; border:1px solid #e6eefc; background:#fbfdff; font-size:14px; }
textarea { min-height:120px; }
.checkbox-group { display:flex; flex-wrap:wrap; gap:10px; padding:8px 0; }
.checkbox-group label { background:#f8fafc; padding:8px 10px; border-radius:8px; border:1px solid #eef2ff; font-size:13px; display:flex; align-items:center; gap:8px; }

.curohelp-actions { display:flex; gap:12px; justify-content:flex-end; margin-top:10px; }
.button-primary { background:#2563eb; color:#fff; padding:10px 16px; border-radius:10px; border:none; cursor:pointer; font-weight:700; }
.button-secondary { background:#eef2ff; color:#2563eb; padding:10px 14px; border-radius:10px; border:1px solid #dbeafe; cursor:pointer; font-weight:600; }

.success, .error { padding:12px; border-radius:8px; margin-top:18px; }
.success { background:#ecfdf5; color:#064e3b; }
.error { background:#fff1f2; color:#7f1d1d; }

@media(max-width:720px){
    .form-grid{ grid-template-columns: 1fr; }
    .curohelp-top{ flex-direction:column; gap:10px; align-items:flex-start; }
}
