/**
 * Shufflrr Checkout — shared company form layout (non-theme properties).
 * Product CSS files remain authoritative for colors until verified dedup.
 */

/* Wrapper <form> for password-manager / Chrome DOM hints; no layout change. */
.shuf-company-form {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  display: contents !important;
}

.shuf-ct-wrap .shuf-ct-field-row,
.shuf-bc-wrap .shuf-bc-field-row,
.shuf-ad-wrap .shuf-ad-field-row {
  margin-bottom: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.shuf-ct-wrap .shuf-ct-field-row-split,
.shuf-bc-wrap .shuf-bc-field-row-split,
.shuf-ad-wrap .shuf-ad-field-row-split {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.shuf-ct-wrap .shuf-ct-field-row-split .shuf-ct-field-row,
.shuf-bc-wrap .shuf-bc-field-row-split .shuf-bc-field-row,
.shuf-ad-wrap .shuf-ad-field-row-split .shuf-ad-field-row {
  margin-bottom: 0 !important;
  min-width: 0 !important;
}

.shuf-ct-wrap .shuf-ct-field-row-split > .shuf-ct-field-row:only-child,
.shuf-bc-wrap .shuf-bc-field-row-split > .shuf-bc-field-row:only-child,
.shuf-ad-wrap .shuf-ad-field-row-split > .shuf-ad-field-row:only-child {
  grid-column: 1 / -1 !important;
}

.shuf-ct-wrap .shuf-ct-input-wrap,
.shuf-bc-wrap .shuf-bc-input-wrap,
.shuf-ad-wrap .shuf-ad-input-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.shuf-ct-wrap .shuf-ct-input-wrap input,
.shuf-bc-wrap .shuf-bc-input-wrap input,
.shuf-ad-wrap .shuf-ad-input-wrap input,
.shuf-ct-wrap .shuf-ct-field-row > input,
.shuf-bc-wrap .shuf-bc-field-row > input,
.shuf-ad-wrap .shuf-ad-field-row > input,
.shuf-ct-wrap .shuf-ct-field-row-split input,
.shuf-bc-wrap .shuf-bc-field-row-split input,
.shuf-ad-wrap .shuf-ad-field-row-split input {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  box-sizing: border-box !important;
}

.shuf-ct-wrap .shuf-ct-input-wrap input,
.shuf-bc-wrap .shuf-bc-input-wrap input,
.shuf-ad-wrap .shuf-ad-input-wrap input {
  padding-right: 40px !important;
}

.shuf-ct-wrap .shuf-ct-input-status,
.shuf-bc-wrap .shuf-bc-input-status,
.shuf-ad-wrap .shuf-ad-input-status {
  position: absolute !important;
  right: 10px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

.shuf-ct-wrap .shuf-ct-pw-wrap,
.shuf-bc-wrap .shuf-bc-pw-wrap,
.shuf-ad-wrap .shuf-ad-pw-wrap {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.shuf-ct-wrap .shuf-ct-pw-wrap input,
.shuf-bc-wrap .shuf-bc-pw-wrap input,
.shuf-ad-wrap .shuf-ad-pw-wrap input {
  padding-right: 44px !important;
}

.shuf-ct-wrap .shuf-ct-pw-toggle,
.shuf-bc-wrap .shuf-bc-pw-toggle,
.shuf-ad-wrap .shuf-ad-pw-toggle {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  width: 44px !important;
  height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  cursor: pointer !important;
  line-height: 1 !important;
  font-size: 14px !important;
  color: var(--shuf-body) !important;
}

.shuf-ct-wrap .shuf-ct-pw-toggle:focus,
.shuf-bc-wrap .shuf-bc-pw-toggle:focus,
.shuf-ad-wrap .shuf-ad-pw-toggle:focus {
  outline: none !important;
}

@media (max-width: 640px) {
  .shuf-ct-wrap .shuf-ct-field-row-split,
  .shuf-bc-wrap .shuf-bc-field-row-split,
  .shuf-ad-wrap .shuf-ad-field-row-split {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
