/* Floating "Recording" pill shown while a feedback screen recording is in
   progress (built on body by feedback-recorder.js, US-757). The Give feedback
   dialog is hidden during capture, so this lives outside any scoped-CSS
   component tree. Chrome draws from --lw-* tokens. */

.fb-rec-pill {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 14px;
    border-radius: 999px;
    background: var(--lw-primary-dark);
    color: var(--lw-white);
    box-shadow: 0 10px 24px rgba(2, 11, 43, 0.28);
    font-family: var(--lw-font-family);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.fb-rec-pill__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--lw-destructive);
    animation: fb-rec-pulse 1.2s ease-in-out infinite;
}

.fb-rec-pill__time {
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.72);
    min-width: 34px;
}

.fb-rec-pill--ending .fb-rec-pill__time {
    color: var(--lw-primary-gold);
}

.fb-rec-pill__stop {
    height: 30px;
    padding: 0 14px;
    border: 0;
    border-radius: 999px;
    background: var(--lw-white);
    color: var(--lw-primary-dark);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.fb-rec-pill__stop:hover {
    background: var(--lw-bg-muted);
}

.fb-rec-pill__stop:focus-visible {
    outline: 2px solid var(--lw-primary-blue);
    outline-offset: 2px;
}

@keyframes fb-rec-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.45; transform: scale(0.8); }
}
