/* notice.css: the cookie notice and the small windows (time zone, event details). Loaded on every page, so it uses its own itg- names
   and plain colours (Jeppesen ForeFlight: midnight #001629, afterburn #ff791a). */
.itg-notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 400; max-width: 760px; margin: 0 auto; display: flex; align-items: center; gap: 16px;
  background: #fff; color: #001629; border: 1px solid rgba(0,22,41,.15); border-radius: 12px; box-shadow: 0 8px 30px rgba(0,22,41,.2); padding: 14px 18px;
  font: 13px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.itg-notice[hidden] { display: none; }
.itg-notice p { margin: 0; flex: 1; }
.itg-notice-logo { height: 34px; width: auto; flex: none; align-self: flex-start; }
.itg-notice { align-items: flex-start; max-width: 860px; }
.itg-notice-main { flex: 1; min-width: 0; }
.itg-notice-main p { margin: 0 0 6px; flex: none; }
.itg-notice-status { font-weight: 600; }
.itg-notice-small { font-size: 11px; color: rgba(0,22,41,.6); }
.itg-notice-actions { display: flex; flex-direction: column; gap: 8px; flex: none; align-self: center; }
.itg-notice-actions .itg-btn, .itg-notice-actions .itg-btn-quiet { white-space: nowrap; }
.itg-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; padding: 0; }
.itg-chips[hidden] { display: none; }
.itg-chips li { background: #f1f5f9; border: 1px solid rgba(0,22,41,.12); border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.itg-spin { animation: itg-turn 1.4s linear infinite; }
@keyframes itg-turn { from { transform: perspective(500px) rotateY(0deg); } to { transform: perspective(500px) rotateY(360deg); } }
@media (prefers-reduced-motion: reduce) { .itg-spin { animation: none; } }
@media (max-width: 640px) { .itg-notice { flex-wrap: wrap; } .itg-notice-main { flex-basis: 100%; order: 3; } .itg-notice-actions { flex-direction: row; order: 4; width: 100%; } }

.itg-btn { background: #ff791a; color: #001629; border: 0; border-radius: 8px; padding: 9px 18px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.itg-btn:hover { filter: brightness(1.08); }
.itg-btn:disabled { opacity: .5; cursor: not-allowed; }
.itg-btn-quiet { background: none; border: 1px solid rgba(0,22,41,.2); color: #001629; border-radius: 8px; padding: 9px 16px; font: inherit; font-size: 14px; cursor: pointer; }
.itg-btn:focus-visible, .itg-btn-quiet:focus-visible, .itg-modal-x:focus-visible { outline: 2px solid #001629; outline-offset: 2px; }

.itg-modal-wrap { position: fixed; inset: 0; z-index: 350; background: rgba(0,22,41,.5); display: flex; align-items: center; justify-content: center; padding: 16px; }
.itg-modal-wrap[hidden] { display: none; }
.itg-modal { background: #fff; color: #001629; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,22,41,.35); width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto; padding: 20px 22px;
  border-top: 4px solid #ff791a; font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.itg-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.itg-modal-head h2 { margin: 0; font-size: 1.15rem; font-weight: 700; }
.itg-modal-x { border: 0; background: none; font-size: 24px; line-height: 1; cursor: pointer; color: rgba(0,22,41,.6); padding: 2px 8px; border-radius: 6px; }
.itg-modal-x:hover { background: rgba(0,22,41,.08); }
.itg-modal-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.itg-text { margin: 10px 0; color: rgba(0,22,41,.75); }
.itg-small { font-size: 12px; }
.itg-label { display: block; margin: 14px 0 4px; font-size: 12px; font-weight: 600; color: rgba(0,22,41,.7); }
.itg-select { width: 100%; padding: 9px 10px; border: 1px solid rgba(0,22,41,.25); border-radius: 8px; background: #fff; font: inherit; }
.itg-select:focus { outline: 2px solid #ff791a; outline-offset: 1px; }
.itg-error { margin: 8px 0 0; min-height: 1.2em; font-size: 13px; color: #b91c1c; }
.itg-dl { margin: 14px 0 0; display: grid; grid-template-columns: 9rem 1fr; gap: 8px 14px; }
.itg-dl dt { font-size: 12px; font-weight: 600; color: rgba(0,22,41,.55); }
.itg-dl dd { margin: 0; word-break: break-word; }
.itg-dl dd.mono { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; }
@media (max-width: 480px) { .itg-dl { grid-template-columns: 1fr; gap: 2px; } .itg-dl dd { margin-bottom: 8px; } }

/* The activity notice (shown at the first sign-in): a wider window, the text scrolls, a tick box above the button. */
.itg-modal-wide { max-width: 680px; }
.itg-notice-body { max-height: 46vh; overflow-y: auto; padding-right: 6px; }
.itg-list { margin: 10px 0; padding-left: 20px; }
.itg-list li { margin: 8px 0; }
.itg-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 12px; border: 1px solid rgba(0,22,41,.2); border-radius: 8px; cursor: pointer; font-size: 14px; }
.itg-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: #ff791a; flex: none; }
.itg-btn:disabled { opacity: .45; cursor: not-allowed; }
