/* =====================================================
   Showplan – Nächste Sendungen Panel (Bootstrap 4 Standard)
   /infusions/showplan_next_panel/templates/next_panel.css
   www.krazzfm.com
   ===================================================== */

.snp-panel {
    font-family: 'Segoe UI', system-ui, sans-serif;
    color: #212529;
    width: 100%;
}

/* ---- Header ---------------------------------------- */
.snp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 14px 0;
    border-bottom: 2px solid #007bff;
    margin-bottom: 12px;
}
.snp-header-icon  { font-size: 1.2rem; }
.snp-header-title {
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #007bff;
    flex: 1;
}

/* ---- Sendungs-Karte -------------------------------- */
.snp-show {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: .25rem;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid #dee2e6;
    transition: border-color .2s, box-shadow .2s;
    position: relative;
}
.snp-show:hover {
    border-color: #adb5bd;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.snp-show-live {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 2px rgba(40,167,69,.2);
    animation: snp-live-glow 3s ease-in-out infinite;
}
@keyframes snp-live-glow {
    0%, 100% { box-shadow: 0 0 0 2px rgba(40,167,69,.2); }
    50%       { box-shadow: 0 0 0 4px rgba(40,167,69,.3); }
}
.snp-show-past { opacity: .45; }

.snp-color-bar {
    width: 4px;
    min-width: 4px;
    background: var(--show-color, #007bff);
    flex-shrink: 0;
}

.snp-show-inner {
    flex: 1;
    padding: 10px 12px;
    min-width: 0;
}

/* ---- Live Badge ------------------------------------ */
.snp-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #dc3545;
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.snp-live-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    animation: snp-glow-dot 2.5s ease-in-out infinite;
}
@keyframes snp-glow-dot {
    0%, 100% { opacity: .5; }
    50%       { opacity: 1; }
}

/* ---- Datum-Label ----------------------------------- */
.snp-show-date-label {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: #fd7e14;
    margin-bottom: 2px;
}

/* ---- Zeit ------------------------------------------ */
.snp-show-time {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 3px;
}
.snp-time-start {
    font-size: 1.6rem;
    font-weight: 700;
    color: #212529;
    font-variant-numeric: tabular-nums;
}
.snp-time-sep  { color: #adb5bd; font-size: 1.4rem; }
.snp-time-end  { font-size: 1.4rem; color: #6c757d; font-variant-numeric: tabular-nums; }

/* ---- Titel ----------------------------------------- */
.snp-show-title {
    font-size: 1.52rem;
    font-weight: 600;
    color: var(--show-color, #007bff);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.snp-badge-recurring,
.snp-badge-grussbox {
    font-size: 1.5rem;
    opacity: .7;
    margin-left: 3px;
}

/* ---- Host ------------------------------------------ */
.snp-show-host {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.4rem;
    color: #6c757d;
    flex-wrap: wrap;
}
.snp-avatar {
    display: none;
}
.snp-genre {
    background: #e9ecef;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 1.35rem;
    color: #007bff;
}

/* ---- Großes Avatar rechts ------------------------- */
.snp-avatar-big {
    width: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: #f8f9fa;
    border-left: 1px solid #dee2e6;
}
.snp-avatar-big img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

/* ---- Leer ------------------------------------------ */
.snp-empty {
    text-align: center;
    padding: 30px 10px;
    color: #6c757d;
    font-size: .88rem;
    font-style: italic;
}

/* ---- Footer ---------------------------------------- */
.snp-footer {
    padding-top: 10px;
    border-top: 1px solid #dee2e6;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.snp-link {
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #007bff;
    text-decoration: none;
    border: 1px solid #007bff;
    border-radius: .25rem;
    padding: 6px 14px;
    transition: background .15s, color .15s;
    opacity: .8;
}
.snp-link:hover {
    background: #007bff;
    color: #fff;
    opacity: 1;
    text-decoration: none;
}

/* ---- Grußbox-Button in LIVE-Karte ----------------- */
.snp-grussbox-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    background: #fff;
    border: 1px solid #007bff;
    border-radius: .25rem;
    color: #007bff;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background .15s, color .15s;
    font-family: inherit;
}
.snp-grussbox-btn:hover {
    background: #007bff;
    color: #fff;
}
