.rr-wizard-container {
  max-width: 600px;
  margin: auto;
  width: 100%;
}

.rr-progress-bar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0;
  margin-bottom: 20px;
  list-style: none;
  height: 24px;
  align-items: flex-end;
}
.rr-progress-bar .step {
  flex: 1;
  position: relative;
  height: 24px;
  font-size: 0;
  background: none;
  box-shadow: none;
  border: none;
}
.rr-progress-bar .step:before {
  content: '';
  width: 100%;
  height: 5px;
  background: #ddd;
  position: absolute;
  top: 19px;
  left: 0;
  z-index: 1;
}
.rr-progress-bar .step.active:before { background: #123D47; }

.rr-field-row, .rr-field-row-final {
  margin: 0 auto 0 auto;
}
.rr-step[data-step='0'] .rr-field-row,
.rr-step[data-step='1'] .rr-field-row {
  display: flex;
  align-items: center;
  width: 600px;
  max-width: 100%;
}
.rr-step[data-step='0'] input,
.rr-step[data-step='1'] input {
  width: 480px;
  max-width: 80%;
  height: 54px;
  font-size: 18px;
  padding: 0 16px;
  border-radius: 6px 0 0 6px;
  border: 1px solid #ccc;
  border-right: 0;
  box-sizing: border-box;
}
.rr-step[data-step='0'] .rr-next-inline,
.rr-step[data-step='1'] .rr-next-inline {
  width: 120px;
  height: 54px;
  font-size: 18px;
  border-radius: 0 6px 6px 0;
  background: #123D47;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Final step: stacked input and button, full width */
.rr-step[data-step='2'] .rr-field-row-final {
  max-width: 600px;
  width: 100%;
  display: block;
}
.rr-step[data-step='2'] input {
  width: 100%;
  height: 54px;
  font-size: 18px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin-bottom: 20px;
}
.rr-step[data-step='2'] .rr-nav-buttons {
  margin: 20px auto 0 auto !important;
  width: 100%;
  display: flex;
  justify-content: center;
}
.rr-step[data-step='2'] .rr-nav-buttons button {
  width: 100% !important;
  height: 54px;
  font-size: 18px;
  border-radius: 6px;
  background: #123D47 !important;
  color: #fff !important;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.rr-nav-buttons {
  margin: 20px auto 0 auto !important;
  width: 100%;
  display: flex;
  justify-content: center;
}
.rr-nav-buttons button {
  width: 100% !important;
  height: 54px;
  font-size: 18px;
  border-radius: 6px;
  background: #123D47;
  color: #fff;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
.hint {
  display: block;
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}
.rr-error {
  color: #e00;
  font-size: 13px;
  min-height: 18px;
  margin-top: 4px;
}
.rr-quote-box { display: flex; align-items: center; margin-top: 20px; }
.rr-quote-box img { border-radius: 50%; width: 80px; height: 80px; margin-right: 15px; }
.rr-quote-box p { font-style: italic; }

/* Overlay spinner/result */
.rr-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(255,255,255,0.93);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.rr-loader {
  border: 12px solid #f3f3f3;
  border-top: 12px solid #123D47;
  border-radius: 50%;
  width: 80px; height: 80px;
  animation: rr-spin 1s linear infinite;
  margin-bottom: 30px;
}
@keyframes rr-spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}
.rr-overlay-message {
  font-size: 1.6em;
  font-weight: bold;
  color: #123D47;
  margin-top: 15px;
  text-align: center;
}
.rr-overlay .rr-check, .rr-overlay .rr-x {
  width: 90px;
  height: 90px;
  display: block;
  margin: 0 auto 30px auto;
}
.rr-overlay .rr-check { color: #28a745; }
.rr-overlay .rr-x { color: #c00; }
