.user-ip-dialog,
.user-ip-settings {
  box-sizing: border-box;
  color: #191b24;
  background: #fff;
  border: 1px solid #b7c8cb;
  border-radius: 8px;
  padding: 20px;
  font-family: inherit;
  line-height: 1.6;
}
.user-ip-dialog {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  margin: auto;
}
.user-ip-dialog::backdrop { background: rgb(25 27 36 / 55%); }
.user-ip-dialog h2, .user-ip-settings h3 { margin: 0 0 12px; color: #191b24; }
.user-ip-dialog p, .user-ip-settings p { margin: 8px 0; }
.user-ip-dialog label { display: block; margin-bottom: 6px; font-weight: 600; }
.user-ip-dialog input {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #b7c8cb;
  border-radius: 4px;
  background: #fff;
  color: #191b24;
  font: inherit;
  font-size: 20px;
  padding: 8px 12px;
  letter-spacing: .15em;
}
.user-ip-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.user-ip-button {
  border: 1px solid #086c76;
  border-radius: 4px;
  background: #fff;
  color: #086c76;
  padding: 8px 12px;
  min-height: 44px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.user-ip-button:hover { background: #eaf5f6; }
.user-ip-button:active:not(:disabled) { transform: translateY(1px); }
.user-ip-button-primary { background: #086c76; color: #fff; }
.user-ip-button-primary:hover { background: #075b64; }
.user-ip-button-danger { color: #a52c34; border-color: #a52c34; }
.user-ip-button-danger:hover { background: #fff0f1; }
.user-ip-button:disabled, .user-ip-dialog input:disabled {
  background: #f1f7f9;
  color: #667579;
  border-color: #b7c8cb;
  cursor: not-allowed;
}
.user-ip-button:focus-visible, .user-ip-dialog input:focus-visible {
  outline: 2px solid #2d7d86;
  outline-offset: 2px;
}
.user-ip-settings { margin: 16px 0; }
.user-ip-list { padding: 0; margin: 12px 0; list-style: none; }
.user-ip-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #b7c8cb;
}
.user-ip-list li > div { min-width: 0; }
.user-ip-address { overflow-wrap: anywhere; }
.user-ip-badge { display: inline-block; margin-left: 8px; padding: 2px 6px; border-radius: 4px; background: #eaf5f6; color: #086c76; }
.user-ip-muted { color: #667579; font-size: .9rem; }
.user-ip-delivery-note {
  padding: 10px 12px;
  border-radius: 4px;
  background: #f1f7f9;
  color: #191b24;
  font-size: .9rem;
}
.user-ip-help {
  margin-top: 16px;
  border: 1px solid #b7c8cb;
  border-radius: 4px;
  background: #fff;
}
.user-ip-help > summary {
  padding: 12px;
  color: #086c76;
  font-weight: 700;
  cursor: pointer;
}
.user-ip-help > summary:hover { background: #eaf5f6; }
.user-ip-help > summary:focus-visible {
  outline: 2px solid #2d7d86;
  outline-offset: 2px;
}
.user-ip-help-content {
  padding: 0 12px 12px;
  border-top: 1px solid #b7c8cb;
}
.user-ip-help-content h3 {
  margin: 14px 0 4px;
  color: #191b24;
  font-size: 1rem;
}
.user-ip-help-content ul { margin: 8px 0; padding-left: 1.4em; }
.user-ip-help-content li { margin: 4px 0; }
.user-ip-error { padding: 8px; background: #fff0f1; color: #a52c34; border-radius: 4px; }
.user-ip-dialog [hidden], .user-ip-settings [hidden] { display: none !important; }
