.zb-automation {
  background: var(--zb-color-white);
  border: 1px solid var(--zb-color-border);
  border-radius: 18px;
  margin-block: 16px;
  padding: 16px;
}
.zb-automation button {
  width: 100%;
}
.zb-preferences {
  display: grid;
  gap: 12px;
}
.zb-preferences label {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}
.zb-preferences [role='status'] {
  color: var(--zb-color-success);
  min-height: 1.5em;
}

/* Notification settings page (My Account / اعلان‌ها) and its dashboard link. */
.zb-notify {
  display: grid;
  gap: 14px;
}
.zb-notify__fixed,
.zb-notify__group {
  background: var(--zb-color-white);
  border: 1px solid var(--zb-color-border);
  border-radius: 18px;
  margin: 0;
  padding: 14px 16px;
}
.zb-notify__fixed p,
.zb-notify__intro {
  color: var(--zb-color-text-secondary);
  font-size: 0.82rem;
  line-height: 1.8;
  margin: 4px 0 0;
}
.zb-notify__form {
  display: grid;
  gap: 14px;
}
.zb-notify__group legend {
  float: right;
  font-weight: 800;
  padding: 0;
  width: 100%;
}
.zb-notify__row {
  align-items: center;
  border-top: 1px solid var(--zb-color-border);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 10px;
  min-height: 48px;
  padding-top: 10px;
}
.zb-notify__text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.zb-notify__text small {
  color: var(--zb-color-text-secondary);
  font-size: 0.78rem;
}
.zb-notify__text .zb-notify__since {
  font-size: 0.72rem;
}
.zb-notify__row input[type='checkbox'] {
  accent-color: var(--zb-color-primary-action);
  flex: none;
  height: 24px;
  width: 24px;
}
.zb-notify__status {
  color: var(--zb-color-success);
  margin: 0;
  min-height: 1.5em;
}
.zb-notify-link {
  align-items: center;
  background: var(--zb-color-white);
  border: 1px solid var(--zb-color-border);
  border-radius: 18px;
  color: var(--zb-color-text);
  display: flex;
  justify-content: space-between;
  margin-block: 16px;
  padding: 14px 16px;
  text-decoration: none;
}
.zb-notify-link span {
  display: grid;
  gap: 2px;
}
.zb-notify-link small {
  color: var(--zb-color-text-secondary);
}
