/* ==========================================================================
   Radio Schedule Manager — Frontend Styles (Light Theme)
   ========================================================================== */

/* --- On Now Widget --- */

.rsm-on-now {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f7f7f7;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    color: #1a1a1a;
    font-family: inherit;
}

.rsm-on-now__thumbnail {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
}

.rsm-on-now__thumb-img {
    display: block;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
}

.rsm-on-now__badge {
    display: inline-block;
    padding: 4px 10px;
    background: #e53e3e;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 3px;
    white-space: nowrap;
    animation: rsm-pulse 2s ease-in-out infinite;
}

@keyframes rsm-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.rsm-on-now__details {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rsm-on-now__show-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.rsm-on-now__link {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.rsm-on-now__link:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

.rsm-on-now__fallback {
    font-size: 14px;
    color: #6b7280;
}

/* --- Watch Now Widget --- */

.rsm-watch-now {
    background: #f7f7f7;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    overflow: hidden;
    color: #1a1a1a;
    font-family: inherit;
}

/* Responsive 16:9 embed container */
.rsm-watch-now__embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.rsm-watch-now__embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.rsm-watch-now__info {
    padding: 16px 20px;
}

.rsm-watch-now__info-inner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.rsm-watch-now__thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 6px;
    overflow: hidden;
}

.rsm-watch-now__thumb-img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.rsm-watch-now__text {
    flex: 1;
    min-width: 0;
}

.rsm-watch-now__show-name {
    margin: 8px 0 4px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.rsm-watch-now__show-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.rsm-watch-now__show-link:hover {
    text-decoration: underline;
    color: #1d4ed8;
}

.rsm-watch-now__fallback {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* --- Two-column layout --- */

.rsm-watch-now--two-column {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .rsm-watch-now--two-column {
        grid-template-columns: 2fr 1fr;
    }

    .rsm-watch-now--two-column .rsm-watch-now__info {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 24px;
    }
}

/* --- One-column layout (default, stacked) --- */

.rsm-watch-now--one-column {
    display: block;
}
