/* FLOATING RECORDING INDICATOR */
.floating-recording {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    padding: 10px 20px;
    color: white;
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 1500;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: all 0.3s;
    user-select: none;
}
.floating-recording.active {
    display: flex;
    animation: floatIn 0.3s ease-out;
}
.floating-recording:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0,0,0,0.4);
}
.floating-recording:active {
    transform: scale(0.98);
}
@keyframes floatIn {
    from { opacity: 0; transform: translateY(20px) scale(0.8); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.floating-rec-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #dc3545;
    position: relative;
    flex-shrink: 0;
}
.floating-rec-indicator.recording::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.4);
    animation: floatPulse 1.2s infinite;
}
.floating-rec-indicator.paused {
    background: #ffc107;
}
.floating-rec-indicator.paused::before {
    display: none;
}
.floating-rec-indicator.error {
    background: #6c757d;
}
.floating-rec-indicator.error::before {
    display: none;
}
@keyframes floatPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}
.floating-rec-time {
    font-size: 18px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.floating-rec-status {
    font-size: 11px;
    opacity: 0.9;
}

/* Hover icon overlay */
.floating-hover-icon {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
.floating-hover-icon i {
    font-size: 24px;
    color: white;
}
.floating-recording:hover .floating-hover-icon {
    opacity: 1;
}
