/* Register page address list layout */
#addressList { display:flex; flex-direction:column; gap:8px; width:100%; }
#addressList .ht-card { width:100%; border:1px solid #e5e7eb; border-radius:12px; box-sizing:border-box; }
#addressList .ht-card__body { color:#334155; font-size:14px; line-height:1.6; overflow-wrap:anywhere; word-break:break-word; }
#addressList .ht-card .ht-actions { display:flex; gap:6px; flex-wrap:wrap; }
@media (max-width: 640px) {
  #addressList .ht-card__header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
}

/* Refined register address cards */
.raddr-card { border:1px solid #e5e7eb; border-radius:12px; width:100%; max-width:100%; box-sizing:border-box; }
.raddr-card .ht-card__header { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
.raddr-card--shipping .ht-card__header { background:#f0f9ff; border-bottom:1px solid #e0f2fe; }
.raddr-card--billing .ht-card__header { background:#f0fdf4; border-bottom:1px solid #dcfce7; }
.raddr-head { display:flex; align-items:center; gap:8px; flex:1 1 auto; min-width:0; }
.raddr-head svg { color:#0ea5e9; }
.raddr-card--billing .raddr-head svg { color:#22c55e; }
.raddr-title { font-weight:600; color:#0f172a; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.raddr-body { color:#334155; font-size:14px; line-height:1.6; overflow-wrap:anywhere; word-break:break-word; white-space:normal; }
.raddr-actions { display:flex; gap:6px; flex:0 0 auto; }
.raddr-badge { display:inline-flex; align-items:center; padding:2px 8px; border-radius:999px; font-size:11px; margin-left:8px; border:1px solid #bbf7d0; background:#dcfce7; color:#166534; }
.raddr-card--shipping .raddr-badge { border-color:#bae6fd; background:#e0f2fe; color:#0369a1; }

/* Narrow screens: keep actions on next line and right-aligned */
@media (max-width: 640px) {
  .raddr-actions { width:100%; justify-content:flex-end; }
}
