/* radar/demo/demo.css - the frame of the public Radar demo (radar/demo.asp). The screens themselves use radar.css. */
html, body { margin: 0; padding: 0; }
body.rdm-body { background: #eef1f6; font-family: Heebo, Arial, sans-serif; color: #1b2436; }
.rdm-strip { position: sticky; top: 0; z-index: 900; background: linear-gradient(90deg, #0f1b33, #1f3157); color: #f6ecd0; text-align: center; font-size: 14px; font-weight: 700; padding: 10px 14px; line-height: 1.5; }
.rdm-strip a { color: #f0c75a; text-decoration: underline; margin-inline-start: 10px; }
.rdm-wrap { max-width: 1260px; margin: 0 auto; padding: 16px 14px 60px; }
.rdm-brand { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.rdm-logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 22px; color: #0f1b33; text-decoration: none; }
.rdm-logo em { font-style: normal; color: #b8901f; }
.rdm-back { font-size: 14px; font-weight: 700; color: #475569; text-decoration: none; }
.rdm-back:hover { color: #0f1b33; }
.rdm-head { margin: 6px 0 14px; }
.rdm-head h1 { margin: 0 0 4px; font-size: 26px; color: #0f1b33; }
.rdm-head p { margin: 0; color: #64748b; font-size: 15px; line-height: 1.7; }
.rdm-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.rdm-tab { cursor: pointer; border: 1px solid #dfe3ec; background: #fff; color: #5b6475; font: 700 14.5px Heebo, Arial, sans-serif; padding: 9px 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; transition: .2s ease; }
.rdm-tab i { font-size: 17px; }
.rdm-tab.on { background: #0f1b33; color: #fff; border-color: #0f1b33; box-shadow: 0 8px 20px rgba(15,27,51,.25); }
.rdm-tab.on i { color: #f0c75a; }
.rdm-frame { background: #f6f7fa; border: 1px solid #e3e6ee; border-radius: 20px; box-shadow: 0 14px 38px rgba(15,27,51,.10); padding: 18px; min-height: 520px; }
.rdm-ctaRow { text-align: center; margin-top: 18px; }
.rdm-cta { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; padding: 14px 34px; border-radius: 999px; font-weight: 800; font-size: 17px; color: #0f1b33; background: #d4a72c; box-shadow: 0 12px 26px rgba(212,167,44,.35); }
.rdm-toast { position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 20px); background: #1b2436; color: #fff; padding: 12px 20px; border-radius: 14px; font-size: 14.5px; font-weight: 700; box-shadow: 0 14px 34px rgba(0,0,0,.28); opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 1200; max-width: 92vw; text-align: center; }
.rdm-toast.on { opacity: 1; transform: translate(-50%, 0); }
/* demo-only pieces inside the screens */
.rd .rdm-stage { display: inline-block; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; white-space: nowrap; }
.rd .rdm-stage.s1 { background: #e8f0fe; color: #1d4ed8; } .rd .rdm-stage.s2 { background: #fef3c7; color: #92400e; }
.rd .rdm-stage.s3 { background: #ede9fe; color: #5b21b6; } .rd .rdm-stage.s4 { background: #dcfce7; color: #166534; }
.rd .rdm-when { font-weight: 700; color: #0f1b33; } .rd .rdm-when.soon { color: #b42318; }
.rd .rdm-alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rd .rdm-alerts li { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--rd-line); border-radius: 12px; padding: 12px 14px; }
.rd .rdm-alerts li i { flex: none; width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: #f6ecd0; color: #0f1b33; }
.rd .rdm-alerts li b { display: block; font-size: 15px; } .rd .rdm-alerts li span { font-size: 13.5px; color: var(--rd-mut); }
.rd .rdm-alerts li small { margin-inline-start: auto; font-size: 12.5px; color: var(--rd-mut); white-space: nowrap; }
.rd .rdm-rephead { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
.rd .rdm-rephead h2 { margin: 0; font-size: 22px; } .rd .rdm-rephead p { margin: 2px 0 0; color: var(--rd-mut); font-size: 14px; }
.rd .rdm-gauge { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.rd .rdm-gauge .t { flex: 1; height: 10px; border-radius: 99px; background: linear-gradient(90deg, #16a34a, #eab308 55%, #dc2626); position: relative; }
.rd .rdm-gauge .t i { position: absolute; top: -4px; width: 4px; height: 18px; background: #0f1b33; border-radius: 2px; }
.rd .rdm-cmp td.best { font-weight: 800; color: var(--rd-ok); }
/* English: the Radar screens are written right-to-left */
html[dir="ltr"] .rd, html[dir="ltr"] .rd.rd-main { direction: ltr; text-align: left; }
html[dir="ltr"] .rd .rd-tbl th { text-align: left; }
@media (max-width: 640px) { .rdm-head h1 { font-size: 20px; } .rdm-tab { padding: 8px 12px; font-size: 13px; } .rdm-frame { padding: 10px; border-radius: 14px; } }
@media (prefers-reduced-motion: reduce) { .rdm-toast, .rdm-tab { transition: none; } }
