/* =====================================================
   Showplan – Nächste Sendungen Panel
   /infusions/showplan_next_panel/templates/next_panel.css
   www.krazzfm.com
   ===================================================== */

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

/* ---- Header ---------------------------------------- */
.snp-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 0 14px 0;
    border-bottom: 2px solid rgba(50,205,50,.3);
    margin-bottom: 12px;
}
.snp-header-icon  { font-size: 1.2rem; }
.snp-header-title {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #32cd32;
    flex: 1;
}

/* ---- Sendungs-Karte -------------------------------- */
.snp-show {
    display: flex;
    align-items: stretch;
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,.06);
    transition: border-color .2s;
    position: relative;
}
.snp-show:hover { border-color: rgba(255,255,255,.15); }

.snp-show-live {
    border-color: color-mix(in srgb, var(--show-color) 60%, transparent) !important;
    box-shadow: 0 0 18px color-mix(in srgb, var(--show-color) 25%, transparent);
    animation: snp-live-glow 3s ease-in-out infinite;
}
@keyframes snp-live-glow {
    0%, 100% { box-shadow: 0 0 10px color-mix(in srgb, var(--show-color) 15%, transparent); }
    50%       { box-shadow: 0 0 24px color-mix(in srgb, var(--show-color) 40%, transparent); }
}
.snp-show-past { opacity: .45; }

.snp-color-bar {
    width: 4px;
    min-width: 4px;
    background: var(--show-color, #3a86ff);
    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: #32cd32;
    color: #000;
    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: #000;
    border-radius: 50%;
    animation: snp-glow-dot 2.5s ease-in-out infinite;
}
@keyframes snp-glow-dot {
    0%, 100% { opacity: .5; box-shadow: none; }
    50%       { opacity: 1;  box-shadow: 0 0 5px rgba(0,0,0,.5); }
}

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

/* ---- Zeit ------------------------------------------ */
.snp-show-time {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 3px;
}
.snp-time-start {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.snp-time-sep  { color: #555; font-size: .8rem; }
.snp-time-end  { font-size: .8rem; color: #888; font-variant-numeric: tabular-nums; }

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

/* ---- Host ------------------------------------------ */
.snp-show-host {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .95rem;
    color: #aaa;
    flex-wrap: wrap;
}
.snp-avatar {
    display: none;
}
.snp-genre {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 4px;
    padding: 1px 6px;
    font-size: .68rem;
    color: #bbb;
}

/* ---- Großes Avatar rechts ------------------------- */
.snp-avatar-big {
    width: 96px;
    min-width: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: rgba(0,0,0,.2);
}
.snp-avatar-big img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}

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

/* ---- Footer ---------------------------------------- */
.snp-footer {
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.06);
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.snp-link {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #32cd32;
    text-decoration: none;
    border: 1px solid rgba(50,205,50,.4);
    border-radius: 6px;
    padding: 6px 14px;
    transition: background .15s, border-color .15s, opacity .15s;
    opacity: .8;
}
.snp-link:hover {
    background: rgba(50,205,50,.1);
    border-color: #32cd32;
    opacity: 1;
    text-decoration: none;
}

/* ---- Grußbox-Button in LIVE-Karte ----------------- */
.snp-grussbox-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 6px 14px;
    background: rgba(50,205,50,.15);
    border: 1px solid rgba(50,205,50,.4);
    border-radius: 6px;
    color: #32cd32;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .5px;
    cursor: pointer;
    transition: background .15s, border-color .15s, box-shadow .15s;
    font-family: inherit;
}
.snp-grussbox-btn:hover {
    background: rgba(50,205,50,.25);
    border-color: #32cd32;
    box-shadow: 0 0 10px rgba(50,205,50,.2);
}
