/* ===== GAME ICON (emoji → kép) ===== */
.game-icon {
    display: inline-block;
    vertical-align: -0.15em;
    object-fit: contain;
    line-height: 1;
    flex-shrink: 0;
}

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* MGI-BPO Színek */
    --color-primary: #2151a4;
    --color-primary-dark: #183d7a;
    --color-primary-light: #5a87c6;
    --color-secondary: #00919e;
    --color-secondary-dark: #007480;
    --color-accent: #f0ca00;
    --color-accent-dark: #d4b200;
    --color-highlight-light: #b7d1ed;
    --color-success: #10b981;
    --color-warning: #fbbf24;
    --color-danger: #ef4444;
    --color-text: #2c3e50;
    --color-text-muted: #6b7280;
    --color-bg: #f0f4f8;
    --color-card: #ffffff;
    --color-border: #d0dbe8;

    /* ChampyDesk 3D depths */
    --shadow-3d: 0 4px 0 rgba(0,0,0,0.15), 0 6px 20px rgba(0,0,0,0.1);
    --shadow-3d-hover: 0 6px 0 rgba(0,0,0,0.15), 0 10px 30px rgba(0,0,0,0.15);
    --shadow-card: 0 3px 0 rgba(0,0,0,0.08), 0 6px 20px rgba(0,0,0,0.06);
    --shadow-gold-glow: 0 0 12px rgba(240,202,0,0.4);

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;

    /* Font sizes */
    --font-size-xs: 10px;
    --font-size-sm: 12px;
    --font-size-base: 14px;
    --font-size-lg: 16px;
    --font-size-xl: 18px;
    --font-size-2xl: 24px;

    /* ChampyDesk display font - Bungee supports Hungarian characters (ő, ű) */
    --font-display: 'Bungee', cursive;

    /* Border radius - chunkier for ChampyDesk */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;

    /* Touch target minimum */
    --touch-target-min: 44px;

    /* Transitions - bouncy for ChampyDesk */
    --transition-fast: 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-normal: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Responsive typography with clamp() */
    --font-size-responsive-xs: clamp(9px, 2vw, 10px);
    --font-size-responsive-sm: clamp(11px, 2.5vw, 12px);
    --font-size-responsive-base: clamp(13px, 3vw, 14px);
    --font-size-responsive-lg: clamp(14px, 3.5vw, 16px);
    --font-size-responsive-xl: clamp(16px, 4vw, 18px);
    --font-size-responsive-2xl: clamp(20px, 5vw, 24px);
    --font-size-responsive-3xl: clamp(24px, 6vw, 28px);
}

/* ===== UTILITY OSZTÁLYOK ===== */
/* Ismétlődő inline style minták kiváltása — használd ezeket JS template literalokban */

/* Layout */
.u-flex          { display: flex; }
.u-flex-center   { display: flex; align-items: center; }
.u-flex-col      { display: flex; flex-direction: column; }
.u-flex-between  { display: flex; align-items: center; justify-content: space-between; }
.u-flex-wrap     { display: flex; flex-wrap: wrap; }
.u-flex-1        { flex: 1; }
.u-gap-4         { gap: 4px; }
.u-gap-6         { gap: 6px; }
.u-gap-8         { gap: 8px; }
.u-gap-10        { gap: 10px; }
.u-gap-12        { gap: 12px; }
.u-gap-16        { gap: 16px; }
.u-w-full        { width: 100%; }

/* Szöveg */
.u-text-center   { text-align: center; }
.u-text-xs       { font-size: 11px; }
.u-text-sm       { font-size: 12px; }
.u-text-base     { font-size: 13px; }
.u-text-md       { font-size: 14px; }
.u-text-lg       { font-size: 16px; }
.u-fw-600        { font-weight: 600; }
.u-fw-700        { font-weight: 700; }
.u-text-muted    { color: var(--color-text-muted, #6b7280); }
.u-text-white    { color: white; }
.u-text-primary  { color: var(--color-primary, #667eea); }
.u-text-success  { color: var(--color-success, #10b981); }
.u-text-danger   { color: var(--color-danger, #ef4444); }

/* Spacing */
.u-p-8           { padding: 8px; }
.u-p-10          { padding: 10px; }
.u-p-12          { padding: 12px; }
.u-p-16          { padding: 16px; }
.u-px-8          { padding-left: 8px; padding-right: 8px; }
.u-px-12         { padding-left: 12px; padding-right: 12px; }
.u-px-16         { padding-left: 16px; padding-right: 16px; }
.u-mb-4          { margin-bottom: 4px; }
.u-mb-8          { margin-bottom: 8px; }
.u-mt-8          { margin-top: 8px; }

/* Borders */
.u-rounded-4     { border-radius: 4px; }
.u-rounded-6     { border-radius: 6px; }
.u-rounded-8     { border-radius: 8px; }
.u-rounded-10    { border-radius: 10px; }
.u-rounded-12    { border-radius: 12px; }
.u-rounded-full  { border-radius: 999px; }

/* Interakció */
.u-pointer       { cursor: pointer; }
.u-no-select     { user-select: none; }

/* Verzió frissítés banner */
.version-update-banner {
    position: fixed; top: 0; left: 0; right: 0;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white; padding: 12px 20px;
    z-index: 99999; box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    display: flex; align-items: center; justify-content: center;
    gap: 15px; flex-wrap: wrap;
}
.version-update-banner__content {
    display: flex; align-items: center; gap: 12px;
}
.version-update-banner__mascot {
    width: 44px; height: 44px; object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); flex-shrink: 0;
}
.version-update-banner__msg {
    font-weight: 600;
}
.version-update-banner__actions {
    display: flex; gap: 10px;
}
.version-update-banner__btn-refresh {
    background: white; color: #d97706; border: none;
    padding: 10px 24px; border-radius: 8px; font-weight: 700;
    cursor: pointer; font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2); transition: transform 0.2s;
}
.version-update-banner__btn-refresh:hover { transform: scale(1.05); }
.version-update-banner__btn-dismiss {
    background: rgba(255,255,255,0.2); color: white;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 10px 16px; border-radius: 8px; font-weight: 600;
    cursor: pointer; font-size: 14px;
}

/* Modal loading/empty/error állapotok */
.modal-state-msg {
    text-align: center; padding: 20px;
    color: var(--color-text-muted, #6b7280); font-size: 14px;
}
.modal-state-msg--error { color: var(--color-danger, #dc2626); }
.modal-state-msg--empty { padding: 30px; color: #94a3b8; }

/* ===== ALAPOK ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
    font-size: var(--font-size-base);
}

.hidden { 
    display: none !important; 
}

/* ===== LOGIN ===== */
.login-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #d5d8de;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

/* Ikon mintás háttér overlay */
.login-bg-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.login-bg-icon {
    position: absolute;
    opacity: 0.18;
    filter: grayscale(20%);
}

/* Animált lebegés */
@keyframes loginIconFloat {
    0%, 100% { transform: translateY(0) rotate(var(--r)); }
    50% { transform: translateY(-8px) rotate(var(--r)); }
}

/* --- Login header hamburger gomb (mindig látható, nem csak mobilon) --- */
.login-hamburger-btn {
    display: flex !important;
}

/* --- Slide-in menü --- */
.login-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.login-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.login-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: white;
    z-index: 100;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.login-menu.open {
    right: 0;
}

.login-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.login-menu-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.login-menu-close:hover {
    color: #374151;
}

.login-menu-nav {
    flex: 1;
    padding: 12px 0;
}

.login-menu-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: #374151;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.15s ease;
}

.login-menu-nav a:hover {
    background: #f3f4f6;
}

.login-menu-lang {
    padding: 16px 20px;
    border-top: 1px solid #e5e7eb;
}

/* --- Fő tartalom (body) --- */
.login-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px 8px;
    position: relative;
    z-index: 1;
}

/* --- Split kártya (bal: branding, jobb: form) --- */
.login-split {
    display: flex;
    max-width: 860px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.06);
    position: relative;
    z-index: 1;
}

.login-split-branding {
    flex: 0 0 240px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #00919e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 20px;
    position: relative;
    overflow: hidden;
}

.login-split-branding::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: -60px;
    right: -60px;
    pointer-events: none;
}

.login-split-branding-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.login-company-logo-wrap {
    background: white;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.login-company-logo-wrap:hover {
    transform: scale(1.05);
}

.login-company-logo {
    max-width: 90px;
    max-height: 90px;
    object-fit: contain;
    border-radius: 8px;
}

.login-company-name {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin: 0;
    letter-spacing: 0.3px;
}

.login-branding-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
    margin: 0;
}

/* --- Jobb oldal: Form --- */
.login-split-form {
    flex: 1;
    background: white;
    padding: 20px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* --- Footer --- */
.login-bottom {
    text-align: center;
    margin-top: 24px;
}

.login-powered {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 10px;
}

/* Login nyelv választó (menüben) */
.login-lang-selector {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.login-lang-btn {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 4px 8px;
    font-size: 11px;
    cursor: pointer;
    color: #6b7280;
    transition: all 0.2s ease;
    line-height: 1;
}

.login-lang-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(33, 81, 164, 0.05);
}

.login-lang-btn.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(33, 81, 164, 0.08);
    font-weight: 600;
}

/* ===== ENTRA ID (MICROSOFT) LOGIN GOMB ===== */
.btn-entra {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: #5E5E5E;
    border: 1px solid #8C8C8C;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    min-height: 40px;
    text-decoration: none;
    font-size: 14px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}
.btn-entra:hover {
    background: #f3f3f3;
    border-color: #666;
}
.login-divider {
    display: flex;
    align-items: center;
    margin: 12px 0;
}
.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-border);
}
.login-divider-text {
    padding: 0 12px;
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    text-transform: uppercase;
}
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: #3c4043;
    border: 1px solid #dadce0;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    min-height: 40px;
    transition: var(--transition-fast);
    text-decoration: none;
    font-size: 14px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}
.btn-google:hover {
    background: #f7f8f8;
    border-color: #c6c6c6;
}

/* ===== LOGIN FOOTER (sötét, csak desktop) ===== */
.login-footer {
    background: #111827;
    color: #9ca3af;
    padding: 14px 24px;
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.login-footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* Footer felső sor: nyelv + linkek */
.login-footer-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.login-footer-sep {
    color: #374151;
    font-size: 11px;
    user-select: none;
}

/* Nyelvválasztó dropdown */
.login-lang-dropdown {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.login-lang-dropdown select {
    appearance: none;
    background: #1f2937;
    border: 1px solid #374151;
    border-radius: 6px;
    padding: 5px 28px 5px 10px;
    color: #e5e7eb;
    font-size: 12px;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.login-lang-dropdown select:hover,
.login-lang-dropdown select:focus {
    border-color: #6b7280;
    outline: none;
}

/* Option elemek (fehér háttéren sötét szöveg) */
.login-lang-dropdown select option {
    background: #1f2937;
    color: #e5e7eb;
    padding: 4px 8px;
}

.login-lang-dropdown::after {
    content: '▾';
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
    font-size: 11px;
}

/* Footer linkek */
.login-footer-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.login-footer-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.login-footer-links a:hover {
    color: #93c5fd;
}

/* Footer alsó sor: cégnév + geo */
.login-footer-bottom {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: #4b5563;
}

.login-footer-geo {
    font-size: 11px;
    color: #6b7280;
}

/* Login oldalon kompakt header */
.login-screen .logo-img {
    height: 48px;
    width: 48px;
}
.login-screen .header {
    padding: 4px 0;
    box-shadow: none;
    border-bottom: none;
}

/* Mobilon footer + header elrejtve */
@media (max-width: 768px) {
    .login-footer {
        display: none;
    }
    .login-screen .header {
        display: none;
    }
}

/* Login logó kattintás animáció */
.login-logo-img {
    transition: transform 0.3s ease;
    max-width: 180px;
}

.login-logo-img.login-logo-bounce,
.login-company-logo-wrap.login-logo-bounce {
    animation: loginLogoBounce 0.6s ease;
}

@keyframes loginLogoBounce {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(-5deg); }
    30% { transform: rotate(5deg); }
    45% { transform: rotate(-3deg); }
    60% { transform: rotate(3deg); }
    75% { transform: rotate(-1deg); }
    100% { transform: rotate(0deg); }
}

/* Login gomb shimmer + glow */
.login-screen .btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.login-screen .btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
    animation: loginShimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes loginShimmer {
    0%, 100% { left: -100%; }
    50% { left: 150%; }
}

.login-screen .btn-primary:hover {
    box-shadow: 0 0 20px rgba(240,202,0,0.5), 0 6px 20px rgba(33,81,164,0.4);
    transform: translateY(-3px) scale(1.02);
}

.login-screen .btn-primary:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 0 8px rgba(240,202,0,0.3), 0 1px 4px rgba(33,81,164,0.2);
}

.login-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: center;
    color: #2151a4;
    text-shadow: 0 2px 4px rgba(33,81,164,0.15);
    letter-spacing: 1px;
}

.form-group { 
    margin-bottom: 20px; 
}

.form-label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    color: #374151; 
    font-size: 13px;
}

.form-control { 
    width: 100%; 
    padding: 12px 16px; 
    border: 2px solid #e5e7eb; 
    border-radius: 8px; 
    font-size: 14px; 
}

.form-control:focus { 
    outline: none; 
    border-color: #2151a4; 
}

/* ===== BUTTONS (CHAMPYDESK 3D) ===== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.btn-primary {
    background: linear-gradient(180deg, #2d5db8 0%, #2151a4 50%, #1b4590 100%);
    color: white;
    width: 100%;
    border-bottom: 4px solid #183d7a;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    box-shadow: 0 2px 8px rgba(33,81,164,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33,81,164,0.4);
}

.btn-primary:active {
    transform: translateY(2px);
    border-bottom-width: 1px;
    box-shadow: 0 1px 4px rgba(33,81,164,0.3);
}

.btn-danger {
    background: linear-gradient(180deg, #f87171 0%, #ef4444 50%, #dc2626 100%);
    color: white;
    padding: 6px 12px;
    font-size: 12px;
    border-bottom: 3px solid #b91c1c;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: linear-gradient(180deg, #f3f4f6 0%, #e5e7eb 50%, #d1d5db 100%);
    color: #374151;
    padding: 6px 12px;
    font-size: 12px;
    border-bottom: 3px solid #9ca3af;
}

.btn-secondary:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.btn-secondary:active {
    transform: translateY(1px);
    border-bottom-width: 1px;
}

/* ChampyDesk arany CTA gomb */
.btn-gold,
.desk-popup-btn-save {
    background: linear-gradient(180deg, #ffd633 0%, #f0ca00 50%, #d4b200 100%) !important;
    border: none !important;
    border-bottom: 4px solid #b89900 !important;
    color: #1a1a00 !important;
    text-shadow: 0 1px 2px rgba(255,255,255,0.3);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-gold:hover,
.desk-popup-btn-save:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(240,202,0,0.4) !important;
}

.btn-gold:active,
.desk-popup-btn-save:active {
    transform: translateY(2px) !important;
    border-bottom-width: 1px !important;
}

/* ===== HEADER (CHAMPYDESK) ===== */
.header {
    background: linear-gradient(to right, #ffffff 0%, #ffffff 38%, #a8bfe0 50%, #2151a4 68%, #1a4280 100%);
    color: white;
    padding: 6px 0;
    box-shadow: 0 4px 0 rgba(0,0,0,0.08), 0 6px 20px rgba(0,0,0,0.1);
    border-bottom: 3px solid rgba(0,0,0,0.06);
    position: relative;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.header-left,
.header-center,
.header-right {
    display: flex;
    align-items: center;
}

.header-left {
    flex: 0 0 auto;
    gap: 8px;
}

.header-center {
    flex: 1 1 auto;
    min-width: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ChampyDesk felirat középen a headerben */
.header-champydesk-text {
    height: 90px;
    width: auto;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.header-champydesk-text:hover {
    transform: scale(1.03);
}

.header-champydesk-text.bounce {
    animation: logoBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Logo kapszula - fehér háttér, 3D gombszerű */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 4px;
    transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: none;
}

.logo:hover {
    transform: translateY(-1px);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.logo:active {
    transform: translateY(1px);
}

/* Céglogó - keret nélkül, átlátszó háttérrel */
.company-logo-frame {
    background: transparent;
    border-radius: 16px;
    padding: 4px;
    box-shadow: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Céglogó kép a headerben - kisebb a kereten belül */
.company-logo-custom {
    width: 100px !important;
    height: 100px !important;
    border-radius: 8px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.logo-img {
    height: 126px;
    width: 126px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-text-img {
    height: 110px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    cursor: pointer;
}

/* Header kávé - a "k" betű aljánál mint pont, menekül az egér elől */
.header-coffee {
    position: absolute;
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.25));
    transition: transform 0.15s ease-out;
    pointer-events: none;
    z-index: 3;
}

/* Stadium ticker eltávolítva — ChampyDesk felirat középen a headerben */

/* Kattintásra az ikon pörög */
.logo-img.spin {
    animation: logoSpin 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Logo szöveg bounce */
.logo-text.bounce h1 {
    animation: logoBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-text-img.bounce {
    animation: logoBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes logoSpin {
    0% { transform: rotate(0deg) scale(1); }
    40% { transform: rotate(380deg) scale(1.2); }
    70% { transform: rotate(355deg) scale(0.9); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes logoBounce {
    0% { transform: translateY(0); }
    30% { transform: translateY(-6px) scale(1.1); }
    50% { transform: translateY(2px) scale(0.95); }
    70% { transform: translateY(-2px); }
    100% { transform: translateY(0) scale(1); }
}

.logo-text h1,
.logo h1 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    line-height: 1.1;
    text-shadow: none;
}

.logo-text p,
.logo p {
    font-size: 10px;
    opacity: 1;
    margin-top: 1px;
    text-transform: none;
    letter-spacing: 0.5px;
    font-weight: 500;
    color: #6e6e6e;
    line-height: 1.1;
}

.user-info { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
}

.user-avatar { 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    background: rgba(255,255,255,0.2); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: bold; 
    /* font-size törlve - avatar-helper generálja */
    border: 2px solid rgba(255,255,255,0.3); 
}

.user-info h3 {
    font-size: 14px;
    margin-bottom: 3px;
}

.user-info p {
    font-size: 11px;
    opacity: 0.9;
}

/* ===== NAV (CHAMPYDESK TAB-BAR) ===== */
.nav {
    background: linear-gradient(180deg, #e8f0fa 0%, #d0dbe8 100%);
    box-shadow: 0 2px 0 rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.05);
    border-bottom: 2px solid #b7d1ed;
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 6px 0 0;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    align-items: center;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-content::-webkit-scrollbar {
    display: none;
}

.nav-btn {
    padding: 10px 18px;
    border: 2px solid #b7d1ed;
    border-bottom: none;
    background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%);
    cursor: pointer;
    font-size: 13px;
    color: #6b7280;
    border-radius: 10px 10px 0 0;
    transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    font-weight: 600;
    min-height: var(--touch-target-min);
    position: relative;
    top: 2px;
}

.nav-btn:hover {
    background: linear-gradient(180deg, #ffffff 0%, #e8f0fa 100%);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.nav-btn.active {
    background: linear-gradient(180deg, #ffffff 0%, #fefefe 100%) !important;
    color: #d4a000 !important;
    font-weight: 700;
    border-color: #e0e0e0;
    border-top: none;
    border-bottom: 3px solid #f0ca00;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    z-index: 2;
    text-shadow: none;
}

/* ===== HAMBURGER MENÜ (MOBIL) ===== */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    min-width: var(--touch-target-min);
    min-height: var(--touch-target-min);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: var(--transition-fast);
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobil navigáció overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobil navigáció drawer */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
    transition: right var(--transition-normal);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-nav-header h3 {
    font-family: var(--font-display);
    font-size: var(--font-size-lg);
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.mobile-nav-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    min-width: var(--touch-target-min);
    min-height: var(--touch-target-min);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-items {
    padding: var(--spacing-md);
}

.mobile-nav-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
    padding: var(--spacing-md);
    border: none;
    background: none;
    cursor: pointer;
    font-size: var(--font-size-base);
    color: var(--color-text);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
    min-height: var(--touch-target-min);
    text-align: left;
}

.mobile-nav-btn:hover {
    background: #f3f4f6;
}

.mobile-nav-btn.active {
    background: #eff6ff;
    color: var(--color-primary);
    font-weight: 600;
}

.mobile-nav-btn i {
    width: 24px;
    text-align: center;
    font-size: var(--font-size-lg);
}

/* ===== PLAYER NAMEPLATE (header jobb oldal) ===== */
.player-nameplate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.player-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.player-avatar-frame {
    position: relative;
    flex-shrink: 0;
}

/* Arany keret az avatar körül */
.player-avatar-frame > div:first-child {
    border: 3px solid var(--color-accent) !important;
    box-shadow: 0 0 12px rgba(240,202,0,0.4);
}

/* Level pajzs badge - avatar alatt */
.player-level-shield {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #ffd633, #d4b200);
    color: #1a1a00;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: 10px;
    border: 2px solid #b89900;
    white-space: nowrap;
    line-height: 1.3;
    z-index: 1;
}

.player-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.player-name {
    font-weight: 700;
    font-size: 14px;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    text-align: left;
}

.player-resources {
    display: flex;
    gap: 6px;
    justify-content: center;
    border-radius: 12px;
    padding: 2px;
}

/* Kattintható avatár + XP/Tallér terület a fejlécben */
.player-panel-clickable {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 12px;
    transition: background 0.15s ease;
}

.player-panel-clickable:hover {
    background: rgba(255,255,255,0.1);
}

/* XP és Tallér "resource pill" - mint Clash Royale-ban a gold/gems */
.player-resource {
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 10px;
    font-weight: 700;
    line-height: 1.3;
}

.player-resource--xp {
    background: rgba(240,202,0,0.25);
    color: #ffd633;
    border: 1px solid rgba(240,202,0,0.4);
}

.player-resource--coin {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255,255,255,0.25);
}

.player-resource--streak {
    background: rgba(249,115,22,0.25);
    color: #fb923c;
    border: 1px solid rgba(249,115,22,0.4);
}

/* ===== NOTIFICATION (avatar dot + dropdown section) ===== */

.player-notif-dot {
    position: absolute;
    top: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #ef4444;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(239,68,68,0.5);
    z-index: 2;
}
.user-dropdown-notif-section {
    padding: 10px 14px;
}
.user-dropdown-notif-header {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}
.user-dropdown-notif-count {
    background: #ef4444;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    margin-left: auto;
}
.user-dropdown-notif-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: #374151;
}
.user-dropdown-notif-emoji {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fef3c7;
    border-radius: 6px;
    flex-shrink: 0;
}
.user-dropdown-notif-time {
    font-size: 11px;
    color: #9ca3af;
    margin-left: auto;
    white-space: nowrap;
}

/* ===== STREAK HEATMAP ===== */

.heatmap-grid {
    display: flex;
    gap: 3px;
    overflow-x: auto;
}
.heatmap-week {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.heatmap-cell {
    width: 22px;
    height: 22px;
    border-radius: 3px;
    flex-shrink: 0;
}
.heatmap-day-labels {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-right: 4px;
}
.heatmap-day-label {
    width: 22px;
    height: 22px;
    font-size: 11px;
    line-height: 22px;
    color: #94a3b8;
    text-align: right;
}

/* ===== LEADERBOARD ===== */

.lb-cat-btn {
    padding: 6px 12px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0;
    background: white; color: #64748b; border-radius: 20px; cursor: pointer; transition: all 0.2s;
}
.lb-cat-btn:hover { background: #f1f5f9; }
.lb-cat-btn--active {
    background: linear-gradient(135deg, #2151a4, #00919e); color: white; border-color: #2151a4;
}
.lb-period-btn {
    padding: 4px 12px; font-size: 11px; font-weight: 600; border: 1px solid #e2e8f0;
    background: white; color: #94a3b8; border-radius: 12px; cursor: pointer; transition: all 0.2s;
}
.lb-period-btn--active { background: #1e293b; color: white; border-color: #1e293b; }

.lb-top3 {
    display: flex; justify-content: center; align-items: flex-end; gap: 12px;
    margin-bottom: 16px; padding: 12px 0;
}
.lb-top3-card {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    padding: 10px 8px; border-radius: 12px; background: #f8fafc; min-width: 80px;
    border: 1px solid #e2e8f0; position: relative;
}
.lb-top3-first {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-color: #fcd34d; transform: scale(1.08); box-shadow: 0 4px 12px rgba(252,211,77,0.3);
}
.lb-top3-medal { font-size: 20px; }
.lb-top3-avatar { border-radius: 50%; overflow: hidden; }
.lb-top3-name { font-size: 11px; font-weight: 600; color: #1e293b; text-align: center; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-top3-value { font-size: 16px; font-weight: 800; color: #2151a4; }

.lb-list { display: flex; flex-direction: column; gap: 2px; }
.lb-row {
    display: flex; align-items: center; gap: 10px; padding: 8px 10px;
    border-radius: 8px; transition: background 0.2s;
}
.lb-row:hover { background: #f8fafc; }
.lb-row--self { background: #eff6ff; border: 1px solid #bfdbfe; }
.lb-row-rank { width: 28px; font-size: 14px; font-weight: 700; color: #94a3b8; text-align: center; flex-shrink: 0; }
.lb-row-avatar { flex-shrink: 0; border-radius: 50%; overflow: hidden; }
.lb-row-info { flex: 1; min-width: 0; }
.lb-row-name { font-size: 13px; font-weight: 600; color: #1e293b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-row-group { font-size: 11px; color: #94a3b8; }
.lb-row-value { font-size: 16px; font-weight: 800; color: #1e293b; text-align: right; flex-shrink: 0; }

/* ===== USER DROPDOWN MENU ===== */

.user-dropdown-wrapper {
    position: relative;
}

.user-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
    color: white;
    font-family: inherit;
}

.user-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.12);
}

.user-dropdown-chevron {
    font-size: 11px;
    opacity: 0.7;
    transition: transform var(--transition-fast);
}

.user-dropdown-trigger[aria-expanded="true"] .user-dropdown-chevron {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 300px;
    background: var(--color-card);
    border-radius: 16px;
    box-shadow: 0 6px 0 rgba(0,0,0,0.1), 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 500;
    overflow: hidden;
    border: 2px solid var(--color-highlight-light);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility 0s linear 0.2s;
}

.user-dropdown-menu.active {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility 0s linear 0s;
}

.user-dropdown-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
}

.user-dropdown-avatar {
    flex-shrink: 0;
}

.user-dropdown-profile-info {
    min-width: 0;
}

.user-dropdown-name {
    font-size: 16px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-group {
    font-size: 12px;
    opacity: 0.85;
}

.user-dropdown-level {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.user-dropdown-level-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

.user-dropdown-level-title {
    font-size: 11px;
    opacity: 0.85;
}

.user-dropdown-stats-bar {
    padding: 10px 16px;
    background: #f8fafc;
    border-bottom: 1px solid var(--color-border);
    transition: background 0.15s ease;
}

.user-dropdown-stats-bar[onclick] {
    cursor: pointer;
}

.user-dropdown-stats-bar[onclick]:hover {
    background: #e8f4fe;
}

.user-dropdown-xp-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}

.user-dropdown-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-dark));
    border-radius: 3px;
    transition: width 0.5s ease;
    box-shadow: 0 0 6px rgba(240,202,0,0.4);
}

.user-dropdown-xp-text {
    font-size: 10px;
    color: var(--color-text-muted);
}

.user-dropdown-currency {
    font-size: 12px;
    font-weight: 600;
    color: #92400e;
    margin-top: 4px;
}

.user-dropdown-divider {
    height: 1px;
    background: var(--color-border);
    margin: 4px 0;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: var(--font-size-base);
    font-family: inherit;
    color: var(--color-text);
    transition: background var(--transition-fast);
    text-align: left;
}

.user-dropdown-item:hover {
    background: #f3f4f6;
}

.user-dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
}

.user-dropdown-item--danger {
    color: var(--color-danger);
}

.user-dropdown-item--danger i {
    color: var(--color-danger);
}

.user-dropdown-logout {
    color: var(--color-danger);
}

.user-dropdown-logout i {
    color: var(--color-danger);
}

/* Nyelvválasztó sor a dropdown menüben */
.user-dropdown-lang-row {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    gap: 10px;
    cursor: default;
}

.user-dropdown-lang-row:hover {
    background: transparent;
}

.user-dropdown-lang-buttons {
    display: flex;
    gap: 4px;
}

.dropdown-lang-btn {
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 4px 6px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}

.dropdown-lang-btn:hover {
    background: rgba(0,0,0,0.05);
    transform: scale(1.1);
}

.dropdown-lang-btn.active {
    border-color: #2151a4;
    background: rgba(33,81,164,0.1);
}

.user-dropdown-badge-count {
    margin-left: auto;
    background: var(--color-primary);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}

/* Mobil al-menüpont (hamburger menüben) */
.mobile-nav-btn--sub {
    padding-left: 48px;
    font-size: 13px;
    opacity: 0.85;
}

.mobile-nav-btn--sub i {
    font-size: 14px;
}

/* ===== DROPDOWN MODAL (Badges, Email) ===== */

.dropdown-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility 0s linear 0.2s;
}

.dropdown-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--transition-fast), visibility 0s linear 0s;
}

.dropdown-modal-panel {
    background: var(--color-card);
    border-radius: var(--radius-xl);
    width: 92%;
    max-width: 560px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 0 rgba(0,0,0,0.1), 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--color-highlight-light);
    transform: translateY(20px) scale(0.95);
    transition: transform var(--transition-fast);
}

.dropdown-modal-overlay.active .dropdown-modal-panel {
    transform: translateY(0) scale(1);
}

.dropdown-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
}

.dropdown-modal-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.dropdown-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    font-size: 18px;
    width: var(--touch-target-min);
    height: var(--touch-target-min);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.dropdown-modal-close:hover {
    background: #f3f4f6;
}

.dropdown-modal-body {
    padding: 12px 16px;
    overflow-y: auto;
    flex: 1;
}

/* ===== CONTAINER (KOMPAKT) ===== */
.container { 
    max-width: 1400px; 
    margin: 20px auto; 
    padding: 0 15px; 
}

.card {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-card);
    margin-bottom: 16px;
    border: 2px solid var(--color-highlight-light);
}

.card-title {
    font-family: var(--font-display);
    font-size: var(--font-size-responsive-xl);
    font-weight: 400;
    margin-bottom: 16px;
    color: #2151a4;
    text-shadow: 0 1px 2px rgba(33,81,164,0.1);
}

/* ===== STATUS GRID (KOMPAKT) ===== */
.status-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); 
    gap: 10px; 
    margin-bottom: 20px; 
}

.status-card {
    padding: 12px 8px;
    border: 3px solid #d0dbe8;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: white;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 2px 0 rgba(0,0,0,0.06);
}

.status-card:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.status-card.active {
    border-width: 3px;
    background: #e8f4fa;
    box-shadow: 0 4px 0 rgba(0,0,0,0.1), 0 0 0 2px rgba(33,81,164,0.2);
}

.status-icon { 
    font-size: 24px; 
    margin-bottom: 6px; 
}

.status-label { 
    font-size: 12px; 
    font-weight: 600; 
    line-height: 1.2;
}

/* ===== DESK MAP (KOMPAKT) ===== */
.desk-map { 
    display: grid; 
    grid-template-columns: repeat(10, 1fr); 
    gap: 8px; 
    margin-top: 16px; 
}

.desk {
    aspect-ratio: 1;
    border: 3px solid #d0dbe8;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    background: white;
    font-size: 11px;
    font-weight: 700;
    color: #374151;
    min-height: 32px;
    box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}

.desk:hover:not(.occupied):not(.mine) { 
    border-color: #2151a4; 
    background: #e8f4fa; 
    transform: scale(1.05); 
}

.desk.favorite { 
    background: #fffbeb; 
    border-color: #fbbf24; 
}

.desk.occupied { 
    background: #f3f4f6; 
    border-color: #9ca3af; 
    cursor: not-allowed; 
    opacity: 0.7; 
}

.desk.mine { 
    background: #d1fae5; 
    border-color: #10b981; 
    border-width: 3px; 
}

.desk-avatar { 
    position: absolute; 
    bottom: -6px; 
    right: -6px; 
    width: 20px; 
    height: 20px; 
    border-radius: 50%; 
    border: 2px solid white; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    /* font-size törlve - avatar-helper generálja */
    font-weight: bold; 
    color: white; 
    box-shadow: 0 1px 4px rgba(0,0,0,0.3); 
}

/* ===== CALENDAR (KOMPAKT) ===== */
.calendar { 
    display: grid; 
    grid-template-columns: repeat(7, 1fr); 
    gap: 4px; 
    margin-top: 12px; 
}

.cal-header { 
    text-align: center; 
    font-weight: 600; 
    color: #6b7280; 
    padding: 6px; 
    font-size: 11px; 
}

.cal-day { 
    aspect-ratio: 1; 
    border: 1px solid #e5e7eb; 
    border-radius: 4px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    font-weight: 500; 
    transition: all 0.2s; 
    font-size: 12px; 
    min-height: 32px;
}

.cal-day:hover { 
    border-color: #2151a4; 
    transform: scale(1.1); 
}

.cal-day.selected { 
    background: #2151a4; 
    color: white; 
    border-color: #2151a4; 
}

.cal-day.today { 
    border-width: 2px; 
    border-color: #fbbf24; 
}

/* ===== USER LIST (KOMPAKT) ===== */
.user-list { 
    display: grid; 
    gap: 8px; 
}

.user-item { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: 12px 16px; 
    background: #f9fafb; 
    border-radius: 8px; 
    transition: all 0.2s; 
}

.user-item:hover { 
    background: #f3f4f6; 
    transform: translateX(3px); 
}

.user-item-info { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.user-item-avatar { 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 600; 
    color: white; 
    /* font-size törlve - avatar-helper generálja */
}

.user-item h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.user-item p {
    font-size: 11px;
    color: #6b7280;
}

/* ===== STATS (KOMPAKT) ===== */
.stat-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); 
    gap: 12px; 
    margin-bottom: 20px; 
}

.stat-card {
    padding: 16px;
    border-radius: 14px;
    color: white;
    box-shadow: 0 4px 0 rgba(0,0,0,0.15), 0 6px 16px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px solid rgba(255,255,255,0.15);
}

.stat-value {
    font-size: var(--font-size-responsive-3xl);
    font-weight: 700;
    margin: 8px 0;
}

.stat-label { 
    font-size: 12px; 
    opacity: 0.9; 
}

/* ===== TABLE (KOMPAKT) ===== */
.table-container { 
    overflow-x: auto; 
    max-height: 60vh; 
    border: 1px solid #e5e7eb; 
    border-radius: 8px; 
}

.summary-table { 
    width: 100%; 
    border-collapse: collapse; 
    font-size: 11px; 
}

.summary-table th { 
    padding: 6px 4px; 
    background: #f9fafb; 
    border: 1px solid #e5e7eb; 
    font-weight: 600; 
    position: sticky; 
    top: 0; 
    z-index: 10; 
    font-size: 10px;
}

.summary-table td { 
    padding: 4px; 
    border: 1px solid #e5e7eb; 
    text-align: center; 
    font-size: 10px;
}

.summary-table tbody tr:hover { 
    background: #f9fafb; 
}

.group-header { 
    background: #f3f4f6 !important; 
    font-weight: 600; 
    cursor: pointer; 
}

/* ===== BADGES (KOMPAKT) ===== */
.badge-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); 
    gap: 12px; 
}

.badge-item {
    padding: 12px;
    border: 3px solid #d0dbe8;
    border-radius: 14px;
    text-align: center;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}

.badge-item.earned {
    border-color: #f0ca00;
    background: linear-gradient(180deg, #fffdf0 0%, #fef9e7 100%);
    box-shadow: var(--shadow-gold-glow);
    animation: goldPulse 3s ease-in-out infinite;
}

.badge-item.earned:hover {
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(240,202,0,0.6);
}

.badge-item.locked {
    opacity: 0.35;
    filter: grayscale(1);
}

@keyframes goldPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(240,202,0,0.3); }
    50% { box-shadow: 0 0 16px rgba(240,202,0,0.5); }
}

.badge-icon { 
    font-size: 24px; 
    margin-bottom: 8px; 
}

.badge-item div {
    font-size: 11px;
    font-weight: 600;
}

/* ===== PRESENCE (KOMPAKT) ===== */
.presence-header {
    background: linear-gradient(135deg, #2151a4 0%, #00919e 100%);
    color: white;
    padding: 16px;
    border-radius: 14px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    box-shadow: 0 4px 0 rgba(0,0,0,0.12), 0 6px 16px rgba(0,0,0,0.1);
    border: 2px solid rgba(255,255,255,0.1);
}

.presence-info h3 { 
    font-size: 11px; 
    opacity: 0.9; 
    margin-bottom: 6px; 
}

.presence-info p { 
    font-size: 16px; 
    font-weight: 700; 
}

/* ===== NOTIFICATION - CHAMPYDESK DROP & BOUNCE ===== */
.notification {
    position: fixed;
    bottom: 24px;
    left: 50%;
    padding: 10px 18px 10px 10px;
    border-radius: 14px;
    color: white;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow:
        0 6px 0 rgba(0,0,0,0.25),
        0 8px 30px rgba(0,0,0,0.4),
        inset 0 2px 0 rgba(255,255,255,0.25);
    z-index: 1000;
    animation: notifDrop 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    max-width: 360px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

.notif-mascot {
    width: 38px;
    height: 38px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
    flex-shrink: 0;
}

.notif-text {
    flex: 1;
}

/* Beesés felülről + bounce */
@keyframes notifDrop {
    0% {
        transform: translate(-50%, -600px) scale(1.2) rotate(-3deg);
        opacity: 0;
    }
    40% {
        transform: translate(-50%, 15px) scale(0.95) rotate(1deg);
        opacity: 1;
    }
    55% {
        transform: translate(-50%, -8px) scale(1.05) rotate(-0.5deg);
    }
    70% {
        transform: translate(-50%, 4px) scale(0.98);
    }
    85% {
        transform: translate(-50%, -2px) scale(1.02);
    }
    100% {
        transform: translate(-50%, 0) scale(1) rotate(0deg);
    }
}

/* Gravitációs kiesés lefelé */
.notification.falling {
    animation: notifFall 0.4s cubic-bezier(0.55, 0, 1, 0.45) forwards;
}

@keyframes notifFall {
    0% {
        transform: translate(-50%, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    30% {
        transform: translate(-50%, -12px) scale(1.05) rotate(-2deg);
    }
    100% {
        transform: translate(-50%, 600px) scale(0.8) rotate(8deg);
        opacity: 0;
    }
}

.notification.success {
    background: linear-gradient(180deg, #34d399, #10b981);
    border-color: rgba(255,255,255,0.3);
}

.notification.error {
    background: linear-gradient(180deg, #f87171, #ef4444);
    border-color: rgba(255,255,255,0.3);
}

.notification.warning {
    background: linear-gradient(180deg, #fcd34d, #f59e0b);
    border-color: rgba(255,255,255,0.3);
}

/* ===== WORKDAY EDITOR NAPTÁR ===== */

.wd-calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    max-width: 700px;
    margin: 0 auto;
}

.wd-header {
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: #6b7280;
    padding: 8px 0;
    border-bottom: 2px solid #e5e7eb;
}

.wd-cell {
    aspect-ratio: 1;
    min-height: 60px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    border: 2px solid transparent;
    gap: 2px;
}

.wd-cell:hover {
    transform: scale(1.05);
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wd-cell.wd-empty {
    cursor: default;
    background: transparent;
}

.wd-cell.wd-empty:hover {
    transform: none;
    box-shadow: none;
}

.wd-cell.wd-normal {
    background: #ffffff;
    border-color: #e5e7eb;
    color: #1f2937;
}

.wd-cell.wd-normal:hover {
    border-color: #9ca3af;
}

.wd-cell.wd-weekend {
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #9ca3af;
}

.wd-cell.wd-weekend:hover {
    border-color: #6b7280;
}

.wd-cell.wd-holiday {
    background: #fecaca;
    border-color: #f87171;
    color: #991b1b;
}

.wd-cell.wd-holiday:hover {
    border-color: #dc2626;
    background: #fca5a5;
}

.wd-cell.wd-extra {
    background: #d1fae5;
    border-color: #34d399;
    color: #065f46;
}

.wd-cell.wd-extra:hover {
    border-color: #059669;
    background: #a7f3d0;
}

.wd-cell.wd-special {
    background: #ede9fe;
    border-color: #a78bfa;
    color: #5b21b6;
}

.wd-cell.wd-special:hover {
    border-color: #7c3aed;
    background: #ddd6fe;
}

.wd-status-icon.wd-special-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Speciális nap image picker modal */
.sdp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.sdp-modal {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.sdp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    font-weight: 600;
    font-size: 15px;
    color: #1e1b4b;
}

.sdp-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #6b7280;
    padding: 4px 8px;
    border-radius: 6px;
    line-height: 1;
}

.sdp-close:hover { background: #f3f4f6; }

.sdp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
    gap: 8px;
    max-height: 360px;
    overflow-y: auto;
    margin-bottom: 16px;
}

.sdp-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.15s ease;
}

.sdp-icon-item:hover {
    background: #ede9fe;
    border-color: #a78bfa;
}

.sdp-icon-label {
    font-size: 10px;
    text-align: center;
    color: #4b5563;
    line-height: 1.2;
    word-break: break-word;
}

.sdp-footer {
    display: flex;
    justify-content: flex-end;
}

/* Nap típusválasztó modal (Ünnepnap / Speciális nap) */
.wd-chooser-modal { max-width: 380px; }

.wd-chooser-btns {
    display: flex;
    gap: 12px;
    margin: 4px 0 16px;
}

.wd-chooser-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 18px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}

.wd-chooser-holiday:hover { border-color: #ef4444; background: #fef2f2; }
.wd-chooser-special:hover { border-color: #a78bfa; background: #faf5ff; }

.wd-chooser-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: block;
    flex-shrink: 0;
}

.wd-chooser-btn strong { font-size: 14px; color: #1f2937; }
.wd-chooser-btn small  { font-size: 11px; color: #6b7280; }

.wd-cell.wd-today {
    box-shadow: 0 0 0 3px #2151a4;
}

.wd-day-num {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.wd-status-icon {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.wd-desc {
    font-size: 9px;
    line-height: 1.1;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 2px;
}

@media (max-width: 480px) {
    .wd-cell {
        min-height: 44px;
    }
    .wd-day-num {
        font-size: 13px;
    }
    .wd-desc {
        display: none;
    }
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 768px) {
    /* Hamburger menü megjelenítése */
    .hamburger-btn {
        display: flex;
    }

    /* Mobil nav és overlay - block helyett megfelelő display */
    .mobile-nav-overlay {
        display: block;
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
    }

    /* Eredeti nav elrejtése */
    .nav {
        display: none;
    }

    /* Mobil header: kis logo (bal) + hamburger (jobb), semmi más */
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding: 0 10px;
    }

    .header-center {
        display: none;
    }

    .user-dropdown-wrapper {
        display: none !important;
    }

    .user-dropdown-chevron {
        display: none;
    }

    .logo-img {
        height: 40px;
        width: 40px;
    }

    .company-logo-custom {
        width: 36px !important;
        height: 36px !important;
    }
    .company-logo-frame {
        padding: 4px;
        border-radius: 8px;
    }

    .logo {
        padding: 2px;
    }

    .user-info {
        display: none;
    }

    /* Státusz gombok mobilon: kisebb, egy sorba férjenek */

    /* Dropdown menü mobilon teljes szélességű */
    .user-dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 16px 16px 0 0;
        max-height: 80vh;
        overflow-y: auto;
        transform: translateY(100%);
    }

    .user-dropdown-menu.active {
        transform: translateY(0);
    }

    .status-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .desk-map {
        grid-template-columns: repeat(5, 1fr);
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        padding: 15px;
    }

    .card-title {
        font-size: 16px;
    }

    /* Touch-barát gombok */
    .btn {
        min-height: var(--touch-target-min);
        padding: 12px 20px;
    }

    .btn-danger,
    .btn-secondary {
        min-height: 40px;
        padding: 10px 16px;
    }

    /* Booking header mobil - egymás alá */
    .booking-header {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .booking-header > div {
        width: 100%;
        justify-content: center;
    }

    /* Hónap navigáció kisebb */
    .month-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .month-nav .btn {
        padding: 8px 12px;
        font-size: 11px;
    }

    /* Status selector - kisebb gombok mobilon */
    .status-mode-btn-compact {
        min-height: 32px;
        padding: 4px 8px;
        font-size: 10px;
    }

    .status-icon-compact {
        font-size: 12px;
    }

    .status-label-compact {
        font-size: 9px;
    }

    /* Naptár cellák kisebbek */
    .compact-day-cell {
        min-height: 50px;
        max-height: 55px;
        padding: 3px;
    }

    .compact-day-number {
        font-size: 12px;
    }

    /* Popup mobilon teljes szélesség */
    .desk-popup-card {
        margin: 10px !important;
        max-height: 80vh;
        overflow-y: auto;
    }
}

/* Mobil */
@media (max-width: 480px) {
    .login-split-form {
        padding: 24px 20px;
    }

    .login-company-logo {
        max-width: 80px;
        max-height: 80px;
    }

    .login-company-logo-wrap {
        padding: 12px;
    }

    .container,
    .header-content,
    .nav-content {
        padding: 0 10px;
    }

    .header {
        padding: 12px 0;
    }

    .logo h1 {
        font-size: 18px;
    }

    .logo p {
        font-size: 10px;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }

    .desk-map {
        grid-template-columns: repeat(4, 1fr);
    }

    .user-item {
        padding: 10px;
    }

    .presence-header {
        flex-direction: column;
        text-align: center;
    }

    .notification {
        max-width: calc(100% - 20px);
    }

    /* Booking mobilon - státusz gombok extra kicsik */
    .status-mode-btn-compact {
        min-height: 30px;
        padding: 3px 6px;
        font-size: 9px;
    }

    .status-icon-compact {
        font-size: 11px;
    }

    .status-label-compact {
        font-size: 8px;
    }

    .compact-day-cell {
        min-height: 45px;
        max-height: 50px;
    }

    .compact-day-header {
        font-size: 10px;
        padding: 6px 2px;
    }

    /* Iroda alaprajz mobilon */
    .office-floor-plan {
        padding: 8px !important;
    }

    .office-room {
        padding: 6px !important;
    }

    .room-title {
        font-size: 10px !important;
        padding: 3px 5px !important;
    }

    .popup-desk-btn {
        width: 32px !important;
        height: 28px !important;
        font-size: 9px !important;
    }

    /* Ki van bent kártyák */
    .whoisin-card {
        padding: 10px !important;
    }

    /* Whoisin header mobilon */
    .whoisin-header {
        flex-direction: row !important;
        justify-content: space-between !important;
    }

    .whoisin-header h2 {
        font-size: 14px !important;
    }

    .whoisin-header p {
        font-size: 11px !important;
    }

    /* Nyitó/záró dobozok mobilon */
    .whoisin-opener-closer {
        flex-direction: column !important;
        gap: 10px !important;
    }

    /* Summary táblázat */
    .summary-table {
        font-size: 10px;
    }

    .summary-table th,
    .summary-table td {
        padding: 3px 2px;
    }
}

/* Extra kis képernyők (iPhone SE, stb.) */
@media (max-width: 380px) {
    .container,
    .header-content,
    .nav-content {
        padding: 0 8px;
    }

    .card {
        padding: 12px;
        border-radius: var(--radius-md);
    }

    .card-title {
        font-size: 15px;
    }

    .status-card {
        padding: 10px 6px;
        min-height: 70px;
    }

    .status-icon {
        font-size: 20px;
    }

    .status-label {
        font-size: 11px;
    }

    .desk-map {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .desk {
        font-size: 10px;
        min-height: 28px;
    }

    .stat-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 12px;
    }

    .stat-value {
        font-size: 24px;
    }

    .stat-label {
        font-size: 11px;
    }

    .btn {
        font-size: 13px;
        padding: 10px 16px;
    }

    .mobile-nav {
        width: 100%;
        right: -100%;
    }

    /* Login mobilon - split kártya egymás alá */
    .login-split {
        flex-direction: column;
        max-width: 420px;
        border-radius: 20px;
    }

    .login-split-branding {
        flex: 0 0 auto;
        padding: 28px 24px;
    }

    .login-split-branding::before {
        display: none;
    }

    .login-company-logo {
        max-width: 90px;
        max-height: 90px;
    }

    .login-company-logo-wrap {
        padding: 12px;
        border-radius: 16px;
    }

    .login-company-name {
        font-size: 18px;
    }

    .login-branding-tagline {
        font-size: 12px;
    }

    .login-split-form {
        padding: 28px 24px;
    }

    .login-title {
        font-size: 20px;
    }
}

/* ===== ADMIN SPECIFIC (KOMPAKT) ===== */
.admin .stat-card {
    padding: 12px;
}

.admin .stat-value {
    font-size: 24px;
}

.admin .user-list .user-item {
    padding: 10px;
}

.admin .badge-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
}

.status-mode-btn {
    padding: 12px 8px;
    border: 2px solid;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-weight: 600;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.status-mode-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.status-mode-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    font-weight: 700;
}

/* Havi tervezÅ‘ naptÃ¡r */
.monthly-planner {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.planner-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.day-header {
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    border-right: 1px solid #e5e7eb;
}

.day-header:last-child {
    border-right: none;
}

.planner-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.day-cell {
    min-height: 90px;
    padding: 8px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    background: white;
}

.day-cell:hover {
    background: #f8fafc !important;
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.day-cell.today {
    border: 3px solid #fbbf24;
    background: #fffbeb;
}

.day-cell.selected {
    border: 3px solid #2151a4;
    box-shadow: 0 0 0 1px #2151a4;
}

.day-cell.empty {
    background: #f9fafb;
    cursor: default;
}

.day-cell.empty:hover {
    background: #f9fafb !important;
    transform: none;
    box-shadow: none;
}

.day-cell:nth-child(7n) {
    border-right: none;
}

.day-number {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    text-align: center;
}

.my-status {
    text-align: center;
    padding: 2px 4px;
    border-radius: 4px;
    background: rgba(255,255,255,0.8);
    margin: 2px 0;
}

.colleagues-info {
    margin-top: auto;
}

.colleague-avatars {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    justify-content: center;
    margin-bottom: 2px;
}

.colleague-avatar {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 8px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    border: 1px solid white;
    cursor: pointer;
}

.colleague-avatar:hover {
    transform: scale(1.2);
    z-index: 3;
}

/* Asztal vÃ¡lasztÃ³ */
.desk-selector-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.desk-btn {
    aspect-ratio: 1;
    min-height: 32px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.desk-btn:hover:not(.occupied) {
    border-color: #2151a4;
    background: #e8f4fa;
    transform: scale(1.1);
}

.desk-btn.selected {
    background: #10b981;
    color: white;
    border-color: #10b981;
    transform: scale(1.05);
}

.desk-btn.favorite {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #f59e0b;
}

.desk-btn.occupied {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Responsive breakpoints */
@media (max-width: 1024px) {
    .day-cell {
        min-height: 80px;
        padding: 6px;
    }
    
    .day-number {
        font-size: 14px;
    }
    
    .colleague-avatar {
        width: 14px;
        height: 14px;
        font-size: 7px;
    }
    
    .desk-selector-grid {
        grid-template-columns: repeat(8, 1fr);
    }
}

@media (max-width: 768px) {
    .status-selector {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .status-mode-btn {
        padding: 8px 4px;
        min-height: 60px;
        font-size: 12px;
    }
    
    .day-cell {
        min-height: 70px;
        padding: 4px;
    }
    
    .day-number {
        font-size: 13px;
        margin-bottom: 2px;
    }
    
    .my-status {
        font-size: 9px;
    }
    
    .colleague-avatar {
        width: 12px;
        height: 12px;
        font-size: 6px;
    }
    
    .desk-info {
        font-size: 8px !important;
    }
    
    .desk-selector-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 4px;
    }
    
    .desk-btn {
        min-height: 28px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .status-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .day-cell {
        min-height: 60px;
        padding: 3px;
    }
    
    .day-number {
        font-size: 12px;
    }
    
    .my-status {
        font-size: 8px;
        padding: 1px 2px;
    }
    
    .colleague-avatar {
        width: 10px;
        height: 10px;
        font-size: 5px;
    }
    
    .desk-selector-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .desk-btn {
        min-height: 24px;
        font-size: 9px;
    }
}

/* AnimÃ¡ciÃ³k */
@keyframes statusModeActivate {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.status-mode-btn.active {
    animation: statusModeActivate 0.3s ease;
}

@keyframes dayClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.day-cell:active {
    animation: dayClick 0.1s ease;
}

/* Tooltipek */
.colleague-avatar[title]:hover::before {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    z-index: 1000;
    pointer-events: none;
}

.desk-btn[title]:hover::before {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    z-index: 1000;
}
/* ===== POPUP Ã‰S IDÅKORLÃT STÃLUSOK ===== */

/* MÃºltbeli napok */
.day-cell.past {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.day-cell.past:hover {
    background: #f3f4f6 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Popup alaprajz */
.office-floor-plan {
    background: #fafbfc;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.office-room {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    position: relative;
}

.room-title {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
    text-align: center;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #d1d5db;
}

/* Popup asztal gombok */
.popup-desk-btn {
    width: 48px;
    height: 40px;
    border: 2px solid;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-desk-btn:hover:not(.occupied) {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.popup-desk-btn.my-desk {
    background: linear-gradient(180deg, #2d5db8, #2151a4);
    color: white;
    border-color: #183d7a;
    transform: scale(1.05);
    box-shadow: 0 3px 0 rgba(0,0,0,0.2), 0 0 10px rgba(33,81,164,0.4);
}

.popup-desk-btn.favorite {
    background: #fbbf24;
    color: white;
    border-color: #f59e0b;
}

.popup-desk-btn.occupied {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    border-color: #d1d5db;
}

.popup-desk-btn:not(.occupied):not(.my-desk) {
    background: #10b981;
    color: white;
    border-color: #059669;
}

/* Szalon szigetek speciÃ¡lis stÃ­lusok */
.office-room:has(.popup-desk-btn[title*="Sz"]) {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #0ea5e9;
}

/* Responsive popup */
@media (max-width: 768px) {
    .office-floor-plan {
        padding: 12px;
    }
    
    .popup-desk-btn {
        width: 40px;
        height: 36px;
        font-size: 10px;
    }
    
    .room-title {
        font-size: 11px;
        padding: 3px 6px;
        margin-bottom: 6px;
    }
    
    .office-room {
        padding: 8px;
    }
    
    /* Szalon mobil layout */
    .office-room:has(.popup-desk-btn[title*="Sz"]) > div > div:nth-child(2) > div:nth-child(2) > div {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: none !important;
    }
}

@media (max-width: 480px) {
    .popup-desk-btn {
        width: 36px;
        height: 32px;
        font-size: 9px;
    }
    
    .room-title {
        font-size: 10px;
        padding: 2px 4px;
    }
    
    /* KÃ¶zÃ©psÅ‘ grid mobil Ã¡trendezÃ©s */
    div[style*="grid-template-columns: 1fr 3fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    
    /* Bal szobÃ¡k vÃ­zszintes elrendezÃ©s */
    div[style*="display: grid; gap: 8px;"]:first-child {
        display: flex !important;
        overflow-x: auto !important;
        gap: 8px !important;
        padding-bottom: 8px;
    }
    
    .office-room {
        min-width: 140px;
        flex-shrink: 0;
    }
}

/* Popup overlay animÃ¡ciÃ³k */
#deskPopup {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(4px);
    }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes scaleIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#deskPopup > div {
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Tooltip javÃ­tÃ¡sok */
.popup-desk-btn[title]:hover::before {
    content: attr(title);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 1001;
    pointer-events: none;
}

.popup-desk-btn[title]:hover::after {
    content: '';
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 1001;
}

/* Szoba-specifikus szÃ­nek */
.office-room:has(.popup-desk-btn[title*="KistÃ¡rgyalÃ³"]) {
    background: linear-gradient(135deg, #fef7cd 0%, #fef3c7 100%);
    border-color: #f59e0b;
}

.office-room:has(.popup-desk-btn[title*="Nagy tÃ¡rgyalÃ³"]) {
    background: linear-gradient(135deg, #fef7cd 0%, #fef3c7 100%);
    border-color: #f59e0b;
}

.office-room:has(.popup-desk-btn[title*="Support"]) {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    border-color: #ec4899;
}

.office-room:has(.popup-desk-btn[title*="Projekt"]) {
    background: linear-gradient(135deg, #fef9e7 0%, #e9d5ff 100%);
    border-color: #a855f7;
}

.office-room:has(.popup-desk-btn[title*="BÃ©res"]) {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #10b981;
}

/* ===== BOOKING RESPONSIVE STYLES ===== */
.status-section {
    margin-bottom: 12px;
}

.status-section-title {
    font-size: 12px;
    margin-bottom: 6px;
    font-weight: 600;
}

/* Booking responsive - mobilon */
@media (max-width: 480px) {
    .status-section-title {
        font-size: 11px;
    }
}


/* ===== KOMPAKT STÃLUSOK (KÃ‰PERNYÅ MÃ‰RETEZÃ‰S) ===== */

/* Kompakt stÃ¡tusz vÃ¡lasztÃ³ */
/* Kompakt státusz választó - MINDIG 1 SOR, horizontális scroll mobilon */
.status-selector-compact {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 4px;
}

@media (max-width: 768px) {
    .status-selector-compact {
        flex-wrap: nowrap !important;
        gap: 4px;
        justify-content: center;
    }
    .status-mode-btn-compact {
        padding: 8px !important;
    }
    .status-mode-btn-compact .status-label-compact {
        display: none;
    }
    .status-mode-btn-compact img {
        width: 24px !important;
        height: 24px !important;
    }
}

.status-selector-compact::-webkit-scrollbar {
    display: none;
}

/* Status gombok - btn-secondary stílus, horizontális */
.status-mode-btn-compact {
    padding: 6px 12px;
    border: 2px solid #b7d1ed;
    border-bottom: 3px solid #9ca3af;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f4f8 100%);
    cursor: pointer;
    transition: all 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    font-weight: 700;
    min-height: 36px;
    flex: 1 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #374151;
    white-space: nowrap;
}

.status-mode-btn-compact:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.status-mode-btn-compact:active {
    transform: translateY(2px);
    border-bottom-width: 1px;
}

/* Aktív status gomb - színes háttér */
.status-mode-btn-compact.active {
    color: white !important;
    border-color: transparent;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    transform: translateY(-1px);
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

/* Státusz gomb ikon és label */
.status-icon-compact {
    font-size: 14px;
    line-height: 1;
}

.status-label-compact {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

/* Mobilon még kisebb */
@media (max-width: 480px) {
    .status-icon-compact {
        font-size: 12px;
    }
    
    .status-label-compact {
        font-size: 8px;
    }
}

@media (max-width: 380px) {
    .status-icon-compact {
        font-size: 11px;
    }
    
    .status-label-compact {
        font-size: 7px;
    }
}

/* Kompakt havi naptÃ¡r */
.compact-monthly-planner {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.compact-planner-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.compact-day-header {
    padding: 8px 4px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: #374151;
    border-right: 1px solid #e5e7eb;
}

.compact-day-header:last-child {
    border-right: none;
}

.compact-planner-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.compact-day-cell {
    min-height: 72px;
    max-height: 72px;
    padding: 4px;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.compact-day-cell:hover:not(.empty):not(.past) {
    background: #f8fafc !important;
    transform: scale(1.02);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.compact-day-cell.today {
    border: 2px solid #fbbf24;
    background: #fffbeb;
}

.compact-day-cell.selected {
    border: 2px solid #2151a4;
    box-shadow: 0 0 0 1px #2151a4;
}

.compact-day-cell.empty {
    background: #f9fafb;
    cursor: default;
}

.compact-day-cell.past {
    background: #f3f4f6 !important;
    color: #9ca3af !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.compact-day-cell.past:hover {
    background: #f3f4f6 !important;
    transform: none !important;
    box-shadow: none !important;
}

.compact-day-cell:nth-child(7n) {
    border-right: none;
}

.compact-day-number {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    text-align: center;
    line-height: 1;
}

/* Kompakt popup stÃ­lusok */
.compact-office-room {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 8px;
    position: relative;
}

.compact-room-title {
    font-size: 10px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
    text-align: center;
    background: #f3f4f6;
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid #d1d5db;
}

.compact-desk-btn {
    width: 28px;
    height: 24px;
    border: 2px solid;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
}

.compact-desk-btn:hover:not([style*="not-allowed"]) {
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* Szalon speciÃ¡lis szÃ­nezÃ©s */
.compact-office-room:has(.compact-desk-btn[title*="Sz"]) {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-color: #0ea5e9;
}

/* Hover popup stÃ­lusok */
#hoverPopup {
    pointer-events: none;
    z-index: 1001;
}

/* Responsive kompakt verziÃ³ */
@media (max-width: 768px) {
    .compact-day-cell {
        min-height: 58px;
        max-height: 58px;
        padding: 2px;
    }

    .compact-day-number {
        font-size: 12px;
        margin-bottom: 1px;
    }

    .status-mode-btn-compact {
        padding: 5px 3px;
        min-height: 42px;
        font-size: 9px;
    }
    
    .compact-desk-btn {
        width: 24px;
        height: 20px;
        font-size: 7px;
    }
    
    .compact-room-title {
        font-size: 9px;
        padding: 2px 4px;
        margin-bottom: 4px;
    }
    
    .compact-office-room {
        padding: 6px;
    }
    
    /* Szalon mobil layout - 4+3 asztal */
    .compact-office-room:has(.compact-desk-btn[title*="Sz"]) > div > div:first-child {
        grid-template-columns: repeat(4, 1fr) !important;
    }
    
    .compact-office-room:has(.compact-desk-btn[title*="Sz"]) > div > div:last-child {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .compact-day-cell {
        min-height: 45px;
        max-height: 45px;
        padding: 2px 1px;
    }
    
    .compact-day-number {
        font-size: 11px;
    }
    
    .status-mode-btn-compact {
        min-height: 36px;
        min-width: 44px;
        font-size: 8px;
    }
    
    .compact-desk-btn {
        width: 20px;
        height: 18px;
        font-size: 6px;
    }
    
    .compact-room-title {
        font-size: 8px;
        padding: 1px 3px;
    }
    
    /* Popup layout mobilon egymÃ¡s alatt */
    div[style*="grid-template-columns: 1fr 2fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 6px !important;
    }
    
    /* Bal szobÃ¡k horizontÃ¡lis */
    div[style*="display: grid; gap: 6px;"]:first-child {
        display: flex !important;
        overflow-x: auto !important;
        gap: 6px !important;
        padding-bottom: 6px;
    }
    
    .compact-office-room {
        min-width: 100px;
        flex-shrink: 0;
    }
    
    /* Szalon mobil 2 sor x 3-4 asztal */
    .compact-office-room:has(.compact-desk-btn[title*="Sz"]) > div > div {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* Ultra kompakt (kis laptop képernyők) */
@media (max-width: 1024px) and (max-height: 768px) {
    .card {
        padding: 12px !important;
    }

    .compact-day-cell {
        min-height: 64px;
        max-height: 64px;
    }

    .status-mode-btn-compact {
        min-height: 42px;
        font-size: 9px;
    }

    /* Login kártya kompaktabb kis viewporton */
    .login-screen .logo-img {
        height: 40px;
        width: 40px;
    }
    .login-split-branding {
        padding: 16px 16px;
    }
    .login-split-form {
        padding: 16px 20px;
    }
    .login-body {
        padding: 0 12px 4px;
    }
}

/* AnimÃ¡ciÃ³k */
/* Státusz mód banner pulse animáció */
@keyframes statusBannerPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

@keyframes compactDayClick {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.compact-day-cell:active:not(.empty):not(.past) {
    animation: compactDayClick 0.1s ease;
}

/* === Hétvége / Ünnepnap / Extra munkanap vizuális megkülönböztetés === */

/* Hétvége fejléc (6. és 7. oszlop - Sz, V) */
.compact-day-header:nth-child(6),
.compact-day-header:nth-child(7) {
    color: #9ca3af;
    background: #f1f5f9;
    font-style: italic;
}

/* Hétvége cellák - csíkos háttér mintával */
.compact-day-cell.weekend {
    background: repeating-linear-gradient(
        -45deg,
        #f8fafc,
        #f8fafc 4px,
        #f1f5f9 4px,
        #f1f5f9 8px
    ) !important;
}

.compact-day-cell.weekend .compact-day-number {
    color: #9ca3af;
}

/* Ünnepnap - erősebb piros háttér */
.compact-day-cell.holiday {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
}

.compact-day-cell.holiday .compact-day-number {
    color: #dc2626;
}

/* Extra munkanap - erősebb zöld háttér */
.compact-day-cell.extra-workday {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
}

.compact-day-cell.extra-workday .compact-day-number {
    color: #16a34a;
}

/* Speciális nap - levendula háttér */
.compact-day-cell.special-day {
    background: #ede9fe !important;
    border-color: #a78bfa !important;
}

.compact-day-cell.special-day .compact-day-number {
    color: #6d28d9;
}

.booking-special-icon {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 1px;
}

/* Booking felülírja a hétvége/ünnepnap stílust */
.compact-day-cell.has-booking {
    background: none !important;
}

/* Kitöltetlen munkanap - finom jelzés */
.compact-day-cell.unfilled {
    border-left: 3px solid #fbbf24;
}

.compact-day-cell.unfilled .compact-day-number::after {
    content: '?';
    font-size: 8px;
    color: #d97706;
    font-weight: 700;
    margin-left: 2px;
    opacity: 0.7;
}

/* === Jelmagyarázat (Legend) === */
.calendar-legend {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    flex-wrap: wrap;
    justify-content: center;
}

.calendar-legend-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-legend-title {
    font-size: 9px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-legend-items {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.calendar-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #374151;
}

.calendar-legend-swatch {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.calendar-legend-swatch-weekend {
    background: repeating-linear-gradient(
        -45deg,
        #f8fafc,
        #f8fafc 3px,
        #e2e8f0 3px,
        #e2e8f0 6px
    );
    border: 1.5px solid #cbd5e1;
}

.calendar-legend-swatch-circle {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Legend responsive */
@media (max-width: 768px) {
    .calendar-legend {
        gap: 10px;
        padding: 8px 10px;
    }

    .calendar-legend-item {
        font-size: 10px;
    }

    .calendar-legend-swatch {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .calendar-legend {
        gap: 6px;
        padding: 6px 8px;
    }

    .calendar-legend-group {
        width: 100%;
    }

    .calendar-legend-item {
        font-size: 9px;
    }
}

@keyframes hoverPopupFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#hoverPopup[style*="display: block"] {
    animation: hoverPopupFadeIn 0.2s ease;
}

/* Tooltip javÃ­tÃ¡sok kompakt verziÃ³hoz */
.compact-desk-btn[title]:hover::before {
    content: attr(title);
    position: absolute;
    bottom: 110%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 1002;
    pointer-events: none;
}

.compact-desk-btn[title]:hover::after {
    content: '';
    position: absolute;
    bottom: 105%;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 1002;
}


/* ===== DESK POPUP MOBIL STÍLUSOK ===== */

/* Popup overlay */
.desk-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* Popup konténer */
.desk-popup-container {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 1400px;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 0 rgba(0,0,0,0.12), 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    border: 3px solid var(--color-highlight-light);
}

/* Popup header */
.desk-popup-header {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #2151a4 0%, #00919e 100%);
    flex-shrink: 0;
    border-bottom: 3px solid rgba(0,0,0,0.1);
}

.desk-popup-header h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 400;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
}

.desk-popup-close-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.desk-popup-close-btn:hover {
    background: rgba(255,255,255,0.35);
}

/* Popup info sáv - badge-ek a visszaszámlálóhoz, székekhez, emberekhez */
.desk-popup-info-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #e8f4fa;
    border-bottom: 1px solid #d0e4f0;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.desk-popup-badge {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.desk-popup-badge strong {
    font-weight: 700;
}

.desk-popup-badge-timer {
    background: rgba(100, 116, 230, 0.15);
    color: #4338ca;
}

.desk-popup-badge-seats {
    background: rgba(16, 185, 129, 0.12);
    color: #065f46;
}

.desk-popup-badge-people {
    background: rgba(59, 130, 246, 0.12);
    color: #1e40af;
}

.desk-popup-badge-changes {
    background: rgba(251, 191, 36, 0.2);
    color: #92400e;
}

/* Popup tartalom */
.desk-popup-content {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #f8fafc;
    overflow-y: auto;
}

/* Iroda alaprajz - mobilon egymás alá */
.office-floor-layout {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
}

/* Szoba doboz */
.room-box {
    background: white;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

.room-box-header {
    background: #f1f5f9;
    padding: 6px 10px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.room-box-header span {
    font-weight: 600;
    font-size: 11px;
    color: #334155;
}

.room-box-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    min-height: 0;
}

/* Asztalok grid - mobilon kisebb */
.desks-grid {
    display: grid;
    gap: 4px;
}

/* Asztal gomb */
.desk-btn-popup {
    border-radius: 6px;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s, box-shadow 0.1s;
}

/* Popup footer - jelmagyarázat + gombok */
.desk-popup-footer {
    padding: 10px 15px;
    background: white;
    border-top: 2px solid #e5e7eb;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.desk-popup-legend-items {
    display: flex;
    gap: 10px;
    font-size: 10px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.desk-popup-footer-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.desk-popup-btn-cancel {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    color: #374151;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    min-height: 44px;
}

.desk-popup-btn-cancel:hover {
    background: #e5e7eb;
}

.desk-popup-btn-save {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: white;
    padding: 10px 32px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.2s;
    min-height: 44px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.desk-popup-btn-save:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* ===== MOBIL BREAKPOINTS ===== */
@media (max-width: 768px) {
    .desk-popup-overlay {
        padding: 5px;
    }
    
    .desk-popup-container {
        border-radius: 10px;
        max-height: 98vh;
    }
    
    .desk-popup-header {
        padding: 10px 12px;
    }

    .desk-popup-header h2 {
        font-size: 13px;
    }

    .desk-popup-info-bar {
        padding: 6px 10px;
        gap: 6px;
    }

    .desk-popup-badge {
        padding: 4px 10px;
        font-size: 12px;
    }
    
    .desk-popup-content {
        padding: 8px;
    }
    
    /* Iroda layout - 1 oszlop mobilon */
    .office-floor-layout {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .office-floor-layout > div {
        width: 100% !important;
    }
    
    /* Szoba dobozok */
    .room-box {
        margin-bottom: 6px;
    }
    
    .room-box-header {
        padding: 5px 8px;
    }
    
    .room-box-header span {
        font-size: 10px;
    }
    
    .room-box-content {
        padding: 6px;
    }
    
    /* Asztalok kisebb méretben */
    .desks-grid {
        gap: 3px;
    }
    
    .desk-btn-popup {
        width: 44px !important;
        height: 40px !important;
        font-size: 10px !important;
        border-radius: 5px;
    }
    
    .desk-btn-popup .desk-avatar {
        width: 24px !important;
        height: 24px !important;
    }
    
    /* Footer kisebb */
    .desk-popup-footer {
        padding: 8px 12px;
        gap: 8px;
    }

    .desk-popup-legend-items {
        gap: 6px;
        font-size: 9px;
    }

    .desk-popup-footer-buttons {
        gap: 8px;
    }

    .desk-popup-btn-cancel,
    .desk-popup-btn-save {
        padding: 8px 18px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .desk-popup-header h2 {
        font-size: 12px;
    }

    .desk-popup-badge {
        padding: 3px 8px;
        font-size: 11px;
    }
    
    .desk-btn-popup {
        width: 38px !important;
        height: 34px !important;
        font-size: 9px !important;
    }
    
    .desk-btn-popup .desk-avatar {
        width: 20px !important;
        height: 20px !important;
    }
    
    .room-box-header span {
        font-size: 9px;
    }
    
    /* Waitlist szekció */
    #waitlistSection {
        padding: 12px !important;
    }
    
    #waitlistSection h3 {
        font-size: 14px !important;
    }
    
    #waitlistSection p {
        font-size: 11px !important;
    }
    
    #waitlistSection button {
        padding: 10px 16px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 380px) {
    .desk-popup-container {
        border-radius: 8px;
    }

    .desk-popup-header {
        padding: 8px 10px;
    }

    .desk-popup-header h2 {
        font-size: 11px;
    }

    .desk-btn-popup {
        width: 34px !important;
        height: 30px !important;
        font-size: 8px !important;
    }

    .desk-btn-popup .desk-avatar {
        width: 18px !important;
        height: 18px !important;
    }

    .desk-popup-legend-items {
        font-size: 8px;
    }

    .desk-popup-info-bar {
        padding: 5px 8px;
        gap: 4px;
    }

    .desk-popup-badge {
        padding: 2px 6px;
        font-size: 10px;
    }

    .desk-popup-btn-cancel,
    .desk-popup-btn-save {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* ===== MOBIL AVATAR TOOLTIP ===== */
.mobile-avatar-tooltip {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    max-width: 280px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.15s ease, transform 0.15s ease;
    transform: translate(-50%, -100%) scale(0.9);
    pointer-events: none;
}

.mobile-avatar-tooltip.visible {
    opacity: 1;
    transform: translate(-50%, -100%) scale(1);
}

/* Tooltip nyíl */
.mobile-avatar-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

/* Kattintható avatar kurzor */
.clickable-avatar {
    cursor: pointer;
    display: inline-block;
    transition: transform 0.1s ease;
}

.clickable-avatar:active {
    transform: scale(0.95);
}

/* Mobilon nagyobb touch target */
@media (max-width: 768px) {
    .clickable-avatar {
        padding: 2px;
    }

    .mobile-avatar-tooltip {
        font-size: 14px;
        padding: 10px 16px;
    }
}

/* ===== AVATAR GYŰJTEMÉNY NÉZET ===== */

.avatar-collection-card {
    padding: 16px;
}

/* Fejléc */
.avatar-collection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.avatar-collection-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.avatar-stat-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.avatar-stat-progress {
    background: #dbeafe;
    color: #1e40af;
}

.avatar-stat-level {
    background: #fef9e7;
    color: #b89900;
}

.avatar-stat-balance {
    background: #fef3c7;
    color: #92400e;
}

/* Fő layout: Grid + Sticky Preview */
.avatar-collection-layout {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.avatar-collection-main {
    flex: 1;
    min-width: 0;
}

/* Szűrő fülek */
.avatar-filter-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.avatar-filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    background: white;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.avatar-filter-tab:hover {
    border-color: #2151a4;
    color: #2151a4;
}

.avatar-filter-tab.active {
    background: #2151a4;
    border-color: #2151a4;
    color: white;
}

.avatar-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(0,0,0,0.08);
}

.avatar-filter-tab.active .avatar-filter-count {
    background: rgba(255,255,255,0.3);
}

/* Gyűjtemény grid */
.avatar-collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
}

.avatar-collection-empty {
    grid-column: 1 / -1;
    padding: 30px;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #cbd5e1;
}

/* Avatar slot */
.avatar-slot {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 4px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.15s;
    text-align: center;
}

.avatar-slot:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #94a3b8;
}

.avatar-slot--selected {
    border-color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 0 0 2px #10b98140;
}

.avatar-slot--previewed {
    border-color: #3b82f6;
    background: #eff6ff;
}

.avatar-slot--locked {
    cursor: pointer;
    opacity: 1;
}

.avatar-slot--locked .avatar-slot-image {
    filter: brightness(0.3) grayscale(1) blur(2px);
}

.avatar-slot--locked:hover {
    border-color: #94a3b8;
}

.avatar-slot--owned {
    border-color: #f0ca00;
}

.avatar-slot-image {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3px;
    border-radius: 50%;
    overflow: hidden;
}

.avatar-slot-name {
    font-size: 10px;
    font-weight: 600;
    color: #374151;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 65px;
}

.avatar-slot--locked .avatar-slot-name {
    color: #94a3b8;
}

.avatar-slot-level {
    font-size: 9px;
    color: #94a3b8;
    font-weight: 600;
}

/* Státusz ikonok */
.avatar-slot-status {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
    line-height: 1;
    z-index: 1;
}

.avatar-slot-status--selected {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
}

.avatar-slot-status--locked {
    font-size: 12px;
}

.avatar-slot-status--owned {
    width: 8px;
    height: 8px;
    background: #f0ca00;
    border-radius: 50%;
}

/* Ár badge */
.avatar-price-badge {
    position: absolute;
    bottom: 2px;
    right: 2px;
    padding: 1px 4px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 700;
    background: #dbeafe;
    color: #1e40af;
    z-index: 1;
}

.avatar-price-badge--expensive {
    background: #fef3c7;
    color: #92400e;
}

/* ===== STICKY PREVIEW PANEL (Desktop) ===== */

.avatar-preview-panel {
    width: 220px;
    flex-shrink: 0;
    position: sticky;
    top: 20px;
    background: #f8fafc;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 16px;
}

.avatar-preview-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.avatar-preview-image {
    display: flex;
    justify-content: center;
}

.avatar-preview-circle {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    overflow: hidden;
}

.avatar-preview-monogram {
    font-size: 44px;
    font-weight: bold;
    color: white;
}

.avatar-preview-info {
    text-align: center;
    width: 100%;
}

.avatar-preview-name {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.avatar-preview-status {
    font-size: 13px;
    margin-bottom: 8px;
}

.avatar-select-btn {
    width: 100%;
    padding: 8px 16px;
    font-size: 13px;
}

/* Monogram & Szín szekció a panelben */
.avatar-preview-customization {
    width: 100%;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.avatar-preview-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
}

.avatar-monogram-row {
    margin-bottom: 8px;
}

.avatar-monogram-input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
}

.avatar-monogram-input:focus {
    border-color: #2151a4;
    outline: none;
    box-shadow: 0 0 0 2px #2151a430;
}

.avatar-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.avatar-color-swatch {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.avatar-color-swatch:hover:not(.locked) {
    transform: scale(1.15);
}

.avatar-color-swatch.active {
    border: 3px solid #1e293b;
}

.avatar-color-swatch.locked {
    opacity: 0.4;
    cursor: not-allowed;
}

.swatch-lock {
    font-size: 10px;
}

.swatch-check {
    color: white;
    font-size: 12px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.avatar-color-picker-input {
    width: 44px;
    height: 32px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
}

/* Preview panel gombok */
.avatar-preview-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.avatar-action-btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 13px;
}

/* ===== MOBIL PREVIEW SÁV (felül) ===== */

.avatar-mobile-preview-bar {
    display: none;
}

.avatar-mobile-preview-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
}

.avatar-mobile-preview-img {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.avatar-mobile-preview-monogram {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.avatar-mobile-preview-info {
    flex: 1;
    min-width: 0;
}

.avatar-mobile-preview-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.avatar-mobile-preview-status {
    font-size: 12px;
}

.avatar-mobile-preview-action {
    flex-shrink: 0;
}

/* ===== MOBIL ALSÓ SÁV ===== */

.avatar-mobile-bottom-bar {
    display: none;
}

.avatar-mobile-bottom-content {
    padding: 10px 12px;
}

.avatar-mobile-monogram-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 8px;
}

.avatar-monogram-input--mobile {
    width: 60px;
    flex-shrink: 0;
    text-align: center;
}

.avatar-mobile-color-compact {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
}

.avatar-mobile-action-buttons {
    display: flex;
    gap: 8px;
}

.avatar-action-btn--mobile {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
}

/* ===== RESPONSIVE: AVATAR GYŰJTEMÉNY ===== */

@media (max-width: 768px) {
    /* Mobil: nincs oldalsó panel, van felső + alsó sticky */
    .avatar-preview-panel {
        display: none;
    }

    .avatar-mobile-preview-bar {
        display: block;
        position: sticky;
        top: 0;
        z-index: 10;
        background: white;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        margin: -16px -16px 12px -16px;
        border-radius: 12px 12px 0 0;
    }

    .avatar-mobile-bottom-bar {
        display: block;
        position: sticky;
        bottom: 0;
        z-index: 10;
        background: white;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
        margin: 12px -16px -16px -16px;
        border-radius: 0 0 12px 12px;
    }

    .avatar-collection-layout {
        flex-direction: column;
    }

    .avatar-collection-grid {
        grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
        gap: 6px;
    }

    .avatar-slot-image {
        width: 42px;
        height: 42px;
    }

    .avatar-slot {
        padding: 5px 3px;
    }

    .avatar-filter-tab {
        padding: 5px 10px;
        font-size: 12px;
    }

    .avatar-collection-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .avatar-collection-grid {
        grid-template-columns: repeat(auto-fill, minmax(55px, 1fr));
        gap: 5px;
    }

    .avatar-slot-image {
        width: 38px;
        height: 38px;
    }

    .avatar-slot-name {
        font-size: 9px;
        max-width: 50px;
    }

    .avatar-filter-tabs {
        gap: 4px;
    }

    .avatar-filter-tab {
        padding: 4px 8px;
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .avatar-collection-grid {
        grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
        gap: 4px;
    }

    .avatar-slot {
        padding: 4px 2px;
    }

    .avatar-slot-image {
        width: 34px;
        height: 34px;
    }

    .avatar-mobile-monogram-row {
        flex-wrap: wrap;
    }

    .avatar-stat-badge {
        font-size: 11px;
        padding: 3px 8px;
    }
}

/* ===== MR. CHAMPY TUTORIAL SLIDESHOW ===== */

#tutorialSlideshow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.tutorial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tutorial-card {
    background: white;
    border-radius: 20px;
    padding: 30px 28px 22px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 8px 0 rgba(0,0,0,0.1), 0 20px 60px rgba(0,0,0,0.3);
    border: 3px solid #e0e7ff;
    position: relative;
    animation: scaleIn 0.3s ease;
    text-align: center;
}

.tutorial-mascot {
    margin-bottom: 10px;
}

.tutorial-mascot-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    animation: tutorialBounce 2s ease infinite;
}

@keyframes tutorialBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.tutorial-bubble {
    background: #f0f4ff;
    border-radius: 16px;
    padding: 18px 16px;
    margin-bottom: 18px;
    border: 1px solid #dbe4ff;
    position: relative;
}

.tutorial-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: #dbe4ff;
    border-top: none;
}

.tutorial-bubble::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: #f0f4ff;
    border-top: none;
}

.tutorial-emoji {
    font-size: 36px;
    margin-bottom: 6px;
    line-height: 1;
}

.tutorial-title {
    font-size: 18px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 8px;
    font-family: var(--font-display, 'Bree Serif', serif);
}

.tutorial-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Tutorial navigáció */
.tutorial-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.tutorial-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 10px;
    transition: all 0.15s;
    color: #64748b;
}

.tutorial-nav-btn:hover {
    background: #f1f5f9;
    color: #334155;
}

.tutorial-skip {
    font-size: 13px;
    color: #94a3b8;
    min-width: 70px;
    text-align: left;
}

.tutorial-skip:hover {
    color: #64748b;
}

.tutorial-arrows {
    display: flex;
    gap: 6px;
    align-items: center;
}

.tutorial-prev,
.tutorial-next {
    background: #f0f4ff !important;
    color: #2151a4 !important;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px !important;
    border: 2px solid #dbe4ff !important;
}

.tutorial-prev:hover,
.tutorial-next:hover {
    background: #2151a4 !important;
    color: white !important;
    border-color: #2151a4 !important;
}

.tutorial-next {
    background: linear-gradient(135deg, #2151a4, #00919e) !important;
    color: white !important;
    border-color: transparent !important;
    border-radius: 12px !important;
    padding: 8px 18px !important;
    font-size: 14px !important;
    min-width: auto;
    white-space: nowrap;
}

.tutorial-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 81, 164, 0.3);
}

/* Tutorial pöttyök */
.tutorial-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.tutorial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.2s;
}

.tutorial-dot.active {
    background: #2151a4;
    width: 20px;
    border-radius: 4px;
}

.tutorial-dot:hover {
    background: #94a3b8;
}

.tutorial-counter {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 12px;
    font-weight: 600;
}

/* ===== MR. CHAMPY FAQ / HELP MODAL ===== */

#helpModal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.help-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.help-modal-card {
    background: white;
    border-radius: 18px;
    max-width: 560px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 0 rgba(0,0,0,0.1), 0 20px 60px rgba(0,0,0,0.3);
    border: 3px solid #e0e7ff;
    animation: scaleIn 0.3s ease;
    overflow: hidden;
}

.help-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #2151a4, #00919e);
    color: white;
    flex-shrink: 0;
    border-bottom: 3px solid rgba(0,0,0,0.1);
}

.help-modal-mascot {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
    flex-shrink: 0;
}

.help-modal-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    font-family: var(--font-display, 'Bree Serif', serif);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.help-modal-subtitle {
    font-size: 13px;
    margin: 2px 0 0;
    opacity: 0.85;
}

.help-modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    transition: background 0.2s;
    font-size: 16px;
    flex-shrink: 0;
}

.help-modal-close:hover {
    background: rgba(255,255,255,0.35);
}

/* FAQ tartalom */
.help-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}

.faq-category {
    margin-bottom: 18px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e0e7ff;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 6px;
    overflow: hidden;
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: #c7d2fe;
}

.faq-item.open {
    border-color: #a5b4fc;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.08);
}

.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: background 0.2s;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-arrow {
    font-size: 11px;
    color: #94a3b8;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-arrow {
    transform: rotate(180deg);
    color: #2151a4;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 14px 14px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Help modal footer */
.help-modal-footer {
    padding: 14px 20px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
    flex-shrink: 0;
    text-align: center;
}

.help-modal-tutorial-btn {
    background: linear-gradient(135deg, #2151a4, #00919e);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 0 rgba(0,0,0,0.1);
}

.help-modal-tutorial-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(33, 81, 164, 0.3);
}

.help-modal-tutorial-btn:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.1);
}

/* ===== TUTORIAL & HELP RESPONSIVE ===== */

@media (max-width: 768px) {
    .tutorial-overlay,
    .help-modal-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .tutorial-card {
        padding: 22px 18px 16px;
        border-radius: 16px;
    }

    .tutorial-mascot-img {
        width: 60px;
        height: 60px;
    }

    .tutorial-emoji {
        font-size: 28px;
    }

    .tutorial-title {
        font-size: 16px;
    }

    .tutorial-text {
        font-size: 13px;
    }

    .help-modal-card {
        max-height: 80vh;
        border-radius: 16px 16px 0 0;
    }

    .help-modal-header {
        padding: 12px 16px;
    }

    .help-modal-mascot {
        width: 38px;
        height: 38px;
    }

    .help-modal-title {
        font-size: 16px;
    }

    .help-modal-content {
        padding: 12px 16px;
    }
}

@media (max-width: 480px) {
    .tutorial-card {
        padding: 18px 14px 14px;
    }

    .tutorial-bubble {
        padding: 14px 12px;
    }

    .tutorial-title {
        font-size: 15px;
    }

    .tutorial-text {
        font-size: 12px;
    }

    .tutorial-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tutorial-skip {
        order: 3;
        width: 100%;
        text-align: center;
        margin-top: 4px;
    }

    .faq-question {
        font-size: 12px;
        padding: 10px 12px;
    }

    .faq-answer p {
        font-size: 12px;
        padding: 0 12px 12px;
    }
}

@media (max-width: 380px) {
    .tutorial-mascot-img {
        width: 50px;
        height: 50px;
    }

    .tutorial-emoji {
        font-size: 24px;
    }

    .tutorial-title {
        font-size: 14px;
    }

    .tutorial-dots {
        gap: 4px;
    }

    .tutorial-dot {
        width: 6px;
        height: 6px;
    }

    .tutorial-dot.active {
        width: 16px;
    }
}

/* ===== KUDOS RENDSZER ===== */

/* Kudos gomb az asztalon */
.kudos-desk-btn {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    border: 2px solid white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 2px 8px rgba(59,130,246,0.4);
    transition: transform 0.15s, background 0.15s;
    z-index: 10;
    padding: 0;
    line-height: 1;
}
.kudos-desk-btn:hover {
    transform: scale(1.2);
    background: linear-gradient(135deg, #93c5fd 0%, #2563eb 100%);
}

/* Kudos popup overlay */
.kudos-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
.kudos-overlay--visible {
    background: rgba(0,0,0,0.4);
}

/* Kudos popup */
.kudos-popup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    width: 90%;
    max-width: 380px;
    border: 3px solid #2151a4;
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.kudos-popup--visible {
    /* kept for overlay animation compatibility */
}
.kudos-popup--wide {
    max-width: 420px;
}
.kudos-popup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
}

/* Emoji picker */
.kudos-emoji-picker {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    justify-content: center;
}
.kudos-emoji-btn {
    width: 44px;
    height: 44px;
    font-size: 22px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.kudos-emoji-btn:hover {
    background: #dbeafe;
    border-color: #93c5fd;
}
.kudos-emoji-btn--active {
    background: #dbeafe;
    border-color: #2151a4;
    box-shadow: 0 0 0 2px rgba(33,81,164,0.2);
}

/* Kudos üzenet input */
.kudos-message-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 8px;
    outline: none;
    box-sizing: border-box;
}
.kudos-message-input:focus {
    border-color: #2151a4;
    box-shadow: 0 0 0 2px rgba(33,81,164,0.1);
}

/* Profil kudos lista */
.kudos-profile-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.kudos-profile-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background 0.15s;
}
.kudos-profile-item:hover {
    background: #f8fafc;
}
.kudos-profile-emoji {
    font-size: 18px;
    flex-shrink: 0;
}
.kudos-profile-avatar {
    flex-shrink: 0;
}
.kudos-profile-info {
    flex: 1;
    min-width: 0;
}
.kudos-profile-sender {
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kudos-profile-message {
    font-size: 11px;
    color: #64748b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.kudos-profile-time {
    font-size: 11px;
    color: #94a3b8;
    flex-shrink: 0;
}

/* ===== DAILY SPIN (Napi pörgetés) ===== */

.spin-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: default;
}
.spin-btn-icon { font-size: 20px; }
.spin-btn--active {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
    color: #92400e;
    cursor: pointer;
    animation: spinPulse 2s ease-in-out infinite;
}
.spin-btn--active:hover {
    background: linear-gradient(135deg, #fde68a, #fbbf24);
}
@keyframes spinPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.3); }
    50% { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
}
.spin-btn--done {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}
.spin-btn-reward {
    margin-left: auto;
    font-size: 12px;
    color: #10b981;
    font-weight: 700;
}
.spin-btn--disabled {
    background: #f8fafc;
    color: #94a3b8;
    border: 1px solid #e2e8f0;
}

/* Spin FAB (lebegő gomb) */
.spin-fab {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: 3px solid white;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5), 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    animation: spinFabPulse 3s ease-in-out infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
}
.spin-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.6), 0 4px 12px rgba(0,0,0,0.2);
}
.spin-fab:active {
    transform: scale(0.95);
}
@keyframes spinFabPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5), 0 2px 8px rgba(0,0,0,0.15); }
    50% { box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5), 0 0 0 8px rgba(245, 158, 11, 0.15); }
}

/* Spin overlay + popup */
.spin-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}
.spin-overlay--visible { background: rgba(0,0,0,0.5); }
.spin-popup {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    width: 90%;
    max-width: 380px;
    border: 3px solid #f59e0b;
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.spin-popup--visible { /* overlay animation compat */ }

/* Kerék */
.spin-wheel-container {
    position: relative;
    width: 240px;
    height: 240px;
    margin: 0 auto;
}
.spin-wheel-pointer {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    z-index: 2;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
}
.spin-wheel-pointer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.spin-wheel {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 4px solid #1e293b;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Kerék feliratok */
.spin-label {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 1;
}
.spin-label-content {
    position: absolute;
    text-align: center;
    line-height: 1.1;
    white-space: nowrap;
}
.spin-label-bpo {
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9), 0 0 6px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
}
.spin-label-bpo img {
    vertical-align: middle;
}
.spin-label-xp {
    font-size: 8px;
    font-weight: 700;
    color: #fef3c7;
    text-shadow: 0 1px 2px rgba(0,0,0,0.9);
}

/* ===== SHOP (Tallér Bolt) — webshop layout ===== */

/* Shop modal — nagy, webshop jellegű */
.shop-modal {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.35);
    width: 92%;
    max-width: 820px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    border: 3px solid #2151a4;
    animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10001;
}

.shop-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
    border-bottom: 2px solid #e2e8f0;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border-radius: 17px 17px 0 0;
}

.shop-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: #1e293b;
}

.shop-modal-balance {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fef3c7;
    padding: 6px 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #92400e;
    border: 1px solid #fde68a;
}

.shop-modal-close {
    background: none;
    border: none;
    font-size: 22px;
    color: #94a3b8;
    cursor: pointer;
    margin-left: 10px;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.15s;
}
.shop-modal-close:hover {
    background: #f1f5f9;
    color: #475569;
}

.shop-modal-content {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
}

/* Kategória tabok */
.shop-category-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.shop-cat-btn {
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    background: white;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}
.shop-cat-btn:hover {
    border-color: #93c5fd;
    color: #2151a4;
}
.shop-cat-btn--active {
    background: #2151a4;
    color: white;
    border-color: #2151a4;
}
.shop-available-toggle {
    border-color: #d1fae5;
    color: #059669;
    background: #ecfdf5;
}
.shop-available-toggle:hover {
    border-color: #6ee7b7;
    background: #d1fae5;
}
.shop-available-toggle--active {
    background: #059669;
    color: white;
    border-color: #059669;
}

/* Termék grid — 3 oszlop desktopon */
.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
@media (max-width: 768px) {
    .shop-modal { max-width: 95%; width: 95%; }
    .shop-grid { grid-template-columns: repeat(2, 1fr); }
    .shop-modal-header { padding: 14px 16px; }
    .shop-modal-content { padding: 16px; }
}
@media (max-width: 480px) {
    .shop-grid { grid-template-columns: 1fr; }
    .shop-modal-title { font-size: 16px; }
}

/* Termék kártyák — webshop stílus */
.shop-item {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.shop-item:hover {
    border-color: #93c5fd;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.shop-item--owned { background: #f0fdf4; border-color: #bbf7d0; }
.shop-item--locked { opacity: 0.5; }

/* Badge-ek (level, duration) a kártya tetején */
.shop-item-badges {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 8px;
    min-height: 22px;
}
.shop-item-level {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
}
.shop-item-duration {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    background: #dbeafe;
    color: #2563eb;
    border: 1px solid #93c5fd;
}

/* Preview terület */
.shop-item-preview {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-item-name {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}
.shop-item-desc {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 10px;
    line-height: 1.4;
    flex: 1;
}
.shop-item-price {
    font-size: 16px;
    font-weight: 800;
    color: #92400e;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.shop-item-btn {
    width: 100%;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.15s;
}
.shop-item-btn--buy {
    background: linear-gradient(135deg, #2151a4, #00919e);
    color: white;
}
.shop-item-btn--buy:hover { opacity: 0.9; transform: scale(1.02); }
.shop-item-btn--owned { background: #e2e8f0; color: #64748b; }
.shop-item-btn--equipped { background: #10b981; color: white; }
.shop-item-btn--disabled { background: #f1f5f9; color: #94a3b8; cursor: not-allowed; }
.shop-item-btn--locked { background: #f1f5f9; color: #94a3b8; cursor: default; font-size: 11px; }

/* =============================================
   🎓 CONTEXTUAL ONBOARDING - Shepherd.js + Mr. Champy
   Tutorial bubble stílushoz igazítva
   ============================================= */

/* Overlay */
.shepherd-modal-overlay-container {
    fill: rgba(0, 0, 0, 0.5) !important;
}

/* ===== POPOVER KÁRTYA (tutorial-card stílus) ===== */
.champy-shepherd-step.shepherd-element {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 0 rgba(0,0,0,0.1), 0 20px 60px rgba(0,0,0,0.3);
    max-width: 340px;
    border: 3px solid #e0e7ff;
    z-index: 10003;
    overflow: visible;
}
.champy-shepherd-step .shepherd-content { padding: 0; }
.champy-shepherd-step .shepherd-text { padding: 20px 24px 8px; }
.champy-shepherd-step .shepherd-header { padding: 0; }

/* X bezárás gomb */
.champy-shepherd-step .shepherd-cancel-icon {
    position: absolute;
    top: 12px;
    right: 14px;
    color: #94a3b8;
    font-size: 16px;
    z-index: 2;
    padding: 4px;
}
.champy-shepherd-step .shepherd-cancel-icon:hover {
    color: #ef4444;
}

/* ===== MR. CHAMPY (tutorial-mascot stílus) ===== */
.champy-onboarding-content {
    text-align: center;
}
.champy-onboarding-mascot-wrapper {
    margin-bottom: 8px;
}
.champy-onboarding-mascot {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
    animation: tutorialBounce 2s ease infinite;
}
.champy-onboarding-mascot-fallback {
    width: 80px;
    height: 80px;
    font-size: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== SZÓBUBORÉK (tutorial-bubble stílus) ===== */
.champy-onboarding-bubble {
    background: #f0f4ff;
    border-radius: 16px;
    padding: 16px 18px;
    margin: 0 0 10px;
    border: 1px solid #dbe4ff;
    position: relative;
    text-align: center;
}
/* Háromszög csúcs - Mr. Champy "beszél" */
.champy-onboarding-bubble::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: #dbe4ff;
    border-top: none;
}
.champy-onboarding-bubble::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border: 7px solid transparent;
    border-bottom-color: #f0f4ff;
    border-top: none;
}
.champy-onboarding-title {
    font-size: 17px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 6px;
    font-family: var(--font-display, 'Bree Serif', serif);
}
.champy-onboarding-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ===== PROGRESS DOTS ===== */
.champy-onboarding-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 0 4px;
}
.champy-onboarding-dots {
    display: flex;
    gap: 6px;
}
.champy-onboarding-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e7ff;
    transition: all 0.3s ease;
}
.champy-onboarding-dot.active {
    background: #667eea;
    width: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.4);
}
.champy-onboarding-step-count {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

/* ===== FOOTER GOMBOK (tutorial-nav stílus) ===== */
.champy-shepherd-step .shepherd-footer {
    padding: 4px 24px 18px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.champy-shepherd-step .shepherd-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    min-height: var(--touch-target-min, 44px);
    min-width: 44px;
    transition: all 0.2s ease;
    box-shadow: 0 3px 0 rgba(0,0,0,0.15);
}
.champy-shepherd-step .shepherd-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 4px 0 rgba(0,0,0,0.15);
}
.champy-shepherd-step .shepherd-button:active {
    transform: translateY(1px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.15);
}
.champy-shepherd-step .shepherd-button-secondary {
    background: white;
    color: #64748b;
    border: 2px solid #e0e7ff;
    box-shadow: none;
    font-weight: 600;
    font-size: 13px;
}
.champy-shepherd-step .shepherd-button-secondary:hover {
    background: #f8fafc;
    border-color: #c7d2fe;
    color: #475569;
}
.champy-shepherd-step .champy-btn-skip {
    font-size: 12px;
    color: #94a3b8;
    border-color: #e2e8f0;
}

/* ===== NYÍL (ARROW) ===== */
.champy-shepherd-step .shepherd-arrow::before {
    background: white;
    border: 3px solid #e0e7ff;
}

/* ===== RESPONSIVE: Tablet ===== */
@media (max-width: 768px) {
    .champy-shepherd-step.shepherd-element {
        max-width: 320px;
        border-radius: 16px;
    }
    .champy-shepherd-step .shepherd-text { padding: 16px 18px 6px; }
    .champy-onboarding-mascot { width: 64px; height: 64px; }
    .champy-onboarding-title { font-size: 15px; }
    .champy-onboarding-text { font-size: 13px; }
    .champy-onboarding-bubble { padding: 14px 14px; }
    .champy-shepherd-step .shepherd-footer { padding: 4px 18px 14px; }
}

/* ===== RESPONSIVE: Kis mobil ===== */
@media (max-width: 480px) {
    .champy-shepherd-step.shepherd-element {
        max-width: calc(100vw - 24px);
        border-radius: 14px;
    }
    .champy-onboarding-mascot { width: 56px; height: 56px; }
    .champy-onboarding-title { font-size: 14px; }
    .champy-onboarding-text { font-size: 12px; }
    .champy-onboarding-bubble { padding: 12px; }
    .champy-shepherd-step .shepherd-text { padding: 14px 14px 4px; }
    .champy-shepherd-step .shepherd-button { padding: 8px 18px; font-size: 13px; }
    .champy-onboarding-dot { width: 6px; height: 6px; }
    .champy-onboarding-dot.active { width: 16px; }
}

/* ===== RESPONSIVE: Extra kis ===== */
@media (max-width: 380px) {
    .champy-shepherd-step.shepherd-element { max-width: calc(100vw - 16px); }
    .champy-onboarding-mascot { width: 48px; height: 48px; }
    .champy-onboarding-bubble { padding: 10px; }
    .champy-shepherd-step .shepherd-text { padding: 12px 12px 4px; }
    .champy-shepherd-step .shepherd-footer { padding: 4px 12px 12px; }
}

