/* The IRIS pop-up that replaces the grey box of the browser (confirm / alert).
   Loaded on every page: the portal (Apps, Help) and Config. */
.iris-ask-back { position: fixed; inset: 0; z-index: 2000; background: rgba(11, 31, 56, .45); display: grid;
  place-items: center; padding: 20px; animation: iris-ask-in .18s ease; }
.iris-ask-back[hidden] { display: none; }
.iris-ask { width: 100%; max-width: 430px; background: #fff; border-radius: 20px; padding: 24px 26px 22px;
  text-align: center; box-shadow: 0 24px 60px rgba(11, 31, 56, .35); font-family: inherit;
  animation: iris-ask-pop .26s cubic-bezier(.2, 1.4, .4, 1); }
.iris-ask-art { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center;
  background: #e8f1fb; color: #1572c9; }
.iris-ask-art svg { width: 32px; height: 32px; }
.iris-ask.danger .iris-ask-art { background: #fdecec; color: #c7362f; }
.iris-ask.warning .iris-ask-art { background: #fff3e0; color: #b4730d; }
.iris-ask.malek .iris-ask-art { background: linear-gradient(135deg, #fff3e0, #ffe2c2); color: #e07b1a; }
.iris-ask.malek .iris-ask-btn.primary { background: #e07b1a; border-color: #e07b1a; color: #fff; }
.iris-ask.malek .iris-ask-btn.primary:hover { background: #c4650f; }
.iris-ask h2 { margin: 0 0 8px; font-size: 18px; line-height: 1.35; color: #0b3f73; font-weight: 600; }
.iris-ask p { margin: 0 0 6px; font-size: 14px; line-height: 1.55; color: #33465a; }
.iris-ask ul { text-align: left; margin: 10px 0 2px; padding: 10px 14px 10px 30px; background: #f7fafd;
  border: 1px solid #e2eaf3; border-radius: 12px; font-size: 13.5px; color: #33465a; }
.iris-ask ul li + li { margin-top: 4px; }
.iris-ask-note { font-size: 12.5px; color: #6b7a8b; }
.iris-ask-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.iris-ask-btn { min-height: 38px; padding: 0 18px; border-radius: 10px; border: 1px solid #c8d6e5; background: #fff;
  color: #33465a; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.iris-ask-btn:hover { background: #f1f5fa; }
.iris-ask-btn.primary { background: #1572c9; border-color: #1572c9; color: #fff; }
.iris-ask-btn.primary:hover { background: #1163ad; }
.iris-ask-btn.danger { background: #c7362f; border-color: #c7362f; color: #fff; }
.iris-ask-btn.danger:hover { background: #a92c26; }
.iris-ask-btn:focus-visible { outline: 3px solid rgba(21, 114, 201, .35); outline-offset: 2px; }
@keyframes iris-ask-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes iris-ask-pop { from { transform: scale(.9) translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .iris-ask-back, .iris-ask { animation: none; } }
