/* Reusable components shared by public and internal workflows. */

.smart-address-import {
  display: grid;
  gap: 9px;
  margin-bottom: 2px;
  padding: 12px;
  border: 1px solid rgba(200, 91, 50, 0.22);
  border-radius: 12px;
  background: #fffaf6;
}

.smart-address-import textarea {
  min-height: 96px;
  background: #fff;
}

.smart-address-import .secondary-button {
  justify-self: start;
  min-height: 40px;
}

.smart-address-status {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.smart-address-status.success {
  color: #176f57;
}

.smart-address-status.warning {
  color: #9a541e;
}

.smart-address-status.error {
  color: #a83024;
}

.public-smart-address {
  display: block;
  margin-bottom: 4px;
  padding: 0;
  overflow: hidden;
  border-color: rgba(20, 47, 88, 0.13);
  background: #f8faff;
}

.public-smart-address > summary {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 13px;
  color: var(--blue-dark);
  cursor: pointer;
  list-style: none;
}

.public-smart-address > summary::-webkit-details-marker {
  display: none;
}

.public-smart-address > summary::after {
  content: "+";
  color: var(--orange);
  font-size: 20px;
  font-weight: 800;
}

.public-smart-address[open] > summary::after {
  content: "−";
}

.public-smart-address > summary strong {
  font-size: 13px;
}

.public-smart-address > summary span {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.public-smart-address-body {
  display: grid;
  gap: 9px;
  padding: 0 12px 12px;
  border-top: 1px solid rgba(20, 47, 88, 0.08);
}

.public-smart-address-body label {
  padding-top: 11px;
}

.public-smart-address-body textarea {
  min-height: 88px;
}
