/* Data-loss guard dialog. Same dark palette as the rest of the admin so it reads as part of the
   product, and deliberately heavier than the page behind it — this is the one dialog that must not
   be dismissed on reflex. */

.rg-overlay { position: fixed; inset: 0; z-index: 3000; background: rgba(8, 13, 20, 0.72);
              display: flex; align-items: center; justify-content: center; padding: 20px; }

.rg-box { width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
          background: #2c3b4c; border: 1px solid #6b3a3a; border-radius: 8px;
          box-shadow: 0 18px 48px rgba(0, 0, 0, .55); padding: 20px 22px; }

.rg-title { margin: 0 0 6px; font-size: 18px; color: #fff; }
.rg-detail { margin: 0 0 12px; font-size: 13px; color: #9fb3c8; line-height: 1.55; }
.rg-lead { margin: 0 0 12px; font-size: 13.5px; line-height: 1.6; color: #ff9d9d;
           background: #3a2020; border: 1px solid #6b3a3a; border-radius: 6px; padding: 10px 12px; }
.rg-lead b { color: #fff; }

.rg-list { max-height: 190px; overflow-y: auto; border: 1px solid #395069; border-radius: 6px;
           background: #1b2734; margin-bottom: 12px; }
.rg-row { display: flex; align-items: baseline; gap: 12px; padding: 6px 12px; border-top: 1px solid #2b3a4b; font-size: 13px; }
.rg-row:first-child { border-top: none; }
.rg-dev { color: #e6edf3; flex: 1 1 auto; word-break: break-all; }
.rg-cnt { color: #ffd479; white-space: nowrap; font-variant-numeric: tabular-nums; }

.rg-note { margin: 0 0 12px; font-size: 12px; color: #ffd479; line-height: 1.55; }

.rg-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 10px; }
.rg-btn { font: inherit; font-size: 13px; padding: 8px 14px; border-radius: 4px; cursor: pointer;
          border: 1px solid #395069; background: #1b2734; color: #d5dee8; }
.rg-btn:hover { background: #24344a; color: #fff; }
.rg-btn-safe { background: #2e6b41; border-color: #2e6b41; color: #fff; font-weight: 600; }
.rg-btn-safe:hover { background: #37804d; color: #fff; }
.rg-btn-danger { border-color: #6b3a3a; color: #ff9d9d; }
.rg-btn-danger:hover { background: #4a2c2c; color: #ffd0d0; }
.rg-btn-cancel { margin-left: auto; }

.rg-hint { margin: 0; font-size: 12px; color: #9fb3c8; line-height: 1.55; }
