/* SFA TRANSMISSION PLAYER CSS */
#sfa-player-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #010301;
    border: 1px solid #2bff66;
    padding: 10px 15px;
    font-family: 'Terminal', monospace;
    font-size: 0.75rem;
    color: #2bff66;
    z-index: 9999;
    box-shadow: 0 0 10px rgba(43, 255, 102, 0.2);
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 280px;
    border-radius: 0;
}

#sfa-player-container::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.03), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.03));
    background-size: 100% 4px, 3px 100%;
    z-index: 10000;
    pointer-events: none;
}

.sfa-player-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.sfa-player-title {
    color: #beaa8c; /* --cream */
    font-weight: bold;
    letter-spacing: 1px;
}

.sfa-player-btn {
    background: transparent;
    border: 1px solid #2bff66;
    color: #2bff66;
    padding: 2px 8px;
    font-family: inherit;
    font-size: 0.7rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.sfa-player-btn:hover {
    background: #2bff66;
    color: #010301;
    box-shadow: 0 0 8px rgba(43, 255, 102, 0.5);
}

.sfa-player-btn:focus {
    outline: none;
}

.sfa-player-btn.active {
    background: #2bff66;
    color: #010301;
}

#sfa-player-progress-bar {
    flex-grow: 1;
    height: 4px;
    background: rgba(43, 255, 102, 0.2);
    position: relative;
    cursor: pointer;
}

#sfa-player-progress-fill {
    height: 100%;
    background: #2bff66;
    width: 0%;
    box-shadow: 0 0 5px #2bff66;
}

.sfa-player-time {
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0.8;
}

.sfa-credits-panel {
    border-top: 1px dashed rgba(43, 255, 102, 0.3);
    padding-top: 8px;
    margin-top: 4px;
    font-size: 0.65rem;
    color: #beaa8c;
    display: none;
}

.sfa-credits-panel.visible {
    display: block;
}

/* Pulse animation for connect button */
@keyframes pulse {
    0% { box-shadow: 0 0 5px rgba(43, 255, 102, 0.4); }
    50% { box-shadow: 0 0 15px rgba(43, 255, 102, 0.8); }
    100% { box-shadow: 0 0 5px rgba(43, 255, 102, 0.4); }
}

.sfa-player-pulse {
    animation: pulse 1.5s infinite;
}

@media screen and (max-width: 480px) {
    #sfa-player-container {
        left: 10px;
        right: 10px;
        bottom: 10px;
        min-width: calc(100% - 20px);
    }
}
