body{
  /* background:#f5f6fa; */
  background:rgba(204, 204, 204, 1);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  line-height:1.5;
  color:#111;
  margin:0;
  padding:24px;
  font-size:15px;
  font-family: 'Open Sans Condensed',Helvetica,sans-serif;
}
.wizard-card{
  background:#fff;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  padding:2rem 2.5rem;
  margin:2rem 0;
  width:100%;
}
.wizard-step{display:none;}
.wizard-step.active{display:block;}

/* .step-indicator{display:flex;justify-content:space-between;margin-bottom:2rem;}
.step-indicator .step{flex:1;text-align:center;position:relative;}
.step-indicator .step:not(:last-child)::after{
  content:"";
  position:absolute;
  top:50%;
  right:-50%;
  transform:translateY(-50%);
  height:2px;
  width:100%;
  background:#dee2e6;
} */
/* .step-number{
  width:36px;height:36px;border-radius:50%;
  margin:0 auto 0.25rem;
  display:flex;align-items:center;justify-content:center;
  font-weight:600;border:2px solid #dee2e6;color:#6c757d;background:#fff;
}
.step.active .step-number{border-color:#0d6efd;background:#0d6efd;color:#fff;}
.step.completed .step-number{border-color:#198754;background:#198754;color:#fff;}
.step-title{font-size:0.85rem;color:#6c757d;}
.step.active .step-title{color:#0d6efd;font-weight:600;} */

.step-indicator {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: center;
}
.step {
  display: flex;
  align-items: center;
  font-size: 1.1em;
  color: #222;
  cursor: pointer;
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #2196f3;
  color: #2196f3;
  background: #fff;
  font-weight: 500;
  margin-right: 8px;
  transition: background 0.2s, color 0.2s;
}
.step.active .step-number {
  background: #e3f2fd;
  color: #2196f3;
  border-color: #2196f3;
}
.step:not(.active) .step-number {
  background: #f5f5f5;
  color: #888;
  border-color: #ccc;
}
.step-title {
  font-weight: 400;
}

.form-section-title{font-size:1.1rem;font-weight:600;margin-bottom:1rem;}
.required::after{content:"*";color:#dc3545;margin-left:2px;}
.is-invalid-field{border-color:#dc3545 !important;}

.pricing-box{
  background:#f8f9fa;
  border:1px solid #dee2e6;
  border-radius:8px;
  padding:1rem 1.25rem;
}
.tiny-hint{font-size:12px;color:#6c757d;margin-top:6px;}

.radio-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

/* ---------- Responsive helpers ---------- */
img, svg {
  max-width: 100%;
  height: auto;
}

.wizard-card table {
  width: 100%;
  border-collapse: collapse;
}

.wizard-card .table-responsive,
.wizard-card .table-responsive * {
  max-width: 100%;
}

.wizard-card .table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wizard-card input,
.wizard-card select,
.wizard-card textarea,
.wizard-card .form-control,
.wizard-card .form-select {
  max-width: 100%;
}


/* Keep long labels and values readable */
label,
.form-label,
.form-check-label {
  word-break: break-word;
}

/* ---------- Mobile tweaks ---------- */
@media (max-width: 768px) {
  body {
    padding: 0px;
    font-size: 14px;
  }

  .wizard-card {
    padding: 1rem;
    margin: 0;
    border-radius: 10px;
  }

  .step-indicator {
    flex-wrap: wrap;
    gap: 10px;
  }

  .step {
    font-size: 0.95em;
  }

  .step-number {
    width: 24px;
    height: 24px;
    margin-right: 6px;
  }

  .row.g-3 > [class*='col-'] {
    margin-bottom: 0.5rem;
  }

  .form-section-title {
    font-size: 1rem;
  }

  .wizard-card .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .wizard-card .d-flex.align-items-center {
    flex-direction: column;
    align-items: stretch !important;
  }

  .wizard-card .ms-auto,
  .wizard-card .me-2 {
    margin: 0 !important;
  }
}

@media (max-width: 480px) {
  body {
    margin: 8px;
  }

  .wizard-card {
    padding: 0.85rem;
  }

  .step-title {
    font-size: 0.85rem;
  }
}


.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    /* line-height:28px; */
}

.ayos-plan-preview-wrap {
  background: linear-gradient(135deg, #f3faf7 0%, #eef6ff 100%);
  border: 1px solid #d3e7df;
  border-radius: 14px;
  padding: 16px;
}

.ayos-plan-preview-card {
  display: inline-flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid #e3ece7;
  border-radius: 12px;
  padding: 16px;
  box-shadow: none;
  width: 100%;
  max-width: 1040px;
}

.ayos-plan-preview-image {
  width: 320px;
  min-width: 320px;
  max-width: 320px;
  margin: 0;
  text-align: left;
}

.ayos-plan-preview-image img {
  width: 100%;
  display: block;
  margin: 0;
  border-radius: 8px;
  border: 1px solid #d6d6d6;
  background: #fff;
  cursor: zoom-in;
}

.ayos-plan-preview-image img.is-okkids-plan {
  border: 0;
}

.ayos-plan-preview-content {
  flex: 0 0 auto;
  width: 100%;
  max-width: 420px;
  margin: 0;
  padding-left: 22px;
}

.ayos-plan-preview-benefits {
  flex: 0 0 auto;
  width: 100%;
  max-width: 420px;
  margin: 0;
  padding-left: 14px;
}

.ayos-plan-preview-benefits .fw-semibold {
  font-size: 1.05rem;
}

.ayos-plan-preview-title {
  font-size: 1.35rem;
  color: #000;
  font-weight: 700;
}

.ayos-plan-preview-title.is-basic-plan-title {
  color: #000;
}

.ayos-plan-preview-meta {
  display: block;
  font-size: 1.05rem;
  color: #4a4f4d;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  white-space: pre-line;
}

.ayos-plan-preview-rate {
  font-size: 1.05rem;
  color: #2f3533;
  font-weight: 700;
}

.ayos-plan-preview-benefits ul {
  list-style: none;
  padding-left: 0;
  margin-top: 4px;
}

.ayos-plan-preview-benefits li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: #4a4f4d;
}

.ayos-plan-preview-benefits li::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%2339b54a' d='M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z'/%3E%3C/svg%3E");
  flex: 0 0 16px;
}

.ayos-plan-preview-wrap > label {
  color: #0f5c40;
  font-size: 1rem;
}

#ind_plan_preview_wrap,
#fam_plan_preview_wrap,
[id^="md"][id$="_plan_preview_wrap"],
[id^="ad"][id$="_plan_preview_wrap"] {
  margin-bottom: 0.5rem !important;
}

@media (max-width: 768px) {
  .ayos-plan-preview-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ayos-plan-preview-image {
    max-width: 200px;
    width: 100%;
    min-width: 0;
    margin: 0;
  }

  .ayos-plan-preview-wrap {
    padding: 12px;
  }

  .ayos-plan-preview-title {
    font-size: 1.2rem;
  }

  .ayos-plan-preview-content {
    flex: 1;
    width: 100%;
    max-width: 420px;
    padding-left: 22px;
  }

  .ayos-plan-preview-benefits {
    max-width: 420px;
    padding-left: 14px;
  }

  .ayos-plan-preview-meta,
  .ayos-plan-preview-rate {
    font-size: 0.85rem;
  }
}

@media (min-width: 769px) {
  .ayos-plan-preview-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    width: fit-content;
    max-width: 100%;
  }

  .ayos-plan-preview-content {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding-left: 0;
    padding-top: 8px;
  }

  .ayos-plan-preview-image {
    flex: 0 0 300px;
    width: 300px;
    max-width: 300px;
    min-width: 300px;
    margin-top: 2px;
    margin-left: -2px;
  }

  .ayos-plan-preview-benefits {
    flex: 0 0 280px;
    width: 280px;
    max-width: 280px;
    min-width: 280px;
    padding-left: 0;
    margin-top: 2px;
  }

  .ayos-plan-preview-card.is-okkids-layout {
    display: grid;
    grid-template-columns: 300px 280px;
    column-gap: 12px;
    row-gap: 8px;
    align-items: start;
  }

  .ayos-plan-preview-card.is-okkids-layout .ayos-plan-preview-content {
    grid-column: 1;
    grid-row: 1;
    width: 300px;
    max-width: 300px;
    padding-top: 0;
  }

  .ayos-plan-preview-card.is-okkids-layout .ayos-plan-preview-image {
    grid-column: 1;
    grid-row: 2;
    width: 300px;
    max-width: 300px;
    min-width: 300px;
    margin-left: 0;
  }

  .ayos-plan-preview-card.is-okkids-layout .ayos-plan-preview-benefits {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 280px;
    max-width: 280px;
    min-width: 280px;
    margin-top: 0;
  }
}
