/* The ALERTS page: push alerts for this device, alert settings and the watchlist. */
#alerts-v .alerts-header {
  background: var(--c-grey-222);
  color: var(--c-yellow);
  padding: 10px;
}

.alerts-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* Deleting your own account: marked out in red so it can't be mistaken for the settings above it. */
.account-danger {
  border-left-color: var(--c-red) !important;
}

.alerts-card {
  background: var(--c-grey-050505);
  border: 1px solid var(--c-grey-222);
  border-left: 3px solid var(--c-yellow);
  border-radius: 4px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.alerts-title {
  margin: 0;
  color: var(--c-yellow);
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.alerts-status,
.alerts-note {
  margin: 0;
  color: var(--c-grey-aaa);
  font-size: 0.8rem;
  line-height: 1.45;
}

.alerts-actions,
.alerts-add {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.alerts-inline-form {
  margin: 0;
}

.alerts-btn {
  background: var(--c-black);
  border: 1px solid var(--c-yellow);
  color: var(--c-yellow);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: bold;
  padding: 7px 12px;
  border-radius: 3px;
  cursor: pointer;
}

.alerts-btn--muted {
  border-color: var(--c-grey-666);
  color: var(--c-grey-aaa);
}

.alerts-devices {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.75rem;
}

.alerts-devices li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px;
  border-top: 1px dashed var(--c-grey-222);
  padding-top: 4px;
}

.alerts-meta {
  color: var(--c-grey-666);
}

/* A tick box with its label text, and any links in it, flowing normally beside it. */
.alerts-check {
  position: relative;
  display: block;
  padding-left: 26px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--c-white);
  cursor: pointer;
}

.alerts-check input[type="checkbox"] {
  position: absolute;
  top: 2px;
  left: 0;
  margin: 0;
}

.alerts-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--c-grey-aaa);
  font-size: 0.65rem;
  font-weight: bold;
  letter-spacing: 0.5px;
}

.alerts-input {
  background: var(--c-black);
  color: var(--c-cyan-bright);
  border: 1px solid var(--c-grey-333);
  font-family: monospace;
  font-size: 0.8rem;
  padding: 6px 8px;
  border-radius: 3px;
  outline: none;
  max-width: 100%;
}

.alerts-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  border-top: 1px dashed var(--c-grey-222);
  padding-top: 8px;
}

.alerts-toggle {
  min-width: 70px;
  background: var(--c-black);
  border: 1px solid var(--c-grey-444);
  color: var(--c-grey-888);
  font-family: inherit;
  font-size: 0.68rem;
  font-weight: bold;
  padding: 5px 8px;
  border-radius: 3px;
  cursor: pointer;
}

.alerts-toggle--on {
  border-color: var(--c-green);
  color: var(--c-green);
}

.alerts-toggle--remove {
  border-color: var(--c-red);
  color: var(--c-red);
}
