/* =========================================
   RADIO HÁJ ALAP SZÍNPALETTA (VÁLTOZÓK)
   ========================================= */
:root {
    --bg-dark: #050508; /* Az oldal legkülső, sötét háttere */
    --panel-bg: #111216; /* A panelek és sávok sötét háttere */
    --text-light: #e0e0e0; /* Világos szövegszín */
    --neon-blue: #00e5ff; /* Neon kék szín */
    --neon-blue-glow: rgba(0, 229, 255, 0.5); /* Kék ragyogás */
    --neon-yellow: #ffea00; /* Neon sárga szín */
    --neon-yellow-glow: rgba(255, 234, 0, 0.5); /* Sárga ragyogás */
}

/* Alapvető sötét háttér kényszerítése az egész oldalra */
body {
    background-color: var(--bg-dark) !important;
    color: var(--text-light) !important;
    margin: 0;
}
/* =========================================
   ÚJ FEJLÉC ÉS MENÜ STÍLUS
   ========================================= */
.radiohy-top-bar {
    background-color: var(--panel-bg);
    padding: 12px 25px;
    border-bottom: 2px solid var(--neon-blue);
    box-shadow: 0 4px 20px var(--neon-blue-glow);
}

.radiohy-header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    gap: 10px;
}

.radiohy-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.radiohy-nav-logo {
    height: 48px;
    width: auto;
    max-width: 52px;
    object-fit: contain;
}

.brand-title {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--neon-blue);
    text-shadow: 0 0 8px var(--neon-blue-glow);
    line-height: 1.1;
}

.brand-slogan {
    display: block;
    font-size: 0.75rem;
    color: var(--neon-yellow);
    font-style: italic;
}

.radiohy-nav-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.nav-btn:hover {
    background: var(--neon-blue);
    color: var(--bg-dark);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue-glow);
}

.profile-btn {
    background: linear-gradient(135deg, #0055ff, var(--neon-blue));
    border-color: var(--neon-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff !important;
}

.profile-btn img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

/* =========================================
   MOBIL NÉZET (MENÜ ÉS LOGÓ JAVÍTÁS)
   ========================================= */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--neon-blue);
    border-radius: 6px;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 30px;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--neon-blue);
    border-radius: 2px;
}

@media screen and (max-width: 768px) {
    .radiohy-header-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 5px 0;
    }

    .radiohy-brand {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .radiohy-nav-logo {
        height: 44px !important;
        max-width: 48px !important;
        width: auto !important;
    }

    .brand-title { font-size: 1.1rem; }
    .brand-slogan { font-size: 0.7rem; }

    .mobile-menu-toggle {
        display: flex;
        margin: 10px auto 0 auto;
    }

    .radiohy-nav-buttons {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding-top: 15px;
        border-top: 1px solid rgba(0, 229, 255, 0.2);
        margin-top: 10px;
    }

    .radiohy-nav-buttons.active {
        display: flex !important;
    }

    .nav-btn {
        width: 85%;
        text-align: center;
        box-sizing: border-box;
    }

    .radiohy-nav-details {
        width: 85%;
        display: block;
    }

    .radiohy-nav-details summary.nav-btn {
        width: 100%;
        display: block;
    }

    .radiohy-nav-details .radiohy-nav-sub {
        display: none;
        position: static;
        width: 100%;
        min-width: 0;
        margin-top: 8px;
        padding: 6px;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.25);
    }

    .radiohy-nav-details[open] .radiohy-nav-sub {
        display: flex !important;
        flex-direction: column;
        gap: 8px;
    }

    .radiohy-nav-details:not([open]):hover .radiohy-nav-sub {
        display: none !important;
    }

    .nav-btn-sub {
        width: 100%;
        display: block;
        padding: 14px 12px;
        font-size: 15px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(0, 243, 255, 0.25);
    }
}

/* =========================================
   SAJÁT AKCIÓSÁVOK (NEON STÍLUS)
   ========================================= */
.radiohy-action-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.rh-bar {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    border-radius: 25px;
    background: var(--panel-bg);
    border: 1px solid var(--neon-blue);
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    overflow: hidden;
    box-sizing: border-box;
}

.rh-bar:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue-glow);
    color: #fff;
}

.rh-info-bar {
    white-space: nowrap;
    position: relative;
    display: block;
    border-color: var(--neon-yellow); 
}

.rh-info-bar:hover {
    box-shadow: 0 0 15px var(--neon-yellow-glow);
    background: rgba(255, 234, 0, 0.05);
}

.rh-scrolling-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
}

.rh-scrolling-text strong {
    color: var(--neon-yellow);
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.rh-news-bar {
    display: flex;
    white-space: nowrap;
}

.rh-news-bar strong {
    color: var(--neon-blue);
    margin-right: 8px;
}

.rh-news-bar .news-title {
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
    margin-right: 15px;
}

.rh-news-bar .arrow {
    color: var(--neon-yellow);
    font-size: 0.85rem;
    font-weight: bold;
    flex-shrink: 0;
}

.rh-quiz-bar {
    justify-content: center;
    text-align: center;
    border-style: dashed;
}

.rh-quiz-bar strong {
    color: var(--neon-yellow);
    margin: 0 8px;
}

@media screen and (max-width: 768px) {
    .rh-bar {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .rh-news-bar {
        flex-direction: column;
        align-items: flex-start;
        white-space: normal;
    }
    
    .rh-news-bar .news-title {
        margin-bottom: 5px;
    }
    
    .rh-news-bar .arrow {
        align-self: flex-end;
    }
}
/* =========================================
   PANELEK ÉS ALAP ELRENDEZÉS (A blokkok stílusa)
   ========================================= */
.radiohy-main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

.neon-panel {
    background-color: var(--panel-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.neon-panel.highlight {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.neon-panel h2 {
    color: var(--neon-blue);
    margin-top: 0;
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.centered-live-panel {
    text-align: center;
}
.centered-live-panel h2 {
    text-align: center;
}
.radiohy-slider-wrapper {
    width: 100%;
    margin-bottom: 20px;
}
.radiohy-slider-container {
    position: relative;
    width: 100%;
    min-height: 350px;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}
.radiohy-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}
.radiohy-slide.active {
    opacity: 1;
}
.slide-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 8px;
    color: #fff;
}
/* --- Egyedi Neon Bejelentkező Stílus --- */
body.login {
    background: #0a0a0c !important;
    color: #fff !important;
    font-family: inherit;
}
body.login div#login {
    width: 360px;
    padding: 40px 0 0;
}
body.login div#login h1 a {
    background-image: url('https://radiohy.info/wp-content/uploads/2026/08/RADIO-HY-logo-2000x23-1.png') !important;
    background-size: contain;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}
body.login div.login form {
    background: rgba(18, 18, 24, 0.95) !important;
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.15);
    padding: 30px;
}
body.login label {
    color: #a0aec0 !important;
    font-weight: 500;
}
body.login input.input {
    background: #1a1a24 !important;
    border: 1px solid #2d3748 !important;
    color: #fff !important;
    border-radius: 6px;
    padding: 10px !important;
}
body.login input.input:focus {
    border-color: #00f3ff !important;
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.4) !important;
}
body.login .button.button-primary {
    background: #00f3ff !important;
    border: none !important;
    color: #000 !important;
    font-weight: bold !important;
    border-radius: 6px;
    padding: 10px 20px !important;
    height: auto !important;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}
body.login .button.button-primary:hover {
    background: #00c4d0 !important;
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.6);
}
body.login p#nav a, body.login p.backtohome a {
    color: #00f3ff !important;
    text-decoration: none;
}
body.login p#nav a:hover, body.login p.backtohome a:hover {
    text-decoration: underline;
}
/* --- Tökéletesen olvasható Neon Bejelentkező és Regisztrációs Űrlap --- */
body.login {
    background: #0a0a0c !important;
    color: #fff !important;
}
body.login div#login {
    width: 380px;
    padding: 30px 0 0;
}
body.login div#login h1 a {
    background-image: url('https://radiohy.info/wp-content/uploads/2026/08/RADIO-HY-logo-2000x23-1.png') !important;
    background-size: contain;
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}
body.login div.login form {
    background: rgba(18, 18, 24, 0.98) !important;
    border: 1px solid rgba(0, 243, 255, 0.4);
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.2);
    padding: 30px;
}
body.login label {
    color: #00f3ff !important;
    font-weight: 600;
    font-size: 14px;
}
/* A beviteli mezők: világos háttér, sötét és jól olvasható betűszín */
body.login input.input, 
body.login input[type="text"], 
body.login input[type="password"], 
body.login input[type="email"] {
    background: #f7fafc !important;
    border: 1px solid #cbd5e0 !important;
    color: #1a202c !important;
    font-size: 16px !important;
    border-radius: 6px;
    padding: 12px !important;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 15px;
}
body.login input.input:focus {
    border-color: #00f3ff !important;
    background: #fff !important;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5) !important;
    outline: none;
}
/* Gomb dizájn */
body.login .button.button-primary {
    background: #00f3ff !important;
    border: none !important;
    color: #000 !important;
    font-weight: bold !important;
    font-size: 16px !important;
    border-radius: 6px;
    padding: 12px 20px !important;
    height: auto !important;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}
body.login .button.button-primary:hover {
    background: #00c4d0 !important;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.7);
}
/* Linkek a doboz alatt */
body.login p#nav, body.login p.backtohome {
    text-align: center;
}
body.login p#nav a, body.login p.backtohome a, body.login div.login a {
    color: #00f3ff !important;
    text-decoration: none;
    font-weight: 500;
}
body.login p#nav a:hover, body.login p.backtohome a:hover {
    text-decoration: underline;
}
/* Hibaüzenetek vagy regisztrációs figyelmeztetések */
body.login div.message, body.login div.success, body.login p.message {
    background: #1a1a24 !important;
    border-left: 4px solid #00f3ff !important;
    color: #fff !important;
}
/* =========================================
   RADIO HY - VÉGLEGES KOMPAKT LEJÁTSZÓ SÁV
   ========================================= */
.radiohy-compact-bar {
    background: linear-gradient(135deg, #0d0e12, #161821);
    border: 2px solid var(--neon-blue);
    border-radius: 35px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    margin: 16px auto;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.6);
    gap: 12px;
    box-sizing: border-box;
}

/* Lejátszó gomb a logó narancs/sárga árnyalatában */
.compact-play-btn {
    background: linear-gradient(135deg, #ff8c00, #ffb300);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(255, 140, 0, 0.4);
    transition: all 0.3s ease;
}

.compact-play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 0 18px rgba(255, 140, 0, 0.8);
}

/* Most szól szöveg */
.compact-nowplaying {
    color: #fff;
    font-size: 0.95rem;
    flex-grow: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.compact-nowplaying strong { 
    color: #ffb300; /* A zeneszám kiemelése narancs/sárga */
}

/* Hangerő rész */
.compact-volume {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neon-blue);
}

.volume-slider { 
    accent-color: #ff8c00; 
    width: 70px; 
    cursor: pointer;
}

.radiohy-station-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.radiohy-station-tabs::-webkit-scrollbar {
    display: none;
}

.radiohy-station-tab {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.35);
    color: #d8f6ff;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.radiohy-station-tab:hover {
    border-color: var(--neon-blue);
    color: #fff;
}

.radiohy-station-tab.is-active {
    background: linear-gradient(135deg, #ff8c00, #ffb300);
    border-color: transparent;
    color: #111;
    box-shadow: 0 0 10px rgba(255, 140, 0, 0.45);
}

.radiohy-station-single {
    flex-shrink: 0;
}

.radiohy-station-label {
    color: #ffb300;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}
/* =========================================
   RADIO HY - VÉKONYABB INFO SÁV DIZÁJN
   ========================================= */
.radiohy-info-bar {
    background: linear-gradient(135deg, #0d0e12, #161821);
    border: 1.5px solid #ff416c;
    border-radius: 20px;
    padding: 5px 12px;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1000px;
    margin: 8px auto 16px;
    box-shadow: 0 0 15px rgba(255, 65, 108, 0.15), inset 0 0 5px rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 0.85rem;
    overflow: hidden;
    white-space: nowrap;
    box-sizing: border-box;
}

/* Fix bal oldal (INFO + Dátum) */
.info-fixed-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    z-index: 2;
    background: #0d0e12;
    padding-right: 10px;
}

.info-badge {
    background: #ff416c;
    color: #fff;
    padding: 2px 8px; /* Kisebb gomb méret */
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.info-date {
    color: var(--neon-yellow);
    font-weight: bold;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
}

.info-divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 8px;
    flex-shrink: 0;
    z-index: 2;
    background: #0d0e12;
}

/* Futó rész */
.info-ticker-container {
    overflow: hidden;
    width: 100%;
    display: flex;
}

.info-scrolling-content {
    display: inline-block;
    padding-left: 100%;
    animation: tickerScroll 30s linear infinite;
}

.info-custom-text {
    color: #ffffff;
}

@keyframes tickerScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* =========================================
   EGYSÉGES MOBIL NÉzet — TELJES OLDAL
   ========================================= */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: border-box;
}

.radiohy-broadcast-wrap {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 10px;
    overflow: hidden;
}

.radiohy-main {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .radiohy-top-bar {
        padding: 10px 12px;
        position: relative;
        z-index: 10050;
    }

    .radiohy-header-inner {
        max-width: 100%;
        padding: 0;
        position: relative;
        z-index: 10051;
    }

    .radiohy-nav-buttons.active {
        position: relative;
        z-index: 10052;
    }

    .radiohy-broadcast-wrap {
        padding: 0 8px;
        position: relative;
        z-index: 1;
    }

    .radiohy-compact-bar {
        flex-wrap: wrap;
        border-radius: 16px;
        padding: 10px 12px;
        margin: 10px auto;
        gap: 8px;
    }

    .radiohy-station-tabs {
        order: 1;
        flex: 1 1 calc(100% - 48px);
        min-width: 0;
    }

    .compact-play-btn {
        order: 2;
        width: 36px;
        height: 36px;
        font-size: 13px;
        flex-shrink: 0;
    }

    .compact-volume {
        order: 2;
        flex-shrink: 0;
        margin-left: auto;
    }

    .compact-nowplaying {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
        font-size: 0.78rem;
        text-align: left;
        padding-top: 4px;
    }

    .volume-slider {
        width: 52px;
    }

    .radiohy-info-bar {
        border-radius: 14px;
        padding: 6px 8px;
        font-size: 0.72rem;
        margin: 8px auto 12px;
    }

    .info-badge {
        padding: 2px 6px;
        font-size: 0.65rem;
    }

    .info-date {
        font-size: 0.72rem;
    }

    .info-divider {
        margin: 0 4px;
    }

    .radiohy-main {
        margin: 12px auto;
        padding: 0 6px;
        gap: 16px;
    }

    .neon-panel {
        padding: 14px;
    }

    #radiohy-chat-wrapper {
        padding: 6px 0 !important;
    }

    .radiohy-chat-inner {
        border-radius: 10px !important;
    }
}

@media screen and (max-width: 400px) {
    .info-divider {
        display: none;
    }

    .info-fixed-left {
        padding-right: 6px;
    }

    .compact-volume span {
        display: none;
    }

    .volume-slider {
        width: 44px;
    }
}
