/**
 * Public CSS for LurkMode plugin.
 *
 * Styles for the public-facing audio players.
 *
 * @since      1.0.0
 * @package    LurkMode
 */

/* Audio player container */
.lurkmode-audio-player {
    margin: 15px 0;
    max-width: 100%;
}

/* Audio element styling */
.lurkmode-audio-player audio {
    width: 100%;
    max-width: 400px;
    display: block;
}

/* Loading indicator */
.lurkmode-loading {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.lurkmode-loading:before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 8px;
    border: 2px solid #ccc;
    border-top-color: #666;
    border-radius: 50%;
    animation: lurkmode-spin 1s linear infinite;
}

/* Error message */
.lurkmode-error {
    padding: 10px;
    background-color: #fff8f8;
    border: 1px solid #ffdddd;
    border-radius: 4px;
    color: #c00;
    font-size: 14px;
    margin-bottom: 10px;
}

/* Hidden player data */
.lurkmode-player-data {
    display: none;
}

/* Loading animation keyframes */
@keyframes lurkmode-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Responsive styles */
@media screen and (max-width: 600px) {
    .lurkmode-audio-player audio {
        max-width: 100%;
    }
}
