/* « Message en haut du menu » card of the QR menu tab (admin/js/dashboard-notice.js). */
.notice-admin { display: grid; gap: 14px; }
.notice-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.notice-head h3 { margin: 0 0 4px; }
.notice-head p { margin: 0; }
.notice-state { padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(160,180,215,.3); font-size: 13px; font-weight: 600; white-space: nowrap; }
.notice-state.is-on { background: rgba(94,211,154,.15); border-color: #5ed39a; color: #5ed39a; }
.notice-form { display: grid; gap: 12px; }
.notice-switch { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.notice-switch input { width: 20px; height: 20px; }
.notice-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.notice-tabs button { font: inherit; font-size: 13px; font-weight: 600; color: inherit; background: transparent; border: 1px solid rgba(160,180,215,.3); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.notice-tabs button[aria-selected="true"] { background: #f5d000; border-color: #f5d000; color: #111; }
.notice-text { display: grid; gap: 5px; font-size: 13px; color: var(--muted, #9aa3b5); }
.notice-text textarea { font: inherit; font-size: 14px; color: inherit; background: rgba(160,180,215,.08); border: 1px solid rgba(160,180,215,.28); border-radius: 10px; padding: 9px 11px; resize: vertical; min-width: 0; }
.notice-preview { border-radius: 12px; overflow: hidden; border: 2px solid #111; transition: opacity .2s; }
.notice-preview.is-off { opacity: .35; }
.notice-preview-top { display: block; background: #111; color: #fff3d0; font-weight: 800; letter-spacing: .08em; font-size: 12px; padding: 8px 12px; }
.notice-band { margin: 0; background: #c8141f; color: #fffaf0; border-top: 3px solid #111; padding: 8px 12px; font-weight: 700; font-size: 13px; line-height: 1.3; text-align: center; }
.notice-text[hidden] { display: none; }
