/* Now Playing Widget Styles */
.rteh-now-playing-container {
    background: linear-gradient(135deg, #044aad 15%, #fdd01A 100%);
    color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    font-family: sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.rteh-show-info h4.rteh-current-show {
    margin: 0 0 5px 0;
    font-size: 1.0em;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.rteh-show-info p.rteh-dj-name {
    margin: 0 0 10px 0;
    font-style: italic;
    opacity: 0.9;
}

/* ======================================================== */
/* --- THIS IS THE CORRECTED RULE ---                       */
/* ======================================================== */
.rteh-show-info p.rteh-show-time {
    margin: 0;
    font-size: 1em;
    font-family: monospace;
    font-weight: bold;
    white-space: nowrap; /* This prevents the time from breaking into two lines */
    min-width: 100px;    /* ADDED: Prevents the element from getting too narrow */
    text-align: center;  /* ADDED: Centers the time within its available space */
}
/* ======================================================== */
/* --- END OF CORRECTION ---                                */
/* ======================================================== */

.rteh-upcoming-show {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 15px;
    padding-top: 10px;
}
.rteh-upcoming-show p {
    margin: 0;
    font-size: 0.9em;
}
.rteh-off-air p {
    margin: 0;
    font-weight: bold;
    font-size: 1.0em;
    text-align: center;
}

/* Full Schedule Styles */
.rteh-full-schedule-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}
.rteh-schedule-loading {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #666;
}
.rteh-schedule-day {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}
.rteh-day-header {
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
}
.rteh-shows-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rteh-show-item {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}
.rteh-show-item:hover {
    background-color: #f9f9f9;
}
.rteh-show-item:last-child {
    border-bottom: none;
}
.rteh-show-info {
    flex: 1;
}
.rteh-show-name {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 5px 0;
    color: #2c3e50;
}
.rteh-show-dj {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}
.rteh-show-time {
    font-size: 10px;
    color: #34495e;
    background: #ecf0f1;
    padding: 5px 10px;
    border-radius: 4px;
    min-width: 100px;
    text-align: center;
}

/* --- THIS IS THE NEW HIGHLIGHTING STYLE --- */
.rteh-show-item.rteh-is-live {
    background-color: #e8f5e8; /* Light green background */
    border-left: 4px solid #27ae60; /* Green left border */
    padding-left: 16px;
}
.rteh-show-item.rteh-is-live .rteh-show-time {
    background: #27ae60; /* Dark green time box */
    color: white;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .rteh-show-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .rteh-show-time {
        align-self: flex-start;
    }
    .rteh-full-schedule-container {
        padding: 10px;
    }
}