/* RESET */
#imsf-form * {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* FORM WRAPPER */
#imsf-form {
    max-width: 700px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    animation: fadeIn 0.5s ease-in-out;
}

/* STEP */
.imsf-step {
    display: none;
    animation: slideUp 0.4s ease;
}
.imsf-step.active {
    display: block;
}

/* HEADINGS */
#imsf-form h3 {
    margin-bottom: 20px;
    font-size: 22px;
    color: #2c3e50;
}

/* INPUTS */
#imsf-form input,
#imsf-form select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: 0.3s;
    font-size: 15px;
}

#imsf-form input:focus,
#imsf-form select:focus {
    border-color: #007cba;
    outline: none;
}

/* RADIO */
#imsf-form label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    font-weight: 500;
}

/* BUTTONS */
#imsf-form button {
    padding: 12px 25px;
    border: none;
    border-radius: 30px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* NEXT */
#imsf-form .next {
    background: #007cba;
    color: #fff;
}
#imsf-form .next:hover {
    background: #005f8d;
}

/* PREVIOUS */
#imsf-form .prev {
    background: #e0e0e0;
    color: #333;
    margin-right: 10px;
}
#imsf-form .prev:hover {
    background: #ccc;
}

/* SUBMIT */
#imsf-form button[type="submit"] {
    background: #28a745;
    color: #fff;
}
#imsf-form button[type="submit"]:hover {
    background: #1e7e34;
}

/* PREVIEW */
#preview {
    background: #f7f7f7;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

/* CHECKBOX */
#imsf-form input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

/* ANIMATIONS */
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}

@keyframes slideUp {
    from {opacity: 0; transform: translateY(15px);}
    to {opacity: 1; transform: translateY(0);}
}

/* RESPONSIVE */
@media (max-width: 600px) {
    #imsf-form {
        padding: 20px;
    }
}





.imsf-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}
.imsf-steps span {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-bottom: 3px solid #ccc;
  font-weight: 600;
}
.imsf-steps span.active {
  border-color: #007cba;
  color: #007cba;
}
.step3-fields { display:none; }


#imsf-form{max-width:700px;margin:30px auto;background:#fff;padding:25px;border-radius:10px}
.imsf-step{display:none}
.imsf-step.active{display:block}
input,select{width:100%;padding:10px;margin-bottom:10px}
button{padding:10px 25px;border:none;border-radius:20px;background:#007cba;color:#fff}
.prev{background:#ccc;color:#000}
.error-msg{color:red;font-size:12px}
.imsf-progress-bar{height:8px;background:#eee;border-radius:10px;overflow:hidden}
.imsf-progress{height:100%;width:25%;background:#007cba}
.imsf-loader{display:none;color:#007cba;margin-top:10px}
.step3-fields{display:none}



#imsf-form{max-width:700px;margin:30px auto;background:#fff;padding:25px}
.imsf-step{display:none}
.imsf-step.active{display:block}
input,select{width:100%;padding:10px;margin-bottom:10px}
button{padding:10px 25px;border:none;background:#007cba;color:#fff}
.error{color:red;font-size:12px}
.imsf-progress-bar{height:8px;background:#eee}
.imsf-progress{height:100%;background:#007cba;width:25%}
.imsf-overlay{display:none;position:fixed;inset:0;background:rgba(255,255,255,.8);z-index:9999;text-align:center;padding-top:200px}


 


/* =========================
   FORM BASE – CLEAN LOOK
========================= */
#imsf-form {
    max-width: 720px;
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    font-family: system-ui, sans-serif;
}

#imsf-form h3 {
    font-size: 20px;
    margin-bottom: 18px;
    color: #1e1e1e;
}

/* =========================
   STEP 1 – SMALL RADIO PILLS
========================= */
#radio-area {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

#radio-area label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 30px;
	text-align: center;
    border: 1px solid #d0d7de;
    background: #f9fafb;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

#radio-area input[type="checkbox"] {
    transform: scale(0.9);
    accent-color: #0073aa;
	
}

#radio-area label:hover {
    background: #eef6fb;
    border-color: #0073aa;
	
}

 

/* =========================
   STEPS – SOFT SECTIONS
========================= */
.imsf-step {
    padding: 25px 0;
}

/* =========================
   LABELS & INPUTS
========================= */
#imsf-form label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 14px;
}

input, select {
    width: 100%;
    height: 42px;
    margin-top: 6px;
    padding: 0 12px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #cfd7df;
    background: #fff;
    transition: border 0.2s ease;
}

input:focus, select:focus {
    border-color: #0073aa;
    outline: none;
}

/* =========================
   ERROR 
========================= */
.error-input {
    border-color: #d63638 !important;
    background: #fff6f6;
}

.error-msg {
    font-size: 11px;
    margin-top: 4px;
}

/* =========================
   PROGRESS BAR 
========================= */
.imsf-progress-wrapper {
    height: 6px;
    background: #e6e9ec;
    border-radius: 10px;
}

.imsf-progress-fill {
    background: #0073aa;
}

/* =========================
   STEP CIRCLES – LIGHT
========================= */
.step-circle {
    width: 26px;
    height: 26px;
    line-height: 22px;
    font-size: 12px;
}

.step-node.active .step-circle {
    background: #0073aa;
    color: #fff;
}

/* =========================
   BUTTONS – MINIMAL
========================= */
.imsf-nav {
    margin-top: 25px;
}

button {
    padding: 10px 26px;
    border-radius: 6px;
    font-size: 13px;
}

button.next {
    background: #0073aa;
    color: #fff;
}

button.prev {
    background: #f1f1f1;
}

/* =========================
   REVIEW BOX
========================= */
#preview {
    background: #fafafa;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
}

/* =========================
   MOBILE FRIENDLY
========================= */
@media (max-width: 600px) {
    #radio-area {
        gap: 10px;
    }
}


















/* parent container center */
#radio-area {
    display: flex;
    justify-content: center;   /* horizontal center */
    gap: 16px;                 /* space between labels */
    flex-wrap: wrap;           /* responsive */
    margin-top: 20px;
}

/* label card */
#radio-area label {
    display: flex;
    flex-direction: column;    /* checkbox upar, text neeche */
    align-items: center;       /* center horizontally */
    justify-content: center;   /* center vertically */
    gap: 6px;
    padding: 14px;
    border: 1px solid #eee;
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
}

/* custom round checkbox */
#radio-area input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 21px;
    height: 21px;
    border: 2px solid #007bff;
    border-radius: 0%;
    position: relative;
    display: inline-block;
}

/* checked state */
#radio-area input[type="checkbox"]:checked {
    background-color: #007bff;
}

/* tick mark */
#radio-area input[type="checkbox"]:checked::after {
    content: '✔';
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* text span */
#radio-area span {
    display: block;
    text-align: center;
    font-size: 14px;
}
