/* Default state */
.opc-form .form-control,
.opc-form .form-select {
  border: 1px solid #000;
  border-radius: 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.opc-form .form-control:focus,
.opc-form .form-select:focus {
  border: 1px solid #000;
  box-shadow: inset 0 0 0 1px #00233d;
  outline: none;
}

.opc-form sup {
  font-size: 1rem;
  top: 0;
  font-weight: 700;
}

.opc-form .has-error .form-control,
.opc-form .has-error .form-select {
  border-width: 2px;
}

/* container */
.nsCheckout-customer-type {
  display: flex;
  max-width: 520px;
}

/* wrapper */
.nsCheckout-customer-option {
  flex: 1 1 0;
}

/* hide native radio, Bootstrap-compatible */
.nsCheckout-customer-option .btn-check {
  display: none;
}

/* base button style */
.nsCheckout-customer-option label {
  width: 100%;
  display: block;
  text-align: center;
  padding: 14px 0;
  font-weight: 500;
  border: 1px solid #000;
  background-color: #fff;
  cursor: pointer;
  padding: 1rem;
}

/* left button */
.nsCheckout-customer-option--left label {
  border-right: none;
  border-radius: 10px 0 0 10px;
}

/* right button */
.nsCheckout-customer-option--right label {
  border-radius: 0 10px 10px 0;
}

/* active state */
.nsCheckout-customer-option .btn-check:checked + label {
  box-shadow: inset 0 0 0 1px #000;
}

#opc-continue-clone {
  padding: 0.75rem;
}

.opc-bootstrap-533 .opc-form textarea#delivery_message.form-control {
    border-color: #dee2e6;
}
.opc-bootstrap-533 .opc-form textarea#delivery_message.form-control:focus,
.opc-bootstrap-533 .opc-form textarea#delivery_message.form-control:active {
    border-color: #000;
    box-shadow: none;
    outline: none;
}

/* =========================
   Phone info icon + tooltip
   (safe for form-floating + stays centered on the INPUT even with validation errors)
   ========================= */

.phone-tooltip-container {
  position: relative;
}

/* Icon button (top is set by JS so it always centers on the input, not the container) */
.phone-tooltip-container .phone-tooltip-icon {
  position: absolute;
  right: 22px;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  z-index: 6;
  color: #6c757d;
  margin-top: 3px;
}

.phone-tooltip-container .phone-tooltip-icon .material-symbols-outlined {
  font-size: 24px;
  line-height: 1;
}

/* Tooltip bubble */
.phone-tooltip-container .phone-tooltip-box {
  position: absolute;
  right: 12px;
  top: calc(100% + 16px);
  width: 280px;
  background: #000;
  color: #fff;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
  z-index: 9999;
}

.phone-tooltip-container .phone-tooltip-box.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}