/* Delete account: the card and sheet on /settings and the public page /delete-account. Colours come from the app palette only. */
/* Loaded before examdibo-app.css (head_extra), so rules that override .ed-* carry the extra class. */
.ad-card { border: 1px solid var(--ed-danger-bg); }
.ad-card .ed-settings-title, .ad-card .ed-settings-title .bi { color: var(--ed-danger); }
.ad-card p { margin-bottom: 14px; }
.ed-btn.ad-btn-danger { background: var(--ed-danger); color: #fff; border: 0; }
.ed-btn.ad-btn-danger:hover, .ed-btn.ad-btn-danger:focus-visible { background: var(--ed-danger); color: #fff; filter: brightness(1.08); }
.ad-panel { max-height: 92vh; overflow-y: auto; }
.ad-panel #deleteForm { margin-top: 14px; }
.ad-warning { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 12px; padding: 10px 12px; border-radius: var(--ed-radius-sm); background: var(--ed-danger-bg); color: var(--ed-danger); font-size: 14px; font-weight: 600; }
.ad-list-title { margin: 12px 0 6px; font-size: 14px; font-weight: 700; color: var(--ed-text); }
.ad-list-title .bi { color: var(--ed-text-muted); margin-right: 4px; }
.ad-list { margin: 0 0 8px; padding-left: 20px; font-size: 13px; line-height: 1.6; color: var(--ed-text); }
.ad-list li { margin: 3px 0; }
.ad-code-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 12px 0; padding: 10px 12px; border: 1px dashed var(--ed-border); border-radius: var(--ed-radius-sm); }

/* The public page */
.ad-page { padding-top: 14px; padding-bottom: 28px; }
.ad-page h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 17px; font-weight: 700; color: var(--ed-text); }
.ad-page h2 .bi { color: var(--ed-primary); }
.ad-page p { color: var(--ed-text); line-height: 1.65; }
.ad-steps { margin: 0; padding-left: 20px; line-height: 1.7; color: var(--ed-text); }
.ad-steps li { margin: 4px 0; }
.ad-goodbye { text-align: center; padding: 26px 18px; }
.ad-goodbye .bi { font-size: 44px; color: var(--ed-success); }
.ad-goodbye h2 { justify-content: center; margin-top: 8px; }
