/* Aetherion retention and notifications UI */
.aetherion-retention-banner {
  margin: 0 0 22px;
  padding: 16px 18px;
  border: 1px solid rgba(215, 177, 103, .34);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(30, 27, 25, .98), rgba(20, 19, 22, .98));
  color: var(--text, #f4ead9);
  display: flex;
  gap: 14px;
  align-items: flex-start;
  line-height: 1.55;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}
.aetherion-retention-banner strong { color: #e3c383; white-space: nowrap; }
.aetherion-retention-banner span { flex: 1; color: var(--muted, #bdb2a3); }
.aetherion-retention-banner a { color: #e3c383; font-weight: 600; text-underline-offset: 3px; }
.aetherion-retention-banner a:hover { color: #f1d89f; }
.retention-label { font-weight: 600; }
.retention-purged { opacity: .92; }
.retention-download-disabled { display: inline-flex; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.06); font-size: .9rem; }
.retention-notice-list { display: grid; gap: 12px; }
.retention-notice {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 17px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  background: rgba(255,255,255,.025);
  color: var(--text, #f4ead9);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.retention-notice:hover { border-color: rgba(215,177,103,.28); background: rgba(255,255,255,.04); }
.retention-notice.is-unread {
  border-color: rgba(215,177,103,.52);
  background: linear-gradient(180deg, rgba(53,45,32,.52), rgba(28,25,23,.72));
  box-shadow: inset 3px 0 0 #d7b167;
}
.retention-notice strong { color: #f3e7d2; }
.retention-notice p { margin: 6px 0; color: var(--muted, #bdb2a3); }
.retention-notice small { color: rgba(235,224,205,.68); }
.retention-notice .btn,
.retention-read {
  flex: 0 0 auto;
  border: 1px solid rgba(215,177,103,.52) !important;
  background: rgba(215,177,103,.10) !important;
  color: #ead19a !important;
}
.retention-notice .btn:hover,
.retention-read:hover { background: rgba(215,177,103,.20) !important; border-color: rgba(227,195,131,.78) !important; }
.retention-empty {
  padding: 18px;
  border: 1px dashed rgba(215,177,103,.26);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
  color: var(--muted, #bdb2a3);
}
.retention-empty.is-error { color: #e7aaa6; border-color: rgba(190,85,78,.42); }
.retention-notices-card { border-color: rgba(215,177,103,.16); }
body[data-page="notifications"] .settings-list { display: grid; gap: 12px; }
body[data-page="notifications"] .setting-row {
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
  color: var(--text, #f4ead9);
}
body[data-page="notifications"] .setting-row:hover { border-color: rgba(215,177,103,.30); background: rgba(255,255,255,.04); }
body[data-page="notifications"] .setting-row input[type="checkbox"] { accent-color: #d7b167; }
body[data-page="notifications"] .inline-note,
body[data-page="notifications"] .status-message { color: var(--muted, #bdb2a3); }
body[data-page="notifications"] .btn-primary {
  color: #17120a;
  border-color: #d7b167;
  background: linear-gradient(180deg, #e4c785 0%, #c99e4e 100%);
}
body[data-page="notifications"] .btn-primary:hover { filter: brightness(1.06); }
.retention-close-account { border-color: rgba(130,44,44,.24); }
.retention-danger-button { background:#7b2e2e; color:#fff; border-color:#7b2e2e; }
.retention-danger-button:hover { background:#672525; }
.retention-close-account label { display:grid; gap:8px; }
.retention-close-account input { width:100%; }
@media (max-width:760px) {
  .aetherion-retention-banner { display:grid; padding:15px; gap:9px; }
  .aetherion-retention-banner strong { white-space:normal; }
  .retention-notice { align-items:flex-start; flex-direction:column; padding:15px; }
  .retention-notice .btn, .retention-read { width:100%; justify-content:center; }
  body[data-page="notifications"] .setting-row { align-items:center; }
}
