/* Radio Menu Container - keine Einschränkungen, damit .menu-container volle Höhe hat */
.radio-menu {
    position: static;
}

/* Radio Toggle Button - bewegt sich mit dem Menü (identisch zum Favorites Toggle) */
#menuToggle.menu-open {
    left: 300px; /* Breite des Menüs */
}

#menuToggle {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(54, 87, 130, 0.8);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    z-index: 1000;
    border-radius: 0 8px 8px 0; /* Abgerundete Ecken rechts */
    transition: left 0.3s ease;
}

#menuToggle:hover {
    transform: translateY(-50%);
}

.hamburger {
    position: relative;
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
    margin: 0 auto;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, 0.7);  /* Dunklere Striche */
    transition: all 0.2s ease-in-out;
}

.hamburger span {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    top: 4px;
}

.hamburger::after {
    bottom: 4px;
}

/* Hamburger Animation - einfacher, ohne Bewegung */
.menu-open .hamburger span {
    display: none;
}

.menu-open .hamburger::before {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.menu-open .hamburger::after {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.menu-container {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100vh;
    /* Identisch zum Favoriten-Menü - Liquid Glass Effekt */
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(0, 0, 0, 0.2) 100%
    );
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 900;
    width: 300px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Mehrschichtige Schatten für Tiefe */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    /* Subtiler Rand für Reflektion */
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-open + .menu-container {
    transform: translateX(0);
}

#menuOptions {
    list-style: none;
    padding: 0;
    margin: 0;
    color: white;
    max-height: calc(100vh - 200px); /* Höhe abzüglich Header und Buttons */
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

#menuOptions::-webkit-scrollbar {
    width: 6px;
}

#menuOptions::-webkit-scrollbar-track {
    background: transparent;
}

#menuOptions::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 3px;
}

#menuOptions li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px; /* Mindesthöhe für vertikale Zentrierung */
}

#menuOptions li:hover {
    background: rgba(255, 255, 255, 0.1);
}

#menuOptions li:last-child {
    border-bottom: none;
}

.station-name {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding-right: 10px;
    font-size: 14px;
    font-weight: 500;
}

.station-wave {
    opacity: 0.7;
    transition: opacity 0.2s ease;
    margin-left: 10px;
}

#menuOptions li:hover .station-wave {
    opacity: 1;
}
