.ip-role-ip-mode-group {
  display: grid;
  gap: 8px;
}

.ip-role-ip-mode-group select {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 1px solid #d9e2ec;
  border-radius: 8px;
  background: #ffffff;
  font-size: 14px;
  color: #111827;
}

.ip-role-ip-mode-group select.is-disabled,
.ip-role-ip-mode-group select:disabled {
  opacity: 0.55;
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

.ip-role-or-divider {
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1;
}

.ip-role-field-wrap {
  position: relative;
}

.ip-role-field-wrap.is-disabled input,
.ip-role-field-wrap input.is-disabled,
.ip-role-field-wrap input:disabled {
  opacity: 0.55;
  background: #f3f4f6;
  color: #9ca3af;
  cursor: not-allowed;
}

.ip-role-field-label {
  display: block;
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 6px;
}

.ip-role-field-wrap input {
  width: 100%;
  box-sizing: border-box;
}

.ip-role-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.ip-role-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 14px;
  color: #1f2937;
  cursor: pointer;
}

.ip-role-suggest-item:hover,
.ip-role-suggest-item:focus {
  background: #f3f4f6;
}

.ip-role-suggest-item + .ip-role-suggest-item {
  border-top: 1px solid #f3f4f6;
}
