/* ==============================
   USER ADDRESSES
================================ */

.user-address-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 16px;
}

.user-address-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.user-address-title {
  font-size: 16px;
  font-weight: 600;
}

.user-input,
.user-select {
  width: 100%;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  margin-top: 4px;
}

.user-switch-row {
  display: flex;
  gap: 24px;
  margin-top: 12px;
}

/* iOS style switch */
.user-switch {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-switch input {
  display: none;
}

.user-slider {
  width: 42px;
  height: 22px;
  background: #ccc;
  border-radius: 22px;
  position: relative;
  cursor: pointer;
}

.user-slider::after {
  content: '';
  width: 18px;
  height: 18px;
  background: #fff;
  position: absolute;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  transition: all 0.2s;
}

.user-switch input:checked + .user-slider {
  background: #2563eb;
}

.user-switch input:checked + .user-slider::after {
  left: 22px;
}

/* ==============================
   USER ADDRESS · BADGES
================================ */

.user-badge {
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* PRIMARY (yellow like Company) */
.user-badge-primary {
  background: #fff7cc;
  color: #b08900;
}

/* SECONDARY (gray like Company) */
.user-badge-secondary {
  background: #eef2f7;
  color: #6b7280;
}

/* ==============================
   USER ADDRESS · INACTIVE STATE
================================ */

.user-address-inactive {
  opacity: 0.55;
}

.user-badge-inactive {
  background: #f3f4f6;
  color: #6b7280;
}
