/* The device restart setting (spec 2026-10-01, mockup 019 A). Every class starts with "rs-", except
   the modal's accept note, which belongs to Modal and is first used by the restart window. */

/* The picker. */
.rs-picker { font-size: 13px; color: #211C33; }
.rs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 14px; }
.rs-label { display: block; flex-basis: 100%; margin: 0; font-size: 12px; font-weight: 700; }
.rs-muted { color: #6F6883; font-size: 12px; }
.rs-time, .rs-day-of-month { width: 130px; }

/* The frequency switch, drawn as the supplement type picker is. */
.rs-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: 999px; background: #F3F1F8; }
.rs-seg.is-empty { box-shadow: inset 0 0 0 1.5px #CFC3E6; }
.rs-seg button { border: 0; background: transparent; padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #5A4F75; cursor: pointer; }
.rs-seg button:hover { color: #432F8D; }
.rs-seg button.is-on { background: #fff; color: #432F8D; box-shadow: 0 2px 6px rgba(67, 47, 141, .15); }

/* Pn–Nd; Saturday and Sunday in the accent colour. */
.rs-days { display: flex; flex-wrap: wrap; gap: 6px; }
.rs-days button { width: 40px; height: 36px; border: 0; border-radius: 999px; background: #F3F1F8; color: #5A4F75; font-size: 12px; font-weight: 700; cursor: pointer; }
.rs-days button.is-weekend { color: #91268F; }
.rs-days button.is-on { background: #432F8D; color: #fff; }

.rs-seg button:focus-visible, .rs-days button:focus-visible { outline: 2px solid #E46BE0; outline-offset: 2px; }

/* "Najbliższy restart: …", with a power icon. */
.rs-next { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #F1ECF8; color: #432F8D; font-size: 13px; }
.rs-next b { font-weight: 800; }
.rs-next::before {
    content: ""; flex: 0 0 14px; height: 14px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 3v8M6.4 6.6a8 8 0 1 0 11.2 0'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 3v8M6.4 6.6a8 8 0 1 0 11.2 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Hints: an older application (warn), older but daily (info), Nigdy (never). The icon is the
   ::before, so the text stays one span. */
.rs-hint { display: flex; gap: 10px; align-items: flex-start; max-width: 640px; margin-top: 12px; padding: 10px 14px; border-radius: 12px; font-size: 12.5px; line-height: 1.5; }
.rs-hint b { font-weight: 700; }
.rs-hint::before { content: ""; flex: 0 0 16px; height: 16px; margin-top: 2px; -webkit-mask: var(--rs-icon) center / contain no-repeat; mask: var(--rs-icon) center / contain no-repeat; }
.rs-hint--warn { background: #FDF3E7; }
.rs-hint--warn::before {
    background: #A56B00;
    --rs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l9.5 17h-19zM12 10v4.5M12 17.5v.3'/%3E%3C/svg%3E");
}
.rs-hint--info { background: #EEF1FB; }
.rs-hint--info::before {
    background: #3B4C9B;
    --rs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM12 11v6M12 7.5v.5'/%3E%3C/svg%3E");
}
.rs-hint--never { background: #F7F5FB; border: 1.5px dashed #CFC3E6; }
.rs-hint--never::before {
    background: #5A2E8E;
    --rs-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM10 9v6M14 9v6'/%3E%3C/svg%3E");
}

/* The note on updates, always under the setting but for Nigdy. */
.rs-aside { display: flex; gap: 6px; align-items: flex-start; max-width: 640px; margin-top: 12px; color: #6F6883; font-size: 12px; line-height: 1.5; }

/* The bulk window: the count, and the current settings with how many devices have each. */
.rs-count { margin-bottom: 14px; font-size: 14px; }
.rs-count b { font-weight: 800; }
.rs-mix { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 16px; }
.rs-mix span { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border-radius: 999px; background: #F7F5FB; box-shadow: inset 0 0 0 1px #E6DDF3; font-size: 12px; font-weight: 600; }
.rs-mix i { font-style: normal; font-weight: 800; color: #432F8D; background: #fff; border-radius: 999px; padding: 1px 8px; }

/* The one-line setting in the /configuration column and the device details. */
.rs-off { color: #8C86A0; font-weight: 600; }
.rs-chip { display: flex; width: max-content; margin-top: 2px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.rs-chip--warn { background: #FDF3E7; color: #8A5A00; }

/* Modal's AcceptNote: why the accept button is disabled, beside it. */
.modal-accept-note { margin-right: 8px; color: #6F6883; font-size: 12px; }
