.customer-bootstrap-state {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.72rem;
  min-height: 86px;
  padding: 0.9rem;
  border: 1px dashed var(--border-strong);
  border-radius: 8px;
  background: #fbfcfd;
  color: var(--muted);
}

.customer-bootstrap-state-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.customer-bootstrap-state-icon svg {
  width: 18px;
  height: 18px;
}

.customer-bootstrap-state.is-loading .customer-bootstrap-state-icon svg {
  animation: customer-bootstrap-spin 1s linear infinite;
}

.customer-bootstrap-state.is-error {
  border-color: rgba(180, 35, 24, 0.25);
  background: #fff7f6;
}

.customer-bootstrap-state.is-error .customer-bootstrap-state-icon {
  background: var(--danger-soft);
  color: var(--danger);
}

.customer-bootstrap-state-copy {
  min-width: 0;
}

.customer-bootstrap-state-copy strong,
.customer-bootstrap-state-copy span {
  display: block;
  overflow-wrap: anywhere;
}

.customer-bootstrap-state-copy strong {
  color: var(--text);
  font-size: 0.92rem;
}

.customer-bootstrap-state-copy span {
  margin-top: 0.18rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

@keyframes customer-bootstrap-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 620px) {
  .customer-bootstrap-state {
    grid-template-columns: 36px minmax(0, 1fr);
  }

  .customer-bootstrap-state .btn {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-bootstrap-state.is-loading .customer-bootstrap-state-icon svg {
    animation: none;
  }
}
