/* RDY.cz — plovoucí tlačítko „Nahlásit chybu / návrh" (beta) */
.fb-fab { position: fixed; right: 18px; bottom: 18px; z-index: 130; display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 13px; border: 1px solid var(--border, #e5e5ea); border-radius: 999px; background: var(--surface, #fff); color: var(--fg, #1d1d1f); font: 600 13.5px/1 inherit; font-family: inherit; cursor: pointer; box-shadow: 0 6px 24px rgba(0,0,0,.14); transition: transform .15s ease, box-shadow .15s ease, bottom .2s ease; }
.fb-fab:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.fb-fab-dot { width: 9px; height: 9px; border-radius: 50%; background: #0071e3; box-shadow: 0 0 0 4px rgba(0,113,227,.18); }
html[data-theme="dark"] .fb-fab-dot { background: #2997ff; box-shadow: 0 0 0 4px rgba(41,151,255,.22); }
.fb-modal { position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center; padding: 16px; }
.fb-modal[hidden] { display: none; }
.fb-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.fb-card { position: relative; width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; background: var(--surface, #fff); color: var(--fg, #1d1d1f); border: 1px solid var(--border, #e5e5ea); border-radius: 22px; padding: 28px 28px 24px; box-shadow: 0 24px 64px rgba(0,0,0,.25); }
.fb-close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--surface-2, #f5f5f7); color: var(--muted, #86868b); font-size: 22px; line-height: 1; cursor: pointer; }
.fb-close:hover { color: var(--fg, #1d1d1f); }
.fb-kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: #0071e3; margin-bottom: 8px; }
html[data-theme="dark"] .fb-kicker { color: #2997ff; }
.fb-card h2 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 8px; }
.fb-lead { margin: 0 0 18px; font-size: 14.5px; color: var(--fg-2, #424245); line-height: 1.5; }
.fb-hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.fb-types { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.fb-type input { position: absolute; opacity: 0; pointer-events: none; }
.fb-type span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border, #e5e5ea); background: var(--surface, #fff); font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--fg-2, #424245); }
.fb-type span i { color: var(--muted, #86868b); font-size: 12px; }
.fb-type input:checked + span { background: var(--fg, #1d1d1f); color: #fff; border-color: var(--fg, #1d1d1f); }
.fb-type input:checked + span i { color: #fff; }
.fb-type input:focus-visible + span { outline: 2px solid #0071e3; outline-offset: 2px; }
.fb-card .field { margin-bottom: 12px; }
.fb-card .field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.fb-card .field label .muted { font-weight: 400; color: var(--muted, #86868b); }
.fb-card textarea, .fb-card input[type="email"] { width: 100%; box-sizing: border-box; padding: 11px 13px; border: 1px solid var(--border, #e5e5ea); border-radius: 12px; background: var(--surface, #fff); color: var(--fg, #1d1d1f); font: inherit; font-size: 14.5px; resize: vertical; }
.fb-card textarea:focus, .fb-card input:focus { outline: none; border-color: #0071e3; box-shadow: 0 0 0 3px rgba(0,113,227,.15); }
.fb-page { font-size: 12px; color: var(--muted, #86868b); margin: 0 0 12px; word-break: break-all; }
.fb-status { display: none; margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; }
.fb-status.error { display: block; background: #fdecec; color: #b3261e; }
.fb-status.info { display: block; background: var(--surface-2, #f5f5f7); color: var(--fg-2, #424245); }
.fb-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.fb-done { text-align: center; padding: 12px 0 4px; }
.fb-done-icon { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: #e8f1fd; color: #0071e3; font-size: 22px; }
.fb-done h3 { margin: 0 0 6px; font-size: 20px; }
.fb-done p { margin: 0 0 16px; color: var(--fg-2, #424245); font-size: 14.5px; }
@media (max-width: 640px) { .fb-card textarea, .fb-card input[type="email"] { font-size: 16px; } .fb-fab-label { display: none; } .fb-fab { padding: 12px; width: 44px; height: 44px; justify-content: center; } .fb-card { padding: 22px 18px 18px; border-radius: 18px; } }
