#qbr-quiz{margin:20px;} .qbr-step{ display:none; padding:20px; border:1px solid #ccc; border-radius:12px; margin-bottom:20px; background:#fffaf0; } /* OPTION BOX */ .qbr-option{ display:flex; align-items:center; gap:12px; background:#f5f5f5; padding:16px; border-radius:10px; margin-bottom:14px; cursor:pointer; user-select:none; width:100%; transition:all .2s ease; } .qbr-option:hover{ background:#e8e8e8; } /* radio spacing */ .qbr-option input[type=radio]{ margin:0; } /* SELECTED STYLE */ .qbr-option.selected{ background:#e9f2ff; border:2px solid #3b82f6; } /* DETAILS SECTION */ .qbr-details .qbr-input{ position:relative; } .qbr-details .qbr-icon{ position:absolute; left:14px; top:50%; transform:translateY(-50%); font-size:18px; opacity:.6; pointer-events:none; } .qbr-details input.form-control{ height:54px; padding-left:44px; border-radius:10px; } /* intl tel input fix */ .qbr-tel .iti{ width:100%; } .qbr-tel .iti input{ height:54px; padding-left:44px; } /* submit */ .qbr-submit-btn{ height:54px; border-radius:10px; font-weight:600; } /* FIX Bootstrap row negative margins */ #qbr-quiz{ margin:20px; padding:20px; /* <-- important */ box-sizing:border-box; /* <-- important */ } /* make option columns spaced nicely */ .qbr-options-wrapper{ row-gap:14px; } .qbr-options-wrapper .col-6{ margin-bottom:0 !important; /* because we use row-gap */ } /* keep text aligned nicely */ .qbr-option span{ line-height:1.2; } /* FORCE option to take full column width */ .qbr-options-wrapper .qbr-option{ width:100%; display:flex; } .qbr-option { background: #f5f5f5; padding: 12px; border-radius: 6px; margin-bottom: 10px; cursor: pointer; width: 100% !important; padding: 20px; }
/* Quiz card */
.qbr-step{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  background: #fff;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.qbr-step h3 {
    color: #000;
    font-family: "Montserrat", Sans-serif !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 28px !important;
}

/* Option cards */
.qbr-options-wrapper label.qbr-option{
  display:flex !important;
  width:100% !important;
  align-items:center;
  gap:12px;
  padding:16px 18px;
  border-radius:14px;
  background: #f8fafc;
  border: 1px solid rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.qbr-options-wrapper label.qbr-option:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  background: #ffffff;
}

.qbr-option input[type=radio]{
  width:18px;
  height:18px;
  margin:0;
}
#qbr-quiz .qbr-submit-btn {
    height: 54px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #d9c08a 0%, #b68b4e 40%, #8f6a33 100%);
    color: #fff;
    border: #fff;
    font-family: 'Montserrat';
}

.qbr-option span {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    font-family: 'Montserrat';
    font-weight: 500;
}


/* Selected */
.qbr-option.selected{
  background: #eef6ff !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 10px 22px rgba(59,130,246,.18) !important;
}
/* Mobile: one option per row */
@media (max-width: 768px) {
  .qbr-options-wrapper .col-6 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
	#qbr-quiz{margin:0px !important;padding:0px !important;}
}
/* Force last step fields to look like proper inputs (Elementor/theme override fix) */
#qbr-quiz .qbr-details input.form-control{
  display:block !important;
  width:100% !important;
  height:54px !important;
  padding: 0 14px 0 44px !important; /* icon spacing */
  background:#fff !important;
  color:#111827 !important;
  border:1px solid rgba(0,0,0,.15) !important;
  border-radius:10px !important;
  box-shadow:none !important;
  opacity:1 !important;
  visibility:visible !important;
}

/* Make placeholders visible */
#qbr-quiz .qbr-details input.form-control::placeholder{
  color: rgba(17,24,39,.55) !important;
  opacity:1 !important;
}

/* Icon positioning */
#qbr-quiz .qbr-details .qbr-input{
  position:relative !important;
}

#qbr-quiz .qbr-details .qbr-icon{
  position:absolute !important;
  left:14px !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  z-index:3 !important;
  opacity:.6 !important;
  pointer-events:none !important;
}

/* intl-tel-input container + input */
#qbr-quiz .qbr-tel .iti{
  width:100% !important;
  display:block !important;
}

#qbr-quiz .qbr-tel .iti input{
  height:54px !important;
  padding-left:44px !important;
  border-radius:10px !important;
  border:1px solid rgba(0,0,0,.15) !important;
  background:#fff !important;
  color:#111827 !important;
}

/* If separateDialCode is on, give more space */
#qbr-quiz .qbr-tel .iti--separate-dial-code input{
  padding-left:92px !important;
}

/* Button styling consistent */
#qbr-quiz .qbr-submit-btn{
  height:54px !important;
  border-radius:10px !important;
  font-weight:700 !important;
}
#qbr-quiz .qbr-tel .qbr-icon {
    display: none;
}
/* ===== Custom radio circle (NO input radio) ===== */
#qbr-quiz .qbr-options-wrapper label.qbr-option .qbr-radio{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;

  border-radius: 50%;
  border: 2px solid rgba(17,24,39,.35);
  background: #fff;
  box-sizing: border-box;
}

/* inner dot when selected */
#qbr-quiz .qbr-options-wrapper label.qbr-option.selected .qbr-radio::after{
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #111827;
}
/* Make whole quiz wrapper a card so Back stays inside */
#qbr-quiz{
  background:#fff !important;
  border: 1px solid rgba(0,0,0,.08) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  box-shadow: 0 10px 30px rgba(0,0,0,.06) !important;
}

/* Remove card styling from each step (optional, to avoid double box) */
.qbr-step{
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
  margin-bottom: 0 !important;
}
#qbr-back{
	color: #0a1f44 !important;
    border: 1px solid #0a1f44;
}
#qbr-back:hover,
#qbr-back:focus {
    background-color: #fff !important;
    color: #0a1f44 !important;
}
