
.standard-option{
  display:flex; align-items:center; gap:.6rem;
  padding:.55rem .8rem; border:1px solid #e5e7eb; border-radius:10px;
  background:#fff; transition:border-color .2s, box-shadow .2s, background-color .2s;
}

.standard-option input[type="radio"]{
  accent-color: #4caf50;
  inline-size: 1.125rem; block-size: 1.125rem; /* a touch larger */
  margin:0; flex:none; cursor:pointer;
}

.standard-option label{ cursor:pointer; user-select:none; }

/* hover & checked state on the container */
.standard-option:hover{ background:#f8fafc; border-color:#dbe2ea; }
.standard-option:has(input[type="radio"]:checked){
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}

/* keyboard focus ring */
.standard-option:has(input[type="radio"]:focus-visible){
  outline:3px solid color-mix(in srgb, var(--accent) 40%, transparent);
  outline-offset:2px;
}

/* disabled look */
.standard-option input[type="radio"]:disabled + label,
.standard-option input[type="radio"]:disabled { opacity:.55; cursor:not-allowed; }

@media (prefers-reduced-motion: reduce){
  .standard-option{ transition:none; }
}




.stepped-form
 {
    border: 1px solid #b8b8b8;
    padding: 1rem;
    border-radius: 5px;
}
/* OR Separator Styles */
.or-separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
}
.or-separator::before,
.or-separator::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #ccc;
}
.or-separator::before {
  margin-right: 10px;
}
.or-separator::after {
  margin-left: 10px;
}

/* Progress Indicator Bar Styles */
.order-progress-bar {
  margin-bottom: 20px;
}
.progress-steps {
  list-style-type: none;
  padding: 0;
  display: flex;
  justify-content: space-between;
}
.progress-steps li {
  text-align: center;
  flex: 1;
  position: relative;
}
.progress-steps li::before {
  content: '';
  height: 2px;
  background-color: #ccc;
  position: absolute;
  top: 15px;
  left: -50%;
  width: 100%;
  z-index: -1;
}
.progress-steps li:first-child::before {
  display: none;
}
.progress-steps li.active::before {
  background-color:  #4caf50;
}
.progress-steps .step-number {
  display: inline-block;
  background-color: #ccc;
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  line-height: 30px;
  margin-bottom: 5px;
}
.progress-steps li.active .step-number {
  background-color: #4caf50;
}
.progress-steps .step-label {
  display: block;
}

@media (max-width: 600px) {
  .progress-steps {
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: .5rem;
  }
  .progress-steps li {
    flex: 0 0 auto;
    min-width: 120px;
  }
}

/* Order Step Styles */
.order-step {
  margin-bottom: 20px;
}
.order-step h2 {
  margin-bottom: 10px;
}
.order-step p {
  margin-bottom: 10px;
}

/* Form Styles */
form {
  margin-bottom: 20px;
}
label {
  display: block;
  margin-bottom: 5px;
}
.terms-field {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 10px;
}
.terms-field input[type="checkbox"] {
  inline-size: 1.25rem;
  block-size: 1.25rem;
  margin: 0;
}
.terms-field label {
  margin: 0;
}
#customer-address {
  width: 100%;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
input[type="tel"],
select {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  box-sizing: border-box;
}
#promo-code {
  max-width: 100%;
}
.standard-options {
  margin-bottom: 20px;
}
.standard-option {
  margin-bottom: 10px;
}
.standard-info {
  margin-left: 10px;
  color: #0073aa;
  cursor: pointer;
}

/* Upload Section Styles */
.upload-section {
  margin-bottom: 20px;
}
.upload-section h3 {
  margin-top: 20px;
}
.upload-instructions {
  border: 2px dashed #ccc;
  padding: 20px;
  text-align: center;
  cursor: pointer;
}
.file-list {
  list-style-type: none;
  padding: 0;
  margin-top: 10px;
}
.file-list li {
  margin-bottom: 5px;
  padding: 5px;
  border-bottom: 1px solid #ccc;
}
.file-table-wrapper {
  overflow-x: auto;
}
#compliance-file-list {
  min-width: 480px;
}

/* Upload progress bar styles */
.upload-progress-bar {
  width: 100%;
  background-color: #f1f1f1;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 5px;
}
.upload-progress-fill {
  height: 100%;
  width: 0%;
  background-color: #2196F3;
  transition: width 0.2s;
}

/* Button Styles */
.btn-next,
.btn-prev,
.btn-submit,
#recaptcha-container button {  
    position: relative;
    background-color: #ffffff;
    color: #000000;
    padding: 10px 20px;
    border: 1px solid black;
    border-radius: 0.33rem;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--wp--preset--font-size--small);
    font-style: normal;
    font-weight: 500;
    line-height: inherit;
    padding-top: 0.6rem;
    padding-right: 1rem;
    padding-bottom: 0.6rem;
    padding-left: 1rem;
    text-decoration: none;
}
.btn-prev {
  background-color: #555;
  color:white;
}
.btn-submit {
  margin-top: 20px;
}
.btn-next:hover,
.btn-prev:hover,
.btn-submit:hover,
#recaptcha-container button:hover {
  background-color: #4caf50;
}
.remove-button {
  background-color: #f44336; /* Red */
  color: #fff;
  border: none;
  padding: 5px 10px;
  margin-left: 10px;
  cursor: pointer;
}
.remove-button:hover {
  background-color: #d32f2f;
}

/* Support and Security Sections */
.support-section,
.security-section {
  background-color: #f7f7f7;
  padding: 20px;
  margin-top: 20px;
}
.support-section p,
.security-section p {
  margin-bottom: 5px;
}

/* Registration step helper text */
.already-registered {
  margin-top: 10px;
  font-size: 0.9rem;
}
.already-registered a {
  color: #4caf50;
}
.registration-status {
  margin-top: 10px;
  font-style: italic;
}

.tip {
  background-color: #e7f3fe;
  border-left: 6px solid #2196F3;
  padding: 10px;
  margin: 10px 0;
  font-family: Arial, sans-serif;
}

/* Misc Styles */
.price {
  font-weight: bold;
}
.terms-conditions {
  margin-top: 20px;
}
.security-reminder {
  font-style: italic;
  color: #555;
}

/* Billing Address Styles */
.billing-address-fields {
  padding: 0.375rem;
}
/* .billing-address-fields div {
  margin-bottom: 10px;
}
.billing-address-fields input,
.billing-address-fields select {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
} */

/* Optional: Style the billing address fields */
/* .billing-address-fields label {
  margin-bottom: 5px;
  font-weight: bold;
} */

/* Hide PayPal button if ineligible */
#paypal-button-container {
  display: none;
}
.or-separator {
  display: none;
}

/* Adjustments for PayPal fields (if necessary) */
.card_container {
  margin-top: 20px;
}
#card-form div {
  margin-bottom: 0;
}

/* Adjustments for checkbox labels */
.terms-conditions label,
.understand-terms label,
.document-checklist label {
  display: flex;
  align-items: center;
}
.terms-conditions input[type="checkbox"],
.understand-terms input[type="checkbox"],
.document-checklist input[type="checkbox"] {
  margin-right: 10px;
}

/* Adjustments for disabled checkboxes */
.document-checklist input[type="checkbox"]:disabled {
  cursor: not-allowed;
}

/* Result Message */
#result-message {
  margin-top: 20px;
  color: red;
  font-weight: bold;
}

/* Payment Step Styles */
#pre-payment-total-price {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Adjust styles for smaller screens if needed */
  .progress-steps li {
    font-size: 12px;
  }
  .btn-next,
  .btn-prev,
  .btn-submit,
  #recaptcha-container button {
    width: 100%;
    margin-bottom: 10px;
  }
}


/* CLEAN TABLE */
.cleanTable {
  width: 100%;
  border-collapse: collapse;
  /* font-family: sans-serif;
  font-size: 14px; */
  table-layout: auto;
}

.cleanTable th, .cleanTable td {
  padding: 10px 12px;
  border: 1px solid #ddd;
}

.cleanTable thead {
  background-color: #f2f2f2;
}

.cleanTable tbody tr:nth-child(even) {
  background-color: #fafafa;
}

.cleanTable td:first-child {
  word-break: break-word;
  max-width: 400px;
}

.cleanTable td:nth-child(2),
.cleanTable td:nth-child(3),
.cleanTable th:nth-child(2),
.cleanTable th:nth-child(3) {
  text-align: right;
  width: 100px;
}



/* 2×2 grid for WordPress block buttons */
.has-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Ensure each grid item fills its column */
.has-buttons-grid .wp-block-button {
  width: 100%;
}

/* Make them true squares and prominent */
.wp-block-button__link.group-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 5 / 1;
  padding: 0;
  font-size: 1.1rem;
  color: black;
  background-color: #f1f1f1;
  border: 2px solid #ccd0d4;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color .2s, border-color .2s;
}

/* Hover and active states */
.wp-block-button__link.group-btn:hover {
  background-color: #e2e6ea;
}

.wp-block-button__link.group-btn.active {
  background-color:  #4caf50;
  border-color:  #183619;
  color: #fff;
}

.standard-options { margin-top: 1rem; }

.btn-next.button {
  margin-top: 1.5rem;
}

label.standard-option {
  /* show pointer when hovering anywhere on the label */
  cursor: pointer;
}

label.standard-option input[type="radio"],
label.standard-option span {
  /* make sure the radio “bubble” and the text also get the pointer */
  cursor: pointer;
}


/* Container for each floating-label field */
.floating-label {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0;
  transition: margin 0.2s ease-out;
}
.floating-label:has(input:not(:placeholder-shown)),
.floating-label:has(textarea:not(:placeholder-shown)) {
  margin: 1rem 0;
}

/* Base styles for inputs and textareas */
.floating-label input,
.floating-label textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 1rem 0.5rem 0.25rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  transition: border-color 0.2s ease-out;
  resize: vertical;
  overflow-y: scroll;
}
.floating-label textarea {
  min-height: 5rem;
}

/* Base label positioning */
.floating-label label {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  font-size: 1rem;
  color: #777;
  background: white;
  padding: 0 0.25rem;
  margin: 0;
  pointer-events: none;
  transition:
    transform 0.2s ease-out,
    font-size 0.2s ease-out,
    top 0.2s ease-out,
    color 0.2s ease-out;
}

/* Move & shrink label when input/textarea is focused or has content */
.floating-label input:focus + label,
.floating-label input:not(:placeholder-shown) + label,
.floating-label textarea:focus + label,
.floating-label textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.25rem);
  font-size: 0.85rem;
  top: 0.5rem;
  color: #333;
}

/* Highlight border on focus */
.floating-label input:focus,
.floating-label textarea:focus {
  border-color: #0074D9;
  outline: none;
}


#compliance-file-list {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.9rem;
}
#compliance-file-list th,
#compliance-file-list td {
  padding: 8px;
  text-align: left;
}
#compliance-file-list thead th {
  border-bottom: 2px solid #ccc;
}
#compliance-file-list tfoot td {
  border-top: 2px solid #ccc;
}
#compliance-file-list td:first-child,
#compliance-file-list th:first-child {
  width: 50%;
}

#compliance-file-list td:first-child {
  overflow: hidden;
}

#compliance-file-list td:first-child .file-name {
  display: inline-block;
  white-space: nowrap;
}





.pay-field {
  position: relative;
  margin: 0;
}
.pay-field label {
  position: absolute;
  padding: 0 0.25rem;
  top: 1.6rem;
  left: 1em;
  transform: translateY(-50%);
  transition: all 0.2s ease;
  font-size: 1rem;
  pointer-events: none;
  background: white;
  color: #777;
  z-index: 2;
}
.pay-field.filled label,
.pay-field.focused label {
  transform: translateY(-1.25rem);
  font-size: 0.85rem;
  top: 1rem;
  color: #333;
}
.pay-field.filled,
.pay-field.focused {
  margin: 1.1rem 0;
}

.pay-field > div {
  min-height:0;
  height: auto;
  max-height: 3rem;
}
.pay-field > div iframe {
  height: auto !important;
  min-height: 0 !important;
}
#pre-payment-total-price {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}


  .spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(0,0,0,0.1);
    border-top-color: rgba(0,0,0,0.6);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
  }
  @keyframes spin {
    to { transform: rotate(360deg); }
  }

  .customer-journey-panel.hide {
    display: none;
  }