/* ============================================================
   Page: Radio Detail – Layout Overrides
============================================================ */

#radio-main-content {
    padding: 0;
}

/* ============================================================
   Hintergrund-Wrapper (Fix: kein Padding, volle Breite)
============================================================ */

#station-bg {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: auto;
    padding: 0; /* FIX: kein Innenabstand, sonst Kasten-Effekt */
    z-index: 0;
}

/* Inhalt bekommt wieder Abstand */
#station-bg .post-wrapper {
    padding: 20px;
}

#station-bg-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

/* ============================================================
   Tabs
============================================================ */

.nav-tabs .nav-link {
    color: #000;
}

.nav-tabs .nav-link.active {
    color: #000;
    font-weight: 600;
}

.nav-tabs .nav-link:hover {
    color: #000;
}

/* ============================================================
   Header-Bar
============================================================ */

.station-header-bar {
    background: rgba(0,0,0,0.35);
    color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
}

.station-header-bar h1 {
    color: #fff;
}

/* ============================================================
   Now Playing – Cover
============================================================ */

.nowplaying-cover img {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform .3s ease;
}

.nowplaying-cover img:hover {
    transform: scale(1.03);
}

/* ============================================================
   Wishbox – Overlay
============================================================ */

.wishbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

/* ============================================================
   Wishbox – Popup (Grundstruktur)
============================================================ */

.wishbox-popup {
    width: 90%;
    max-width: 900px;
    max-height: 90%;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 12px 45px rgba(0,0,0,0.35);
}

/* ============================================================
   Wishbox – Header
============================================================ */

.wishbox-header {
    color: #fff;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wishbox-header h2 {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 600;
}

.wishbox-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

/* ============================================================
   Wishbox – Body
============================================================ */

.wishbox-body {
    flex: 1;
    padding: 25px 28px;
    overflow-y: auto;
    border-radius: 12px;
    margin: 18px;
    box-shadow: 0 4px 22px rgb(165 165 165 / 70%);
	background: rgb(0 0 0 / 60%);
}

.wishbox-body label {
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.wishbox-body .form-control {
    border: 1px solid rgba(0,0,0,0.28);
    border-radius: 8px;
    padding: 10px 12px;
}

.wishbox-body .mb-3 {
    margin-bottom: 1.35rem !important;
}

.wishbox-body p.small {
    color: #444;
}

/* ============================================================
   Wishbox – Footer
============================================================ */

.wishbox-footer {
    padding: 10px 15px;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
}
/* ============================================================
   History Cards
============================================================ */

.history-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-card {
    border-radius: 12px;
    overflow: hidden;
}

.history-cover img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.history-buttons button,
.history-buttons a {
    width: 120px;
}

@media (max-width: 768px) {
    .history-buttons {
        flex-direction: row !important;
        width: 100%;
        justify-content: flex-end;
    }
}
/* ============================================================
   Radio Detail – History Filter (Light Mode)
============================================================ */

.history-filter .filter-input {
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.history-filter .filter-input:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, .25);
}

.history-filter .input-group-text {
    background: #f8f9fa;
    border: none;
    color: #555;
}

.history-filter .input-group-text i {
    font-size: 1.1rem;
}

.history-filter .form-control,
.history-filter .form-select {
    border: none;
    background: transparent;
    box-shadow: none;
}
.date-wrapper {
    position: relative;
}

.date-wrapper::after {
    content: "\F1E2"; /* Bootstrap Icon: calendar-event */
    font-family: "bootstrap-icons";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1.1rem;
    color: #555; /* Light Mode */
}
/* TEAM-CARD */
.team-card {
    transition: transform .2s ease, box-shadow .2s ease;
}
.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
/* Header Layout */
.station-header-bar {
    padding: 12px 18px;
    background: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border);
}

/* Share Icons */
.share-section .share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #fff;
    transition: transform .2s ease, opacity .2s ease;
}

.share-icon.fb { background: #1877f2; }
.share-icon.wa { background: #25d366; }
.share-icon.mail { background: #6c757d; }

.share-icon:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

/* Dark Mode Anpassung */
html[data-theme="dark"] .station-header-bar {
    background: var(--card-bg) !important;
    border-color: var(--border) !important;
}

html[data-theme="dark"] .share-icon.mail {
    background: #888;
}
