/* ===================================== */
/* OWF RECENTLY PLAYED - MAIN WIDGET STYLES */
/* ===================================== */

.owf-tracks {
    background: linear-gradient(180deg, rgba(74, 143, 168, 0.15) 0%, rgba(74, 143, 168, 0.05) 100%);
    border: 2px solid #4a8fa8;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Courier New', monospace;
    color: #4a8fa8;
    box-shadow: 0 0 20px rgba(74, 143, 168, 0.3);
}

.owf-now {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(74, 143, 168, 0.3);
}

.owf-album-art-main {
    width: 100%;
    max-width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    display: block;
    border: 2px solid #4a8fa8;
    border-radius: 4px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.3);
}

.owf-artist {
    font-size: 18px;
    font-weight: bold;
    color: #4a8fa8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-align: center;
}

.owf-title {
    font-size: 14px;
    color: #6ba3bd;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-align: center;
}

/* Progress Bar Styles */
.owf-progress-container {
    margin: 15px 0;
}

.owf-progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #4a8fa8;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.owf-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4a8fa8 0%, #6ba3bd 100%);
    width: 0%;
    transition: width 1s linear;
    box-shadow: 0 0 10px rgba(74, 143, 168, 0.5);
}

.owf-progress-time {
    font-size: 11px;
    color: #6ba3bd;
    text-align: center;
    letter-spacing: 1px;
}

/* Play Button Styles */
.owf-play-button {
    width: 100%;
    background: rgba(74, 143, 168, 0.1);
    border: 2px solid #4a8fa8;
    color: #4a8fa8;
    padding: 12px 24px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.owf-play-button:hover {
    background: rgba(74, 143, 168, 0.2);
    box-shadow: 0 0 15px rgba(74, 143, 168, 0.4);
    transform: translateY(-2px);
}

.owf-play-button:active {
    transform: translateY(0);
}

.owf-play-icon {
    display: inline-block;
    margin-right: 8px;
}

/* Recently Played Section */
.owf-recent {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(74, 143, 168, 0.3);
}

.owf-label {
    font-size: 12px;
    font-weight: bold;
    color: #4a8fa8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.owf-song-small {
    font-size: 12px;
    color: #6ba3bd;
    margin-bottom: 8px;
    padding-left: 10px;
    border-left: 2px solid rgba(74, 143, 168, 0.3);
}

.owf-song-small:last-child {
    margin-bottom: 0;
}

/* Stream Status */
.owf-stream-status {
    font-size: 11px;
    font-weight: bold;
    text-align: center;
    padding: 8px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none !important;
    list-style-type: none !important;
}

.owf-stream-status::before,
.owf-stream-status::after {
    display: none !important;
    content: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
}

.owf-status-indicator {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50%;
    display: inline-block !important;
    flex-shrink: 0;
    list-style: none !important;
}

.owf-status-indicator::before,
.owf-status-indicator::after {
    display: none !important;
    content: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* Kill any parent list styling that might create dots */
.owf-tracks ul,
.owf-tracks li,
.owf-tracks ol {
    list-style: none !important;
    list-style-type: none !important;
}

.owf-tracks ul::before,
.owf-tracks li::before,
.owf-tracks ol::before {
    display: none !important;
    content: none !important;
}

.owf-status-live {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff0000;
    color: #ff0000;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.3);
}

.owf-status-live .owf-status-indicator {
    background: #ff0000;
    animation: owfPulse 2s ease-in-out infinite;
}

.owf-status-idle {
    background: rgba(74, 143, 168, 0.1);
    border: 1px solid #4a8fa8;
    color: #4a8fa8;
    box-shadow: 0 0 10px rgba(74, 143, 168, 0.3);
}

.owf-status-idle .owf-status-indicator {
    background: #4a8fa8;
    animation: owfPulseSlow 3s ease-in-out infinite;
}

.owf-status-offline {
    background: rgba(128, 128, 128, 0.1);
    border: 1px solid #666666;
    color: #666666;
    box-shadow: 0 0 10px rgba(102, 102, 102, 0.3);
}

.owf-status-offline .owf-status-indicator {
    background: #666666;
    opacity: 0.5;
}

@keyframes owfPulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 8px currentColor;
    }
    50% {
        opacity: 0.4;
        box-shadow: 0 0 2px currentColor;
    }
}

@keyframes owfPulseSlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .owf-tracks {
        padding: 15px;
    }

    .owf-album-art-main {
        max-width: 100px;
        height: 100px;
    }

    .owf-artist {
        font-size: 16px;
    }

    .owf-title {
        font-size: 13px;
    }

    .owf-play-button {
        font-size: 13px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .owf-album-art-main {
        max-width: 90px;
        height: 90px;
    }

    .owf-artist {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .owf-title {
        font-size: 12px;
    }

    .owf-play-button {
        font-size: 12px;
        padding: 8px 16px;
        letter-spacing: 1px;
    }

    .owf-song-small {
        font-size: 11px;
    }
}
