/* =============================================
   EASYWAY - HEADER.CSS (RESPONZÍVNA VERZIA)
   VERZIA: 188.3.0 (Tmavý režim - header pôvodná tmavá farba, footer svetlejšia)
   ============================================= */

:root {
    --primary-color: #1a2b6e;
    --primary-dark: #0d1a4d;
    --primary-light: #4a64d4;
    --white: #ffffff;
    --radius-sm: 12px;
    --radius-xs: 8px;
    --radius-md: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-color-primary: #4a64d4;

    --logo-height-desktop: 160px;
    --logo-height-tablet: 130px;
    --logo-height-mobile: 90px;
    --logo-height-small: 70px;
    --logo-margin-top: 20px;
    --logo-padding-vertical: 10px;
    --logo-margin-bottom: 30px;
    --header-margin-top: 25px;
    --userinfo-margin-top: -3px;
    --header-nav-height: 105px;
    --header-nav-height-mobile: 90px;
    --userinfo-height: 60px;
    --userinfo-height-mobile: 60px;

    --header-max-width: 1400px;
    --header-padding-x: 30px;
}

/* =============================================
   HLAVNÝ WRAPPER - CENTROVANÝ
   ============================================= */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: transparent !important;
    transition: all 0.3s ease-in-out;
    box-shadow: none !important;
    width: 100%;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =============================================
   LOGO KONTAJNER - BEZ HORNÉHO BIELÉHO RÁMU
   ============================================= */
.logo-container {
    text-align: center;
    margin-top: var(--logo-margin-top);
    margin-bottom: var(--logo-margin-bottom);
    padding: var(--logo-padding-vertical) 0;
    background: transparent !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: var(--logo-height-desktop);
    transition:
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        margin-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: auto;
    width: 100%;
    will-change: max-height, padding, margin-bottom;
}

.logo-container.logo-hidden {
    max-height: 0;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.2s ease,
        margin-top 0.2s ease,
        margin-bottom 0.2s ease,
        visibility 0.2s ease;
    will-change: opacity;
}

.logo-container img {
    display: block;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
    height: var(--logo-height-desktop);
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    opacity: 1;
}

/* TABLET (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .logo-container {
        max-height: var(--logo-height-tablet);
    }
    .logo-container img {
        height: var(--logo-height-tablet);
    }
}

/* MOBIL (480px - 768px) */
@media (max-width: 768px) {
    .logo-container {
        max-height: var(--logo-height-mobile);
    }
    .logo-container img {
        height: var(--logo-height-mobile);
    }
}

/* MALÝ MOBIL (do 480px) */
@media (max-width: 480px) {
    .logo-container {
        max-height: var(--logo-height-small);
    }
    .logo-container img {
        height: var(--logo-height-small);
    }
}

/* =============================================
   TOP BAR - CELÁ ŠÍRKA OKNA (OD OKRAJA PO OKRAJ)
   ============================================= */
.top-bar {
    position: relative;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    height: 20px;
    background: transparent !important;
    border-top: 3px solid #ffffff;
    border-bottom: none;
    border-left: none;
    border-right: none;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    pointer-events: none;
}

/* 🔥 Keď je logo skryté, top bar zmizne */
.logo-container.logo-hidden ~ .top-bar,
body.logo-hidden .top-bar {
    opacity: 0 !important;
    visibility: hidden !important;
    border-top: none !important;
}

/* =============================================
   SITE HEADER - PRECHODOVÝ STAV (KEĎ JE LOGO SKRYTÉ)
   ============================================= */
.site-header {
    background: var(--header-solid-color) !important;
    width: calc(100% - (var(--header-padding-x) * 2));
    max-width: var(--header-max-width);
    position: relative !important;
    border-top: none !important;
    border-bottom: 4px solid #ffffff;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    transition:
        transform 0.3s ease,
        opacity 0.3s ease,
        visibility 0.3s ease,
        margin 0.3s ease,
        width 0.3s ease,
        border-top 0.2s ease,
        border-radius 0.2s ease;
    backdrop-filter: blur(0px);
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 0;
    pointer-events: auto;
    margin-top: var(--header-margin-top);
    margin-bottom: 0;
    will-change: transform, opacity;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* 🔥 Keď je logo skryté, panel dostane horný biely rám a zaoblené horné rohy, margin-top = 0 */
.site-header.logo-hidden-state {
    border-top: 3px solid #ffffff !important;
    margin-top: 0 !important;
    border-radius: var(--radius-md) var(--radius-md) var(--radius-md) var(--radius-md) !important;
}

/* 🔥 Zabezpečenie že panel nemá horný rám keď je logo viditeľné */
.site-header:not(.logo-hidden-state) {
    border-top: none !important;
}

.site-header::before,
.site-header::after {
    display: none !important;
    content: none !important;
}

/* Šírka pre väčšie obrazovky */
@media (min-width: 1400px) and (max-width: 1599px) {
    :root {
        --header-max-width: 1300px;
        --header-padding-x: 30px;
    }
}
@media (min-width: 1600px) and (max-width: 1919px) {
    :root {
        --header-max-width: 1500px;
        --header-padding-x: 40px;
    }
}
@media (min-width: 1920px) and (max-width: 2559px) {
    :root {
        --header-max-width: 1800px;
        --header-padding-x: 50px;
    }
}
@media (min-width: 2560px) {
    :root {
        --header-max-width: 2400px;
        --header-padding-x: 60px;
    }
}

/* Responzívne šírky pre .site-header */
@media (max-width: 1400px) {
    .site-header {
        width: calc(100% - 60px);
        max-width: 1200px;
    }
}
@media (max-width: 1200px) {
    .site-header {
        width: calc(100% - 60px);
        max-width: 1100px;
    }
}
@media (max-width: 1024px) {
    .site-header {
        width: calc(100% - 60px);
        max-width: none;
    }
}
@media (max-width: 900px) {
    .site-header {
        width: calc(100% - 40px);
    }
}
@media (max-width: 768px) {
    .site-header {
        width: calc(100% - 30px);
    }
    .site-header nav {
        padding: 20px 15px;
        min-height: 90px;
    }
}
@media (max-width: 576px) {
    .site-header {
        width: calc(100% - 20px);
    }
}
@media (max-width: 480px) {
    .site-header {
        width: calc(100% - 16px);
    }
    .site-header nav {
        padding: 16px 12px;
        min-height: 75px;
    }
}
@media (max-width: 360px) {
    .site-header {
        width: calc(100% - 10px);
    }
}

.site-header.header-hidden {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.site-header.logo-hidden-state {
    margin-top: 0 !important;
}

.site-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 25px;
    gap: 28px;
    flex-wrap: wrap;
    min-height: 105px;
    position: relative;
}

/* =============================================
   NAVIGAČNÉ TLAČIDLÁ (DESKTOP)
   ============================================= */
.nav-center {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    flex-wrap: wrap;
    justify-content: center !important;
}

@media (max-width: 1200px) {
    .nav-center {
        gap: 25px;
    }
    .nav-link {
        padding: 12px 22px;
        font-size: 16px;
        min-width: 100px;
        height: 50px;
        transform: translateY(-15px);
    }
}
@media (max-width: 1024px) {
    .nav-center {
        gap: 20px;
    }
    .nav-link {
        padding: 10px 18px;
        font-size: 15px;
        min-width: 90px;
        height: 46px;
        transform: translateY(-15px);
    }
}
@media (max-width: 900px) {
    .nav-center {
        display: none !important;
    }
}

.nav-link {
    color: #ffffff !important;
    text-decoration: none;
    padding: 14px 28px;
    margin: 0 4px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    font-weight: 600;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.7);
    font-size: 18px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 56px;
    transform: translateY(-15px);
    box-shadow:
        0 0 5px rgba(96, 165, 250, 0.9),
        0 0 10px rgba(96, 165, 250, 0.7),
        0 0 20px rgba(96, 165, 250, 0.5),
        0 0 40px rgba(96, 165, 250, 0.3),
        0 0 60px rgba(96, 165, 250, 0.15),
        0 0 80px rgba(59, 130, 246, 0.1);
    text-shadow:
        0 0 3px rgba(147, 197, 253, 0.9),
        0 0 6px rgba(147, 197, 253, 0.7),
        0 0 10px rgba(147, 197, 253, 0.5),
        0 0 15px rgba(147, 197, 253, 0.3),
        0 0 25px rgba(96, 165, 250, 0.2);
}

.nav-link:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: translateY(-12px);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 1);
    font-size: 20px;
    box-shadow:
        0 0 8px rgba(96, 165, 250, 1),
        0 0 15px rgba(96, 165, 250, 0.9),
        0 0 30px rgba(96, 165, 250, 0.7),
        0 0 50px rgba(96, 165, 250, 0.5),
        0 0 70px rgba(96, 165, 250, 0.3),
        0 0 90px rgba(59, 130, 246, 0.2);
    text-shadow:
        0 0 5px rgba(147, 197, 253, 1),
        0 0 10px rgba(147, 197, 253, 0.9),
        0 0 15px rgba(147, 197, 253, 0.7),
        0 0 25px rgba(147, 197, 253, 0.5),
        0 0 35px rgba(96, 165, 250, 0.3);
}

.nav-link.active {
    background: rgba(0, 0, 0, 0.35) !important;
    font-weight: 700 !important;
    border: 2px solid rgba(255, 255, 255, 1) !important;
    color: #ffffff !important;
    font-size: 18px;
    text-shadow:
        0 0 5px rgba(74, 100, 212, 1),
        0 0 10px rgba(74, 100, 212, 0.9),
        0 0 20px rgba(74, 100, 212, 0.8),
        0 0 30px rgba(74, 100, 212, 0.6),
        0 0 40px rgba(26, 43, 110, 0.5),
        0 0 50px rgba(26, 43, 110, 0.3);
    box-shadow:
        0 0 0 1px rgba(107, 133, 255, 1),
        0 0 0 3px rgba(107, 133, 255, 0.5),
        0 0 10px 3px rgba(107, 133, 255, 0.8),
        0 0 20px 6px rgba(107, 133, 255, 0.6),
        0 0 30px 10px rgba(107, 133, 255, 0.4),
        0 0 40px 15px rgba(26, 43, 110, 0.3) !important;
    animation: glowPulseIntense 1s infinite alternate !important;
}

.nav-link.active:hover {
    font-size: 18px;
    transform: translateY(-12px);
}

@keyframes glowPulseIntense {
    0% {
        text-shadow:
            0 0 3px rgba(74, 100, 212, 1),
            0 0 6px rgba(74, 100, 212, 0.9),
            0 0 12px rgba(74, 100, 212, 0.8),
            0 0 20px rgba(74, 100, 212, 0.6),
            0 0 30px rgba(26, 43, 110, 0.4);
        box-shadow:
            0 0 0 1px rgba(107, 133, 255, 0.9),
            0 0 0 3px rgba(107, 133, 255, 0.4),
            0 0 8px 3px rgba(107, 133, 255, 0.6),
            0 0 16px 6px rgba(107, 133, 255, 0.4);
    }
    100% {
        text-shadow:
            0 0 8px rgba(74, 100, 212, 1),
            0 0 15px rgba(74, 100, 212, 0.9),
            0 0 25px rgba(74, 100, 212, 0.8),
            0 0 35px rgba(74, 100, 212, 0.6),
            0 0 50px rgba(26, 43, 110, 0.5);
        box-shadow:
            0 0 0 1px rgba(107, 133, 255, 1),
            0 0 0 4px rgba(107, 133, 255, 0.5),
            0 0 15px 5px rgba(107, 133, 255, 0.9),
            0 0 25px 10px rgba(107, 133, 255, 0.6),
            0 0 35px 15px rgba(26, 43, 110, 0.4);
    }
}

/* =============================================
   USER INFO V NAVIGÁCII
   ============================================= */
.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info .moja-zona-btn,
.user-info .logout-btn {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    height: 40px;
}

/* =============================================
   USER INFO BOX POD HEADEROM
   ============================================= */
.user-info-box {
    background: var(--header-solid-color) !important;
    border-bottom: 2px solid #ffffff;
    border-left: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
    border-top: none;
    padding: 10px 20px;
    width: fit-content;
    min-width: 300px;
    max-width: 1100px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(0px);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: none;
    margin-bottom: 0 !important;
    margin-top: -4px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    transform: translateX(-13px);
    pointer-events: auto;
}

/* =============================================
   USER INFO CONTAINER
   ============================================= */
.user-info-container {
    display: flex;
    justify-content: center !important;
    align-items: center;
    gap: 30px;
    width: 100%;
    margin: 0 auto;
    flex-direction: row !important;
    flex-wrap: wrap;
}

.user-info-container .moja-zona-btn,
.user-info-container .logout-btn {
    display: inline-block;
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    height: 40px;
    margin: 0;
}

.user-info-container .login-status {
    text-align: center;
    white-space: nowrap;
}

.user-info-container .login-status .user-name {
    display: inline-block;
    font-size: 15px;
    font-weight: 700;
    color: white;
    margin-right: 8px;
}

.user-info-container .login-status .user-details {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    white-space: nowrap;
}

/* Role badge */
.role-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 11px;
    white-space: nowrap;
    flex-shrink: 0;
}

.email-separator {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    font-size: 11px;
    white-space: nowrap;
}

.user-email {
    color: white;
    font-weight: 600;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.user-info-container.user-info-container-center {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}

.login-status-center.not-logged-in-box {
    padding: 10px 20px !important;
    font-size: 13px !important;
}

.online-indicator {
    display: inline-flex;
    align-items: center;
    margin-left: 6px;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    background-color: #27ae60;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.5);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.5);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(39, 174, 96, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

/* =============================================
   HAMBURGER MENU
   ============================================= */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 8px;
    z-index: 1006;
    padding: 0;
    margin: 0;
}

.hamburger-menu span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.25s ease-in-out !important;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}
.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* =============================================
   DESKTOP VERZIA (šírka > 900px)
   ============================================= */
@media (min-width: 901px) {
    .mobile-menu {
        display: none !important;
    }

    .user-info-box {
        transform: translateX(0) !important;
        left: auto !important;
        right: auto !important;
    }

    .hamburger-menu {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        pointer-events: none !important;
    }
}

/* =============================================
   MOBILNÁ VERZIA (šírka ≤ 900px)
   ============================================= */
@media (max-width: 900px) {
    .nav-center {
        display: none !important;
    }

    .hamburger-menu {
        display: flex !important;
        position: relative;
        margin: 0 auto;
        left: 0;
        top: 0;
        transform: none;
        background: transparent;
        border: 1px solid #ffffff;
    }

    .site-header nav {
        justify-content: center !important;
        position: relative;
    }

    .user-info-container {
        gap: 30px !important;
    }

    .site-header nav .user-info {
        display: none !important;
    }

    .mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: calc(100% - 40px);
        max-width: var(--header-max-width);
        margin-left: auto !important;
        margin-right: auto !important;
        background: #0d1a4d;
        z-index: 1010;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        pointer-events: none;
        border-left: 3px solid #ffffff;
        border-right: 3px solid #ffffff;
        border-bottom: 4px solid #ffffff;
        border-top: none;
    }

    .mobile-menu.active {
        max-height: 80vh;
        overflow-y: auto;
        pointer-events: auto;
    }

    /* 🔥 ZVÄČŠENÝ ODSTUP MEDZI TLAČIDLAMI (gap: 12px → 20px) */
    .mobile-menu-content {
        position: relative;
        z-index: 1011;
        display: flex;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    /* 🔥 ZÁKLADNÉ TLAČIDLO - ZNÍŽENÁ ŽIARA O 50% */
    .mobile-nav-link {
        display: block;
        text-align: center;
        text-decoration: none;
        color: #ffffff !important;
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: var(--radius-sm);
        font-size: 18px;
        font-weight: 600;
        white-space: nowrap;
        padding: 14px 28px;
        margin: 0 4px;
        min-width: 120px;
        height: 56px;
        transition: var(--transition);
        cursor: pointer;
        position: relative;
        z-index: 1012;
        pointer-events: auto !important;
        /* 🔥 ZNÍŽENÁ ŽIARA (pôvodné hodnoty sú znížené o 50%) */
        box-shadow:
            0 0 2px rgba(96, 165, 250, 0.45),
            0 0 5px rgba(96, 165, 250, 0.35),
            0 0 10px rgba(96, 165, 250, 0.25),
            0 0 20px rgba(96, 165, 250, 0.15);
        text-shadow:
            0 0 1.5px rgba(147, 197, 253, 0.45),
            0 0 3px rgba(147, 197, 253, 0.35);
    }

    /* 🔥 HOVER EFEKT - ZNÍŽENÁ ŽIARA O 50% */
    .mobile-nav-link:hover {
        background: rgba(0, 0, 0, 0.3);
        transform: translateY(-2px);
        color: #ffffff !important;
        border: 1px solid rgba(255, 255, 255, 1);
        font-size: 20px;
        box-shadow:
            0 0 4px rgba(96, 165, 250, 0.5),
            0 0 8px rgba(96, 165, 250, 0.45),
            0 0 15px rgba(96, 165, 250, 0.35),
            0 0 25px rgba(96, 165, 250, 0.25);
        text-shadow:
            0 0 2.5px rgba(147, 197, 253, 0.5),
            0 0 5px rgba(147, 197, 253, 0.45);
    }

    /* 🔥 AKTÍVNE TLAČIDLO - ZNÍŽENÁ ŽIARA O 50% */
    .mobile-nav-link.active {
        background: rgba(0, 0, 0, 0.35) !important;
        font-weight: 700 !important;
        border: 2px solid rgba(255, 255, 255, 1) !important;
        color: #ffffff !important;
        font-size: 18px;
        text-shadow:
            0 0 2.5px rgba(74, 100, 212, 0.5),
            0 0 5px rgba(74, 100, 212, 0.45),
            0 0 10px rgba(74, 100, 212, 0.4),
            0 0 15px rgba(74, 100, 212, 0.3);
        box-shadow:
            0 0 0 0.5px rgba(107, 133, 255, 0.5),
            0 0 0 1.5px rgba(107, 133, 255, 0.25),
            0 0 5px 1.5px rgba(107, 133, 255, 0.4),
            0 0 10px 3px rgba(107, 133, 255, 0.3);
        animation: glowPulseIntenseMobile 1s infinite alternate !important;
    }

    .mobile-nav-link.active:hover {
        font-size: 18px;
        transform: translateY(-2px);
    }

    /* 🔥 ANIMÁCIA PRE AKTÍVNE TLAČIDLO (ZNÍŽENÁ) */
    @keyframes glowPulseIntenseMobile {
        0% {
            text-shadow:
                0 0 2px rgba(74, 100, 212, 0.5),
                0 0 4px rgba(74, 100, 212, 0.45),
                0 0 8px rgba(74, 100, 212, 0.4);
            box-shadow:
                0 0 0 0.5px rgba(107, 133, 255, 0.5),
                0 0 0 1.5px rgba(107, 133, 255, 0.25),
                0 0 5px 1.5px rgba(107, 133, 255, 0.4);
        }
        100% {
            text-shadow:
                0 0 4px rgba(74, 100, 212, 0.5),
                0 0 8px rgba(74, 100, 212, 0.45),
                0 0 12px rgba(74, 100, 212, 0.4);
            box-shadow:
                0 0 0 0.5px rgba(107, 133, 255, 0.6),
                0 0 0 2px rgba(107, 133, 255, 0.3),
                0 0 8px 2.5px rgba(107, 133, 255, 0.45),
                0 0 12px 5px rgba(107, 133, 255, 0.35);
        }
    }

    /* 🔥 Keď je menu otvorené, user-info-box je úplne skrytý */
    body.menu-open .user-info-box {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;
    }
}

/* =============================================
   ZNÍŽENÁ POHYBLIVOSŤ
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    .logo-container,
    .site-header,
    .user-info-box,
    .back-to-top-global,
    .mobile-menu,
    .hamburger-menu span,
    .nav-link,
    .mobile-nav-link {
        transition: none !important;
        animation: none !important;
    }
}

/* =============================================
   TLAČ
   ============================================= */
@media print {
    .header-wrapper,
    .mobile-menu,
    .mobile-menu-overlay,
    .user-info-box {
        display: none !important;
    }
    .main-content {
        padding-top: 20px !important;
    }
}

/* =============================================
   LOGO KONTAJNER - ULTRA RÝCHLA TRANSITION
   ============================================= */
.logo-container {
    text-align: center;
    margin-top: var(--logo-margin-top);
    margin-bottom: var(--logo-margin-bottom);
    padding: var(--logo-padding-vertical) 0;
    background: transparent !important;
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: var(--logo-height-desktop);
    /* 🔥 ULTRA RÝCHLA TRANSITION (0.05s namiesto 0.2s) */
    transition:
        max-height 0.05s linear,
        padding 0.05s linear,
        margin-bottom 0.05s linear,
        opacity 0.05s linear;
    pointer-events: auto;
    width: 100%;
    will-change: max-height, padding, margin-bottom, opacity;
}

/* =============================================
   🔥 TMAVÝ REŽIM - HEADER (PÔVODNÁ TMAVÁ FARBA), FOOTER (SVETLEJŠIA FARBA)
   ============================================= */
/* Header v tmavom režime - pôvodná tmavšia farba */
html[data-theme='dark'] .site-header,
html[data-theme='dark'] .site-header.logo-hidden-state {
    background: #0a0f2a !important;
}

html[data-theme='dark'] .mobile-menu-content {
    background: #0a0f2a !important;
}

html[data-theme='dark'] .top-bar {
    background: transparent !important;
    border-top-color: #ffffff !important;
}

html[data-theme='dark'] .hamburger-menu {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
}

html[data-theme='dark'] .mobile-nav-link {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

html[data-theme='dark'] .mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

html[data-theme='dark'] .mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}
