@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-base: #020606;
    --accent-menta: #2ed573;
    --sidebar-bg: rgba(4, 10, 9, 0.98);
    --glass: rgba(255, 255, 255, 0.035);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #fcfcfc;
    --text-dim: #8a9694;
    --text-danger: #ff5252;
}


* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Plus Jakarta Sans', sans-serif; -webkit-tap-highlight-color: transparent; scrollbar-width: none !important; }
*::-webkit-scrollbar { display: none !important; width: 0; }
html { height: 100%; background-color: var(--bg-base); overflow-x: hidden; overscroll-behavior-x: none; }
body { height: 100%; width: 100%; background: radial-gradient(circle at 50% -20%, #0a241d 0%, #020606 70%) no-repeat fixed; color: var(--text-main); overflow: hidden; overflow-x: hidden; display: flex; overscroll-behavior-x: none; }

.master-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.glow-sphere { position: absolute; width: 45vw; height: 45vw; border-radius: 50%; background: var(--accent-menta); filter: blur(150px); opacity: 0.05; }


.lm-side-menu { width: 280px; height: 100%; background: var(--sidebar-bg); border-right: 1px solid var(--glass-border); display: flex; flex-direction: column; z-index: 2000; flex-shrink: 0; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.lm-menu-card { height: 100%; display: flex; flex-direction: column; padding: 30px 20px; overflow-y: auto; }
.close-menu-btn { position: absolute; top: 20px; right: 20px; font-size: 24px; color: var(--text-dim); cursor: pointer; display: none; }
.brand-zone { margin-bottom: 30px; }
.brand-zone h1 { font-size: 24px; font-weight: 800; margin: 0; color: white; }
.brand-zone p { font-size: 10px; color: var(--accent-menta); font-weight: 700; text-transform: uppercase; margin-top: 5px; }
.menu-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; margin: 25px 0 10px; font-weight: 800; opacity: 0.6; }
.lm-menu-item { padding: 12px 14px; border-radius: 12px; color: var(--text-main); text-decoration: none; display: flex; align-items: center; gap: 12px; font-size: 14px; transition: 0.2s; margin-bottom: 4px; font-weight: 500; cursor: pointer; }
.lm-menu-item:hover { background: var(--glass); color: var(--accent-menta); transform: translateX(4px); }
.lm-menu-item i { width: 20px; color: var(--accent-menta); font-size: 16px; opacity: 0.9; text-align: center; }


.app-shell { flex: 1; display: flex; flex-direction: column; height: 100%; position: relative; min-width: 0; overflow-x: hidden; }
.mobile-header { height: 60px; padding: 0 20px; display: none; align-items: center; justify-content: space-between; background: rgba(2, 6, 6, 0.9); backdrop-filter: blur(15px); border-bottom: 1px solid var(--glass-border); flex-shrink: 0; z-index: 50; }

#chat-window { flex: 1; overflow-y: auto; overflow-x: hidden; overscroll-behavior-x: none; overscroll-behavior-y: contain; touch-action: pan-y pinch-zoom; padding: 20px 20px 10px 20px; display: flex; flex-direction: column; gap: 15px; width: 100%; max-width: 900px; margin: 0 auto; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; min-height: 0; }


.message-row { 
    display: flex; width: 100%; flex-direction: column; 
    animation: fadeInSlide 0.3s ease-out; position: relative; 
    touch-action: pan-y pinch-zoom; transition: transform 0.2s; will-change: transform; 
    

    padding-bottom: 30px; 
    margin-bottom: 0;
}
@keyframes fadeInSlide { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.message-row.user { align-items: flex-end; }
.message-row.assistant { align-items: flex-start; }

.bubble { max-width: 85%; padding: 12px 18px; font-size: 15px; line-height: 1.5; border-radius: 18px; width: fit-content; word-wrap: break-word; overflow-wrap: anywhere; position: relative; }
.message-row.assistant .bubble { background: rgba(255, 255, 255, 0.08); border: 1px solid var(--glass-border); border-bottom-left-radius: 4px; color: #e5e5e5; backdrop-filter: blur(10px); }
.message-row.user .bubble { background: linear-gradient(135deg, #2ed573, #26af5f); color: #010404; font-weight: 600; border-bottom-right-radius: 4px; box-shadow: 0 5px 20px rgba(46, 213, 115, 0.2); }


.in-bubble-quote {
    background: rgba(0, 0, 0, 0.25); border-left: 3px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px; padding: 8px 10px; margin-bottom: 8px;
    font-size: 13px; opacity: 0.95; display: flex; flex-direction: column; text-align: left;
}
.message-row.user .in-bubble-quote { background: rgba(0, 0, 0, 0.2); border-left-color: rgba(255, 255, 255, 0.8); }
.in-bubble-quote strong { font-size: 10px; opacity: 0.8; margin-bottom: 4px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.5px; }
.in-bubble-quote span { font-style: italic; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100%; }


.message-actions {
    opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
    

    position: absolute;
    bottom: 5px;
    
    display: flex; gap: 10px; z-index: 10;
}

.message-row.user .message-actions { right: 0; left: auto; }
.message-row.assistant .message-actions { left: 0; right: auto; }


.message-row:hover .message-actions { opacity: 1; pointer-events: auto; }

.reply-btn-desktop {
    background: transparent; border: 1px solid var(--glass-border); color: var(--text-dim);
    font-size: 10px; cursor: pointer; font-weight: 700; text-transform: uppercase;
    display: flex; align-items: center; gap: 6px; padding: 2px 8px; border-radius: 12px;
    transition: 0.2s; backdrop-filter: blur(4px);
}
.reply-btn-desktop:hover { background: rgba(46, 213, 115, 0.15); color: var(--accent-menta); border-color: var(--accent-menta); }


.message-row::after { content: '\f3e5'; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); color: var(--text-dim); font-size: 16px; opacity: 0; transition: opacity 0.2s; }
.message-row.swiping::after { opacity: 1; }


.input-container { padding: 10px 20px 15px; width: 100%; max-width: 900px; margin: 0 auto; background: rgba(2, 6, 6, 0.95); backdrop-filter: blur(20px); border-top: 1px solid var(--glass-border); flex-shrink: 0; padding-bottom: max(15px, env(safe-area-inset-bottom)); }

.reply-bar { background: rgba(46, 213, 115, 0.1); border-left: 3px solid var(--accent-menta); border-radius: 8px; padding: 8px 12px; margin-bottom: 10px; display: flex; justify-content: space-between; align-items: center; animation: slideUpFade 0.3s ease-out; }
.reply-bar.hidden { display: none; }
.reply-content { font-size: 12px; color: #e5e5e5; max-width: 85%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reply-content strong { color: var(--accent-menta); display: block; margin-bottom: 2px; }
.close-reply { background: none; border: none; color: var(--text-dim); cursor: pointer; padding: 5px; font-size: 14px; }
@keyframes slideUpFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

#chat-form { background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border); border-radius: 24px; padding: 8px 8px 8px 12px; display: flex; align-items: flex-end; gap: 8px; transition: 0.3s; }
#chat-form.disabled { opacity: 0.5; pointer-events: none; }
#chat-form:focus-within { border-color: rgba(46, 213, 115, 0.5); box-shadow: 0 0 15px rgba(46, 213, 115, 0.1); }
textarea { flex: 1; background: transparent; border: none; outline: none; color: #fff; font-size: 16px; resize: none; max-height: 120px; padding: 12px 0; line-height: 1.4; overflow-y: auto; }
#send-btn { background: var(--accent-menta); color: #010404; border: none; width: 42px; height: 42px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-bottom: 2px; transition: 0.2s; }
#send-btn:hover { transform: scale(1.1); }


#mic-btn { background: transparent; border: none; color: var(--text-dim); font-size: 18px; cursor: pointer; padding: 0 5px; margin-bottom: 3px; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; }
#mic-btn:hover { color: var(--text-main); background: rgba(255, 255, 255, 0.05); }
#mic-btn.listening { color: #ff5252; background: rgba(255, 82, 82, 0.1); animation: pulseMic 1.5s infinite ease-in-out; }
@keyframes pulseMic { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 82, 82, 0.4); } 70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 82, 82, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 82, 82, 0); } }

.clear-chat-container { text-align: center; margin-top: 10px; }
.clear-chat-btn { background: transparent; border: none; color: var(--text-dim); font-size: 10px; font-weight: 700; text-transform: uppercase; cursor: pointer; opacity: 0.5; }
.clear-chat-btn:hover { color: var(--text-danger); opacity: 1; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: 0.3s; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box { background: #0f172a; border: 1px solid var(--glass-border); padding: 25px; border-radius: 20px; width: 90%; max-width: 350px; text-align: center; transform: scale(0.9); transition: 0.3s; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.modal-overlay.active .modal-box { transform: scale(1); }
.modal-actions { display: flex; gap: 10px; justify-content: center; margin-top: 20px; }
.btn-cancel { background: rgba(255,255,255,0.05); color: white; border: none; padding: 10px 20px; border-radius: 12px; cursor: pointer; font-weight: 600; flex: 1; }
.btn-confirm { background: var(--text-danger); color: white; border: none; padding: 10px 20px; border-radius: 12px; cursor: pointer; font-weight: 600; flex: 1; }

.welcome-container { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 40px; animation: fadeInUp 0.6s ease-out; text-align:center; }
.welcome-container.exit { animation: explodeOut 0.5s forwards !important; pointer-events: none; }
@keyframes explodeOut { to { opacity: 0; transform: scale(1.5); filter: blur(20px); } }
.welcome-icon-box { width: 90px; height: 90px; background: rgba(46, 213, 115, 0.05); border: 2px solid rgba(46, 213, 115, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 30px; animation: pulseIconIntense 2.5s infinite ease-in-out; }
.welcome-icon { font-size: 36px; color: var(--accent-menta); }
.welcome-title { font-size: 24px; font-weight: 800; color: white; margin-bottom: 12px; }
.welcome-text { font-size: 16px; color: var(--text-dim); max-width: 320px; line-height: 1.6; font-weight: 500; }
@keyframes pulseIconIntense { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.4); } 70% { transform: scale(1.15); box-shadow: 0 0 0 20px rgba(46, 213, 115, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); } }


.typing-indicator { 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    margin: 10px 0 20px 15px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(5px);
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    width: fit-content;
    height: auto; 
    font-size: 13px; 
    color: var(--text-dim);
    font-weight: 500;
    animation: fadeInIndicator 0.3s ease;
}

.typing-dot { 
    width: 6px; 
    height: 6px; 
    background: var(--accent-menta); 
    border-radius: 50%; 
    opacity: 0.3;
    animation: typingBounce 1.4s infinite ease-in-out both; 
}


.typing-dot:nth-child(1) { animation-delay: -0.32s; } 
.typing-dot:nth-child(2) { animation-delay: -0.16s; }


@keyframes typingBounce { 
    0%, 80%, 100% { 
        transform: scale(0.7); 
        opacity: 0.3; 
    } 
    40% { 
        transform: scale(1.1); 
        opacity: 1; 
    } 
}

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

.hidden { display: none !important; }

@media (max-width: 1024px) {
    .lm-side-menu { position: fixed; left: 0; top: 0; bottom: 0; transform: translateX(-100%); width: 85%; max-width: 320px; }
    .lm-side-menu.open { transform: translateX(0); box-shadow: 50px 0 100px rgba(0,0,0,0.8); }
    .mobile-header { display: flex; }
    .close-menu-btn { display: block; }
    .message-actions { display: none !important; } /* Mobilon nincs hover gomb */
}
@media (min-width: 1025px) {
    .lm-side-menu { position: relative; transform: none; display: flex; } 
    .mobile-header { display: none; } .close-menu-btn { display: none; }
}
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 1500; opacity: 0; pointer-events: none; transition: 0.3s; backdrop-filter: blur(5px); }
.overlay.active { opacity: 1; pointer-events: auto; }



.auth-shell {
    width: 100%;

    min-height: 100vh; 
    min-height: 100dvh; 
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    padding: 20px;
    position: relative;
    z-index: 10;
    

    overflow-y: auto; 
}


.auth-card {
    background: rgba(4, 10, 9, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    
    width: 100%; 
    max-width: 400px;
    
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    

    animation: fadeInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    text-align: center;
    position: relative;
    

    margin: auto; 
}


.auth-logo {
    width: 60px; height: 60px;
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid var(--accent-menta);
    color: var(--accent-menta);
    border-radius: 50%;
    font-size: 24px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 20px rgba(46, 213, 115, 0.2);
}


.auth-title h1 {
    font-size: 24px; font-weight: 800; color: white;
    margin-bottom: 5px; letter-spacing: -0.5px;
}
.auth-title p {
    font-size: 14px; color: var(--text-dim); margin-bottom: 30px;
}


.auth-error {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.3);
    color: #ff8a8a;
    padding: 12px; border-radius: 12px;
    font-size: 13px; margin-bottom: 20px;
    text-align: left; display: flex; align-items: center; gap: 10px;
}
.auth-error::before {
    content: '\f071'; font-family: "Font Awesome 6 Free"; font-weight: 900;
}

/* Form */
.auth-form {
    display: flex; flex-direction: column; gap: 15px; text-align: left;
}
.auth-form label {
    display: block; font-size: 12px; font-weight: 700;
    color: var(--text-dim); margin-bottom: 6px;
    text-transform: uppercase; letter-spacing: 1px;
}
.auth-form input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px; 
    outline: none; transition: 0.3s;
}
.auth-form input:focus {
    border-color: var(--accent-menta);
    box-shadow: 0 0 15px rgba(46, 213, 115, 0.1);
    background: rgba(255, 255, 255, 0.08);
}
.auth-form input::placeholder { color: rgba(255, 255, 255, 0.2); }


.auth-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent-menta), #26af5f);
    color: #010404; border: none;
    padding: 14px; border-radius: 12px;
    font-size: 16px; font-weight: 800; text-transform: uppercase;
    cursor: pointer; transition: 0.3s; margin-top: 10px;
    box-shadow: 0 5px 15px rgba(46, 213, 115, 0.2);
}
.auth-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(46, 213, 115, 0.3); }


.auth-footer { margin-top: 25px; font-size: 14px; color: var(--text-dim); }
.auth-footer a { color: var(--accent-menta); text-decoration: none; font-weight: 600; transition: 0.2s; }
.auth-footer a:hover { text-decoration: underline; color: #fff; }


@media (max-width: 480px) {
    .auth-shell {
        padding: 15px;
    }
    
    .auth-card {
        padding: 30px 20px; 
        max-width: 100%;
    }

    .auth-logo { width: 50px; height: 50px; font-size: 20px; margin-bottom: 15px; }
    .auth-title h1 { font-size: 22px; }
    
    @media (max-height: 600px) {
        .auth-shell {
            align-items: flex-start;
            padding-top: 20px;
            padding-bottom: 20px;
        }
    }
}




.auth-form select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    
    width: 100%;
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--glass-border);
    color: #fff !important;
    border-radius: 12px;
    padding: 14px 16px;
    padding-right: 40px;
    font-size: 15px;
    outline: none;
    cursor: pointer;
    
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%238a9694' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}


.auth-form select:focus {
    border-color: var(--accent-menta);
    background-color: rgba(255, 255, 255, 0.08) !important;
}


.auth-form select option {
    background-color: #020606;
    color: white;
}

.checkbox-wrapper {
    display: flex;

    align-items: flex-start; 
    gap: 12px;
    margin-top: 10px;
    cursor: pointer;
    width: 100%;
}


.checkbox-wrapper input[type="checkbox"] {
    display: none; 
}


.custom-checkbox {
    width: 22px;
    height: 22px;
    min-width: 22px; 
    flex-shrink: 0; 
    
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    position: relative;
    margin-top: 2px; 
}


.checkbox-wrapper input:checked + .custom-checkbox {
    background: var(--accent-menta);
    border-color: var(--accent-menta);
}

.custom-checkbox::after {
    content: '\f00c'; 
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900;
    color: #000;
    font-size: 14px;
    opacity: 0;
    transform: scale(0.5);
    transition: 0.2s;
}

.checkbox-wrapper input:checked + .custom-checkbox::after {
    opacity: 1;
    transform: scale(1);
}


.checkbox-text {
    font-size: 13px;
    color: var(--text-dim);
    line-height: 1.4;
    padding-top: 2px;
}
.checkbox-text a { color: var(--accent-menta); text-decoration: none; font-weight: 600; }

@media (max-width: 480px) {
    .auth-shell {
        padding: 10px;
        align-items: center;
    }

    .auth-card {
        padding: 20px 15px;
        width: 100%;
        border-radius: 16px;
        margin: 0;
    }

    .auth-logo { width: 45px; height: 45px; font-size: 20px; margin-bottom: 10px; }
    .auth-title h1 { font-size: 20px; margin-bottom: 2px; }
    .auth-title p { font-size: 12px; margin-bottom: 15px; }
    .auth-form { gap: 10px; }
    .auth-form input, 
    .auth-form select { 
        padding: 10px 12px;
        font-size: 14px; 
        border-radius: 8px;
        height: auto;
    }
    
    .auth-form label {
        font-size: 11px;
        margin-bottom: 3px;
    }
    .custom-checkbox { width: 20px; height: 20px; min-width: 20px; }
    .checkbox-text { font-size: 11px; }
    .auth-submit {
        padding: 12px;
        font-size: 14px;
        margin-top: 5px;
    }
}

body.profile-page {
    background-color: #020606;
    min-height: 100vh;
    overflow-y: auto !important;
}

.fixed-background {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% -20%, #0a241d 0%, #020606 70%);
    z-index: -1; pointer-events: none;
}
.glow-spot {
    position: absolute; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(150px); opacity: 0.06;
}
.top-right { top: -20%; right: -10%; background: var(--accent-menta); }
.bottom-left { bottom: -10%; left: -10%; background: #0984e3; }

.dashboard-wrapper {
    max-width: 1100px; margin: 0 auto; padding: 40px 20px; width: 100%;
}

.dash-header { margin-bottom: 30px; }
.sub-label { font-size: 11px; font-weight: 800; letter-spacing: 2px; color: var(--accent-menta); text-transform: uppercase; }
.dash-header h1 { font-size: 32px; font-weight: 800; color: white; margin: 5px 0 10px 0; }
.header-desc { color: var(--text-dim); font-size: 14px; max-width: 600px; line-height: 1.5; }
.floating-back-btn {
    position: fixed; top: 20px; left: 20px; width: 45px; height: 45px;
    background: rgba(0,0,0,0.4); backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white; cursor: pointer; z-index: 100; transition: 0.2s;
}
.floating-back-btn:hover { background: var(--accent-menta); color: black; }
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
}
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.card {
    background: rgba(20, 25, 33, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 24px;
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
}
.card-label {
    font-size: 11px; text-transform: uppercase; color: var(--text-dim); letter-spacing: 1px; font-weight: 700; margin-bottom: 15px;
}
.profile-card { background: radial-gradient(circle at top right, rgba(46, 213, 115, 0.1), rgba(20, 25, 33, 0.9)); }
.card-content.row { display: flex; align-items: center; gap: 30px; height: 100%; }

.avatar-block-lg { position: relative; width: 100px; height: 100px; flex-shrink: 0; }
.avatar-block-lg img {
    width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
    border: 3px solid var(--accent-menta); box-shadow: 0 0 25px rgba(46, 213, 115, 0.2);
}
.badge-admin {
    position: absolute; bottom: 0; right: 0; width: 28px; height: 28px; background: #ff5252;
    color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; border: 2px solid #141921;
}

.profile-texts { flex: 1; }
.name-status h2 { margin: 0; font-size: 26px; color: white; font-weight: 800; }
.verified-badge { font-size: 12px; color: #2ed573; margin-left: 10px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.unverified-badge { font-size: 12px; color: #f1c40f; margin-left: 10px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.handle { font-size: 14px; color: var(--text-dim); margin-bottom: 15px; display: block; }

.meta-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.ms-item { display: flex; flex-direction: column; }
.ms-label { font-size: 10px; color: var(--text-dim); text-transform: uppercase; }
.ms-val { font-size: 14px; color: white; font-weight: 600; }
.mode-display { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.mode-icon-circle {
    width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--accent-menta); border: 1px solid var(--glass-border);
}
.mode-info h3 { margin: 0; font-size: 18px; color: white; font-weight: 700; }
.mode-description { font-size: 13px; color: #ccc; line-height: 1.5; margin-bottom: auto; }
.card-footer-btn { margin-top: 15px; text-align: right; }
.card-footer-btn a { font-size: 12px; color: var(--accent-menta); text-decoration: none; font-weight: 600; border-bottom: 1px solid transparent; }
.card-footer-btn a:hover { border-color: var(--accent-menta); }

.infinite-wrapper { text-align: center; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.icon-glow { font-size: 40px; color: #ffd700; text-shadow: 0 0 20px rgba(255, 215, 0, 0.4); margin-bottom: 10px; }
.infinite-wrapper h3 { margin: 0; color: white; }
.infinite-wrapper p { font-size: 12px; color: var(--text-dim); margin: 0; }

.limit-box { margin-top: auto; }
.limit-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.limit-header strong { font-size: 24px; color: white; }
.limit-header span { font-size: 13px; color: var(--text-dim); }
.progress-bar-bg { width: 100%; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; margin-bottom: 10px; }
.progress-bar-fill { height: 100%; background: var(--accent-menta); border-radius: 4px; }
.limit-sub { font-size: 12px; color: #ccc; margin: 0; }


.card-header-flex { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.sub-title h3 { margin: 0; font-size: 22px; font-weight: 800; }
.sub-meta { font-size: 12px; color: #ccc; background: rgba(255,255,255,0.05); padding: 5px 10px; border-radius: 12px; }

.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #bbb; padding: 8px; border-radius: 8px; background: rgba(255,255,255,0.02); }
.feature-item.active { color: white; background: rgba(255,255,255,0.05); }
.feature-item.active i { color: var(--accent-menta); }
.feature-item.inactive { opacity: 0.5; }

.upsell-container { background: rgba(46, 213, 115, 0.1); padding: 15px; border-radius: 12px; text-align: center; margin-top: auto; }
.upsell-container p { margin: 0 0 10px 0; font-size: 13px; color: white; }
.btn-upgrade-full { display: block; width: 100%; background: var(--accent-menta); color: #000; padding: 10px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 13px; transition: 0.2s; }
.btn-upgrade-full:hover { transform: scale(1.02); }


.score-display { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.circular-chart { width: 60px; height: 60px; }
.circle-bg { fill: none; stroke: rgba(255,255,255,0.1); stroke-width: 3; }
.circle { fill: none; stroke-width: 3; stroke-linecap: round; }
.score-text { display: flex; flex-direction: column; }
.score-text strong { font-size: 24px; line-height: 1; }
.score-text span { font-size: 12px; color: var(--text-dim); text-transform: uppercase; }

.security-list { list-style: none; padding: 0; margin: 0; }
.security-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.security-list li:last-child { border: none; }
.text-green { color: #2ed573; }
.text-red { color: #ff5252; }
.security-list span { font-size: 13px; color: #ddd; }


.actions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.action-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    background: rgba(255,255,255,0.05); padding: 20px; border-radius: 12px;
    text-decoration: none; color: white; font-size: 13px; font-weight: 600;
    border: 1px solid var(--glass-border); transition: 0.2s; text-align: center;
}
.action-btn i { font-size: 20px; color: var(--accent-menta); }
.action-btn:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.action-btn.danger i { color: #ff5252; }
.action-btn.danger:hover { background: rgba(255, 82, 82, 0.1); }



@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .col-span-2 { grid-column: span 2; }
}

@media (max-width: 600px) {
    .dashboard-wrapper { padding: 20px 15px; }
    .bento-grid { display: flex; flex-direction: column; gap: 20px; } /* Egy oszlop */
    
    .card-content.row { flex-direction: column; text-align: center; align-items: center; }
    .meta-stats { justify-content: center; }
    .name-status { justify-content: center; flex-direction: column; gap: 5px; }
    
    .feature-grid { grid-template-columns: 1fr; } /* Funkciók egymás alatt */
    .actions-grid { grid-template-columns: 1fr; } /* Gombok nagyok legyenek */
    .action-btn { flex-direction: row; justify-content: flex-start; padding: 15px; }
}

.alert-box {
    padding: 15px; border-radius: 12px; margin-bottom: 25px;
    display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600;
}
.alert-box.success {
    background: rgba(46, 213, 115, 0.15); border: 1px solid rgba(46, 213, 115, 0.3); color: #2ed573;
}
.settings-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    align-items: start;
}

.settings-card {
    background: rgba(20, 25, 33, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px;
}


.avatar-section-card { text-align: center; }
.avatar-upload-wrapper { position: relative; width: 150px; margin: 0 auto; }
.avatar-preview-box {
    width: 150px; height: 150px; border-radius: 50%; position: relative; overflow: hidden;
    border: 4px solid var(--accent-menta); box-shadow: 0 0 30px rgba(46, 213, 115, 0.2);
    margin-bottom: 15px;
}
.avatar-preview-box img { width: 100%; height: 100%; object-fit: cover; }

.avatar-overlay {
    position: absolute; inset: 0; background: rgba(0,0,0,0.5);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: white; opacity: 0; transition: 0.3s; cursor: pointer;
}
.avatar-preview-box:hover .avatar-overlay { opacity: 1; }
.avatar-overlay i { font-size: 24px; margin-bottom: 5px; }
.avatar-overlay span { font-size: 12px; font-weight: 700; text-transform: uppercase; }


#avatarInput { display: none; }
.avatar-hint { font-size: 11px; color: var(--text-dim); margin-top: 10px; }



.form-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }


.form-group.full-width { grid-column: span 2; }

.form-group label { font-size: 12px; color: var(--text-dim); text-transform: uppercase; font-weight: 700; display: flex; justify-content: space-between; }
.form-group label i { color: #555; } /* Lakat ikon */

.input-wrapper { position: relative; }
.input-icon {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    color: var(--text-dim); font-size: 14px;
}

.settings-card input[type="text"],
.settings-card input[type="email"],
.settings-card input[type="number"] {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 12px 15px 12px 45px; /* Hely az ikonnak */
    border-radius: 12px;
    color: white; font-size: 15px; font-family: inherit;
    outline: none; transition: 0.2s;
}

.settings-card input:focus {
    border-color: var(--accent-menta);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(46, 213, 115, 0.1);
}


.form-group.disabled { opacity: 0.6; pointer-events: none; }
.form-group.disabled input { background: rgba(0,0,0,0.2); border-color: transparent; color: #888; }



.form-actions {
    grid-column: span 2; margin-top: 20px; text-align: right;
    border-top: 1px solid rgba(255,255,255,0.05); padding-top: 20px;
}

.btn-save {
    background: var(--accent-menta); color: #020617;
    border: none; padding: 12px 24px; border-radius: 12px;
    font-size: 14px; font-weight: 800; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px;
    transition: 0.2s;
}
.btn-save:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(46, 213, 115, 0.3); }



@media (max-width: 900px) {
    .settings-grid { grid-template-columns: 1fr; }
    
    .avatar-section-card { display: flex; flex-direction: column; align-items: center; }
    
    .form-grid { grid-template-columns: 1fr; } /* Inputok is egymás alá */
    .form-actions { grid-column: span 1; text-align: center; }
    .btn-save { width: 100%; justify-content: center; }
}

.dashboard-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 40px 20px;
}

.dash-header {
    width: 100%;
    max-width: 880px;
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    margin-bottom: 25px;
}

.security-grid {
    display: grid;
    grid-template-columns: 350px 500px; 
    gap: 30px;
    justify-content: center; 
    width: 100%;
}


.tips-card {
    text-align: center;
    background: linear-gradient(180deg, rgba(20, 25, 33, 0.8) 0%, rgba(46, 213, 115, 0.05) 100%);
    height: 100%; /* Hogy egyforma magas legyen a jobbal */
}

.lock-icon-wrapper {
    width: 80px; height: 80px; background: rgba(255,255,255,0.03);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px auto; border: 1px solid var(--glass-border);
}
.lock-icon-wrapper i { font-size: 32px; color: var(--accent-menta); }

.tips-card h3 { color: white; margin: 0 0 10px 0; font-size: 18px; }
.tips-intro { font-size: 13px; color: var(--text-dim); line-height: 1.5; margin-bottom: 25px; }

.req-list { list-style: none; padding: 0; margin: 0 0 25px 0; text-align: left; background: rgba(0,0,0,0.2); padding: 15px; border-radius: 12px; }
.req-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #ccc; margin-bottom: 8px; }
.req-list li:last-child { margin-bottom: 0; }
.req-list li i { color: var(--accent-menta); font-size: 11px; }

.security-status {
    border-top: 1px solid rgba(255,255,255,0.05); padding-top: 15px;
    display: flex; justify-content: space-between; align-items: center; font-size: 12px;
}
.security-status span { color: var(--text-dim); }
.security-status strong { display: flex; align-items: center; gap: 5px; }



.form-card { padding: 30px; }

.alert-box.error {
    background: rgba(255, 82, 82, 0.15); border: 1px solid rgba(255, 82, 82, 0.3); color: #ff5252; margin-bottom: 20px; padding: 10px; border-radius: 8px; font-size: 13px;
}
.alert-box.success {
    background: rgba(46, 213, 115, 0.15); border: 1px solid rgba(46, 213, 115, 0.3); color: #2ed573; margin-bottom: 20px; padding: 10px; border-radius: 8px; font-size: 13px;
}

.divider-line {
    height: 1px; background: rgba(255,255,255,0.05); margin: 25px 0;
}


.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.form-group label {
    font-size: 12px; color: var(--text-dim); text-transform: uppercase; font-weight: 700;
    margin: 0; display: block; text-align: left;
}

.input-wrapper { position: relative; width: 100%; }

.input-wrapper input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 14px 15px 14px 45px; /* Hely az ikonnak */
    border-radius: 12px;
    color: white; font-size: 15px;
    outline: none; transition: 0.2s;
}

.input-wrapper input:focus {
    border-color: var(--accent-menta);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(46, 213, 115, 0.1);
}

.input-wrapper .input-icon {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    color: var(--text-dim); font-size: 16px; transition: 0.2s;
    width: 20px; text-align: center; pointer-events: none;
}

.input-wrapper input:focus + .input-icon { color: var(--accent-menta); }


/* Gombok */
.form-actions-pw {
    display: flex; justify-content: flex-end; gap: 15px; margin-top: 30px;
}

.btn-cancel {
    background: transparent; border: 1px solid var(--glass-border); color: var(--text-dim);
    padding: 12px 20px; border-radius: 12px; font-weight: 600; cursor: pointer; transition: 0.2s;
}
.btn-cancel:hover { color: white; border-color: white; }

.btn-save-pw {
    background: var(--accent-menta); color: #000; border: none;
    padding: 12px 25px; border-radius: 12px; font-weight: 800; cursor: pointer;
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.2); transition: 0.2s;
}
.btn-save-pw:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(46, 213, 115, 0.4); }



@media (max-width: 950px) {
    .security-grid { 
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    } 
    
    .dash-header {
        flex-direction: column; align-items: center; text-align: center; gap: 10px;
    }
    
    .tips-card { display: flex; flex-direction: column; align-items: center; height: auto; }
    .req-list { width: 100%; }
    
    .form-actions-pw { flex-direction: column-reverse; } 
    .btn-save-pw, .btn-cancel { width: 100%; padding: 14px; }
}


body.premium-page {
    background-color: #030303;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto !important;
}


.glow-bg {
    position: fixed; width: 800px; height: 800px; border-radius: 50%;
    filter: blur(180px); opacity: 0.12; pointer-events: none; z-index: -1;
}
.glow-bg.top { top: -400px; left: 50%; transform: translateX(-50%); background: #2ed573; }
.glow-bg.bottom { bottom: -400px; right: -200px; background: #0984e3; }

.container {
    max-width: 1200px; margin: 0 auto; padding: 60px 20px; text-align: center;
}

.back-btn-wrapper {
    position: fixed; top: 30px; left: 30px; width: 45px; height: 45px;
    background: rgba(255,255,255,0.05); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: 0.3s; z-index: 50;
}
.back-btn-wrapper:hover { background: #2ed573; color: #000; border-color: #2ed573; }




.hero-header { margin-bottom: 60px; }
.hero-header h1 { font-size: 42px; font-weight: 900; letter-spacing: -1px; margin-bottom: 10px; }
.gradient-text { background: linear-gradient(90deg, #fff, #2ed573); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-header p { font-size: 18px; color: #888; }


.pricing-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}


.pricing-box {
    background: #0f1014;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    padding: 40px 30px;
    width: 320px;
    min-height: 500px;
    display: flex; flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-box.basic {
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

.pricing-box.pro {
    background: #131518;
    border: 2px solid #2ed573;
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 0 50px rgba(46, 213, 115, 0.15);
}
.badge-best {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    background: #2ed573; color: #000; font-weight: 800; padding: 6px 16px;
    border-radius: 20px; font-size: 12px; letter-spacing: 1px; box-shadow: 0 5px 15px rgba(46, 213, 115, 0.4);
}

.pricing-box.lifetime {
    border-top: 4px solid #ffd700;
}


.box-header { text-align: center; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 20px; }
.box-header h3 { font-size: 20px; margin: 0 0 10px 0; color: #fff; font-weight: 700; }
.box-header p { font-size: 13px; color: #777; margin: 0; }

.price { font-size: 36px; font-weight: 800; color: #fff; }
.price-wrapper { display: flex; flex-direction: column; align-items: center; }
.old-price { font-size: 16px; color: #ff5252; text-decoration: line-through; font-weight: 700; margin-bottom: -5px; }
.main-price { font-size: 48px; font-weight: 900; color: #fff; }
.term { font-size: 16px; color: #888; font-weight: 500; }


.features { list-style: none; padding: 0; margin: 0 0 30px 0; flex: 1; text-align: left; }
.features li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; font-size: 14px; color: #ccc; }
.features li i { color: #2ed573; font-size: 16px; width: 20px; text-align: center; }
.features li.mute { color: #555; }
.features li.mute i { color: #555; }
.features li.strong { color: #fff; font-weight: 700; }


.btn-neon {
    display: block; width: 100%; padding: 18px; border-radius: 14px;
    background: #2ed573; color: #000; font-weight: 900; font-size: 16px;
    text-transform: uppercase; text-decoration: none; position: relative; overflow: hidden;
    box-shadow: 0 0 20px rgba(46, 213, 115, 0.3); transition: 0.3s;
}
.btn-neon:hover { transform: translateY(-3px); box-shadow: 0 0 40px rgba(46, 213, 115, 0.6); }


.btn-shine {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg); animation: shineBtn 3s infinite;
}
@keyframes shineBtn { 0% { left: -100%; } 20% { left: 200%; } 100% { left: 200%; } }

.btn-flat {
    width: 100%; padding: 16px; background: rgba(255,255,255,0.05); color: #666;
    border: none; border-radius: 14px; font-weight: 700; cursor: default;
}
.btn-outline {
    display: block; width: 100%; padding: 16px; border: 1px solid #ffd700; border-radius: 14px;
    color: #ffd700; font-weight: 700; text-decoration: none; transition: 0.2s;
}
.btn-outline:hover { background: rgba(255, 215, 0, 0.1); }

.guarantee { margin-top: 15px; font-size: 12px; color: #888; }
.footer-trust { color: #444; font-size: 20px; display: flex; gap: 15px; justify-content: center; align-items: center; }
.footer-trust span { font-size: 12px; }



.vip-dashboard {
    max-width: 800px; margin: 0 auto; text-align: center;
}
.vip-header-text h1 { font-size: 32px; font-weight: 800; color: white; margin-bottom: 5px; }
.vip-header-text p { color: #888; margin-bottom: 40px; }
.vip-tag { background: #2ed573; color: #000; font-size: 10px; font-weight: 900; padding: 4px 10px; border-radius: 20px; letter-spacing: 2px; }

.vip-card-container {
    display: flex; gap: 40px; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.02); padding: 40px; border-radius: 30px; border: 1px solid rgba(255,255,255,0.05);
}


.holo-card {
    width: 360px; height: 220px; border-radius: 20px;
    background: linear-gradient(135deg, #111, #081a14);
    border: 1px solid rgba(46, 213, 115, 0.4);
    position: relative; overflow: hidden;
    padding: 25px; text-align: left;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    display: flex; flex-direction: column; justify-content: space-between;
}
.holo-shine {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.05), transparent);
    animation: holoMove 6s infinite linear; pointer-events: none;
}
@keyframes holoMove { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.card-top { display: flex; justify-content: space-between; align-items: center; }
.logo-icon { font-size: 24px; color: #fff; }
.card-type { font-size: 10px; letter-spacing: 2px; color: #2ed573; font-weight: 800; }

.card-chip { display: flex; gap: 5px; margin-top: 10px; width: 40px; height: 28px; background: #ccc; border-radius: 4px; background: linear-gradient(135deg, #ddd, #999); position: relative; overflow: hidden; }
.chip-line { width: 100%; height: 1px; background: #666; position: absolute; top: 30%; }
.chip-line:last-child { top: 60%; }

.card-number { font-size: 18px; font-family: monospace; color: #fff; letter-spacing: 2px; text-shadow: 0 2px 2px rgba(0,0,0,0.5); }

.card-details { display: flex; justify-content: space-between; }
.label { font-size: 8px; color: #aaa; display: block; margin-bottom: 2px; }
.val { font-size: 12px; color: #fff; font-weight: 600; text-transform: uppercase; }


.status-panel { text-align: left; flex: 1; }
.status-row { background: rgba(0,0,0,0.3); padding: 15px; border-radius: 12px; margin-bottom: 15px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(255,255,255,0.05); }
.indicator-box { display: flex; align-items: center; gap: 10px; color: #aaa; font-size: 13px; }

.led { width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 10px currentColor; animation: pulseLed 2s infinite; }
.led.green { background: #2ed573; color: #2ed573; }
.led.orange { background: #f39c12; color: #f39c12; }
@keyframes pulseLed { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }

.text-glow { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3); }

.vip-buttons { display: flex; gap: 10px; margin-top: 20px; }
.btn-vip { flex: 1; padding: 12px; text-align: center; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; transition: 0.2s; }
.btn-vip.manage { background: rgba(255,255,255,0.1); color: #fff; }
.btn-vip.manage:hover { background: rgba(255,255,255,0.2); }
.btn-vip.renew { background: #2ed573; color: #000; }


@media (max-width: 950px) {
    .pricing-container { flex-direction: column; align-items: stretch; gap: 50px; max-width: 400px; margin: 0 auto; }
    
    .pricing-box { width: 100%; min-height: auto; }
    
    /* Pro kártya felül */
    .pricing-box.pro { order: -1; transform: scale(1); }
    .pricing-box.basic { order: 2; transform: scale(1); }
    .pricing-box.lifetime { order: 3; transform: scale(1); }
    
    .vip-card-container { flex-direction: column; padding: 20px; }
    .holo-card { width: 100%; max-width: 340px; }
    .status-panel { width: 100%; }
}


html:has(body.premium-page), 
body.premium-page {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    display: block !important;
    background-color: #020606;
    background-image: radial-gradient(circle at 50% 0%, #1a2e26 0%, #020606 80%);
}

.lockwall-container {
    display: flex; justify-content: center; align-items: center; 
    min-height: 80vh; width: 100%; padding: 20px;
}

.lock-card {
    background: rgba(20, 25, 33, 0.7); 
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    position: relative; overflow: hidden;
    animation: fadeInUp 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lock-icon-box {
    width: 80px; height: 80px; margin: 0 auto 25px;
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid var(--accent-menta); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; color: var(--accent-menta);
    box-shadow: 0 0 40px rgba(46, 213, 115, 0.2);
}

.premium-badge {
    display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 2px;
    color: var(--accent-menta); margin-bottom: 10px; text-transform: uppercase;
}

.lock-card h1 { font-size: 28px; color: white; margin: 0 0 15px 0; font-weight: 800; }
.lock-card p { font-size: 15px; color: var(--text-dim); line-height: 1.6; margin-bottom: 30px; }

.btn-unlock-glow {
    display: block; width: 100%; padding: 16px; border-radius: 12px;
    background: var(--accent-menta); color: #000; font-weight: 800; text-decoration: none;
    font-size: 15px; text-transform: uppercase; letter-spacing: 1px;
    box-shadow: 0 0 25px rgba(46, 213, 115, 0.3); transition: 0.3s; margin-bottom: 15px;
}
.btn-unlock-glow:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(46, 213, 115, 0.6); }

.btn-back-link { color: var(--text-dim); text-decoration: none; font-size: 13px; font-weight: 600; }


.app-dashboard-wrapper {
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 60px 20px 150px 20px;
    width: 100%;
    box-sizing: border-box;
}

.app-header {
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 40px; gap: 15px; text-align: center;
}
.logo-orb {
    width: 45px; height: 45px; border-radius: 50%; background: linear-gradient(135deg, #2ed573, #26af5f);
    color: #000; font-weight: 800; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 20px rgba(46, 213, 115, 0.4); flex-shrink: 0;
}
.header-titles h1 { font-size: 2.2rem; color: white; margin: 0 0 5px 0; font-weight: 800; }
.header-titles p { font-size: 1rem; color: var(--text-dim); margin: 0; }

.tool-grid {
    display: grid; 
    grid-template-columns: 1.6fr 1fr; 
    gap: 30px; 
    align-items: start;
}

.tool-card {
    background: rgba(20, 25, 33, 0.75); 
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 35px;
    display: flex; flex-direction: column;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    height: auto !important;
}

.card-head { margin-bottom: 25px; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 20px; }
.card-head h2 { font-size: 20px; color: white; margin: 0 0 5px 0; display: flex; align-items: center; gap: 10px; }
.card-head p { font-size: 13px; color: var(--text-dim); margin: 0; }
.slider-group { margin-bottom: 25px; background: rgba(255,255,255,0.02); padding: 15px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.slider-header { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; color: white; font-weight: 700; text-transform: uppercase; }
.val-display { color: var(--accent-menta); font-weight: 800; background: rgba(46, 213, 115, 0.1); padding: 2px 8px; border-radius: 6px; }

.lm-range {
    width: 100%; -webkit-appearance: none; height: 8px; background: rgba(255,255,255,0.1);
    border-radius: 10px; outline: none; margin: 0; cursor: pointer;
}
.lm-range::-webkit-slider-thumb {
    -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
    background: #fff; box-shadow: 0 0 15px rgba(255,255,255,0.5); margin-top: -7px;
    border: 2px solid var(--accent-menta); transition: transform 0.2s;
}
.lm-range::-webkit-slider-thumb:hover { transform: scale(1.1); }


.input-block { margin-bottom: 25px; }
.input-block label { display: block; font-size: 12px; font-weight: 700; color: var(--text-dim); margin-bottom: 8px; text-transform: uppercase; }

.custom-select-wrapper { position: relative; width: 100%; }


.lm-input-select {
    width: 100%;
    -webkit-appearance: none; appearance: none;
    background: rgba(255,255,255,0.05) !important;
    border: 1px solid rgba(255,255,255,0.1);
    color: white !important;
    padding: 14px; padding-right: 40px;
    border-radius: 12px;
    font-size: 14px;
    outline: none; cursor: pointer;
    font-family: inherit;
}
.lm-input-select option { background-color: #0f131a; color: white; padding: 10px; }


.select-arrow {
    position: absolute; right: 15px; top: 50%; transform: translateY(-50%);
    color: var(--text-dim); pointer-events: none; font-size: 12px;
}


.lm-input-text {
    width: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: white; padding: 14px; border-radius: 12px; font-size: 14px;
    outline: none; font-family: inherit; min-height: 100px; resize: vertical;
}
.lm-input-text:focus, .lm-input-select:focus {
    border-color: var(--accent-menta); background: rgba(255,255,255,0.08);
}


.btn-analyze-neon {
    width: 100%; padding: 18px; background: var(--accent-menta); color: #000;
    border: none; border-radius: 12px; font-weight: 800; font-size: 15px;
    text-transform: uppercase; cursor: pointer; transition: 0.2s; margin-top: 10px;
    box-shadow: 0 5px 20px rgba(46, 213, 115, 0.2); display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-analyze-neon:hover { transform: translateY(-2px); box-shadow: 0 10px 40px rgba(46, 213, 115, 0.4); }


.tool-sidebar {
    display: flex; flex-direction: column; gap: 20px;
    position: sticky; top: 20px; /* Követi a görgetést */
}

.result-widget {
    background: rgba(20, 25, 33, 0.8); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px; padding: 30px; text-align: center;
}
.widget-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.widget-header h3 { font-size: 16px; color: white; margin: 0; font-weight: 700; text-transform: uppercase; }
.live-badge { background: #ff5252; color: white; font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 4px; animation: pulseDot 1s infinite; }

.gauge-bar { height: 12px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; margin: 20px 0; position: relative; }
.gauge-fill { height: 100%; background: var(--accent-menta); border-radius: 10px; transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1); width: 0%; }
.gauge-value { font-size: 42px; font-weight: 900; color: white; line-height: 1; margin-bottom: 5px; }
.gauge-category { font-size: 14px; color: var(--text-dim); text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

.ai-feedback-widget {
    background: rgba(46, 213, 115, 0.05); border: 1px solid rgba(46, 213, 115, 0.2);
    border-radius: 24px; padding: 25px;
}
.ai-header { color: var(--accent-menta); font-weight: 800; margin-bottom: 15px; font-size: 14px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.ai-content p { font-size: 14px; color: #ddd; line-height: 1.6; margin: 0; }
.ai-divider { height: 1px; background: rgba(255,255,255,0.1); margin: 15px 0; }
.advice-text { font-style: italic; color: #fff; margin-top: 5px; }



@media (max-width: 900px) {
    .app-dashboard-wrapper { 
        padding: 30px 15px 120px 15px;
    }
    .tool-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .tool-sidebar { 
        position: static;
        order: -1;
    }
    
    .tool-card, .result-widget, .ai-feedback-widget {
        padding: 25px;
    }
    
    .card-head h2 { font-size: 18px; }
    .btn-analyze-neon { padding: 16px; font-size: 14px; }
    
    .lock-card { padding: 30px 20px; }
    .lock-card h1 { font-size: 24px; }
}


.motivation-wrapper {
    max-width: 600px; margin: 0 auto; padding: 40px 20px;
    min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
}


.motivation-header { text-align: center; margin-bottom: 50px; animation: fadeInUp 0.6s ease-out; }
.header-icon-box {
    width: 70px; height: 70px; margin: 0 auto 20px;
    background: rgba(46, 213, 115, 0.1); border: 1px solid var(--accent-menta);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--accent-menta);
    box-shadow: 0 0 30px rgba(46, 213, 115, 0.2);
}
.motivation-header h1 { font-size: 28px; font-weight: 800; margin: 0 0 10px 0; color: white; }
.motivation-header p { font-size: 15px; color: var(--text-dim); margin: 0; line-height: 1.5; }



.card-scene {
    width: 320px; height: 480px; perspective: 1000px; margin-bottom: 30px;
}


.card-object {
    width: 100%; height: 100%; position: relative;
    transform-style: preserve-3d; transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.card-object.is-flipped { transform: rotateY(180deg); }


.card-face {
    position: absolute; inset: 0;
    backface-visibility: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 30px; text-align: center;
}

.face-front {
    background: linear-gradient(135deg, rgba(20, 25, 33, 0.95), rgba(10, 40, 30, 0.95));
}
.face-front::before {
    content: ''; position: absolute; inset: 0; opacity: 0.05;
    background-image: radial-gradient(#fff 1px, transparent 1px); background-size: 20px 20px;
}

.front-icon { font-size: 50px; color: var(--accent-menta); margin-bottom: 20px; filter: drop-shadow(0 0 15px rgba(46, 213, 115, 0.4)); }
.face-front h3 { font-size: 22px; color: white; margin: 0 0 10px 0; }
.face-front p { font-size: 14px; color: #ccc; margin: 0 0 30px 0; }
.tap-hint {
    font-size: 12px; color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px;
    animation: pulseText 2s infinite; font-weight: 700; display: flex; align-items: center; gap: 8px;
}
@keyframes pulseText { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }


.face-back {
    transform: rotateY(180deg);
    background: radial-gradient(circle at top, rgba(46, 213, 115, 0.15), rgba(20, 25, 33, 0.98));
    border-color: var(--accent-menta);
}

.quote-icon { font-size: 24px; color: var(--accent-menta); opacity: 0.5; margin-bottom: 20px; }
.quote-body {
    font-size: 18px; line-height: 1.6; color: white; font-weight: 500; font-style: italic;
    margin-bottom: 20px; flex-grow: 1; display: flex; align-items: center; justify-content: center;
}
.quote-author { font-size: 14px; color: var(--accent-menta); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.card-footer-logo {
    margin-top: 30px; font-size: 10px; color: rgba(255,255,255,0.1); font-weight: 900; letter-spacing: 3px;
}


.card-shine {
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-25deg); pointer-events: none; transition: 0.5s;
}
.card-object:hover .card-shine { left: 200%; transition: 1s; }



.motivation-status-text {
    font-size: 13px; color: var(--text-dim); background: rgba(255,255,255,0.05);
    padding: 10px 20px; border-radius: 20px; display: flex; align-items: center; gap: 8px;
}
.motivation-status-text i { color: var(--accent-menta); }



@media (max-width: 480px) {
    .card-scene { width: 100%; max-width: 300px; height: 420px; }
    .quote-body { font-size: 16px; }
}


.app-center-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}


.breathing-grid {
    display: grid; 
    grid-template-columns: 1.5fr 1fr;
    gap: 30px; 
    width: 100%;
    max-width: 900px;
}

.tool-card {
    background: rgba(20, 25, 33, 0.75);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 30px;
    height: 550px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.card-header-small {
    font-size: 11px; font-weight: 800; color: var(--text-dim); text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 20px; display: flex; align-items: center; gap: 8px;
}

.breathing-main {
    align-items: center;
    justify-content: space-between;
    position: relative;
    border: 1px solid rgba(46, 213, 115, 0.2);
}


.breath-header { width: 100%; display: flex; justify-content: center; z-index: 10; }
.mode-tabs {
    background: rgba(255,255,255,0.05); padding: 4px; border-radius: 12px; display: flex; gap: 5px;
}
.mode-tab {
    background: transparent; border: none; color: var(--text-dim);
    padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: 0.3s;
}
.mode-tab:hover { color: white; }
.mode-tab.active { background: var(--accent-menta); color: #000; }


.visualizer-area {
    flex-grow: 1; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.orb-container { width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }


.breathing-orb {
    width: 140px; height: 140px; border-radius: 50%;
    position: relative; display: flex; align-items: center; justify-content: center;
    transform: scale(1);
    --duration: 4000ms; 
    transition: transform var(--duration) ease-in-out;
}
.orb-border {
    position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid var(--accent-menta);
    box-shadow: 0 0 20px rgba(46, 213, 115, 0.2);
    transition: all var(--duration) ease-in-out;
}
.orb-glow {
    position: absolute; inset: 0; border-radius: 50%;
    background: var(--accent-menta); opacity: 0.1; filter: blur(20px);
    transition: all var(--duration) ease-in-out;
}


.breathing-orb.inhale { transform: scale(1.5); }
.breathing-orb.inhale .orb-border { border-color: #fff; box-shadow: 0 0 50px rgba(46, 213, 115, 0.5); }
.breathing-orb.inhale .orb-glow { opacity: 0.4; }
.breathing-orb.exhale { transform: scale(1); }
.breathing-orb.hold { transform: scale(1.5); }
.breathing-orb.hold .orb-border { border-color: #fff; box-shadow: 0 0 80px rgba(255, 255, 255, 0.3); }
.breathing-orb.hold-out { transform: scale(1); opacity: 0.6; }


.instruction-box { height: 60px; text-align: center; }
#instruction-text { font-size: 24px; font-weight: 800; color: white; margin-bottom: 5px; }
#sub-text { font-size: 13px; color: var(--text-dim); }


.breath-footer { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.mini-stats {
    display: flex; align-items: center; gap: 20px;
    background: rgba(0,0,0,0.3); padding: 8px 20px; border-radius: 30px;
}
.ms-item { display: flex; align-items: center; gap: 8px; }
.ms-item .lbl { font-size: 10px; color: var(--text-dim); font-weight: 700; }
.ms-item .val { font-size: 14px; color: white; font-weight: 700; font-family: monospace; }
.ms-sep { width: 1px; height: 12px; background: rgba(255,255,255,0.1); }

.control-buttons { display: flex; justify-content: center; width: 100%; }
.btn-ctrl {
    padding: 14px 40px; border-radius: 50px; font-weight: 800; font-size: 14px; border: none; cursor: pointer; display: flex; align-items: center; gap: 10px; transition: 0.2s;
}
.btn-ctrl.start { background: var(--accent-menta); color: #000; box-shadow: 0 0 20px rgba(46, 213, 115, 0.3); }
.btn-ctrl.start:hover { transform: scale(1.05); }
.btn-ctrl.stop { background: rgba(255,82,82,0.15); color: #ff5252; border: 1px solid rgba(255,82,82,0.3); width: 100%; justify-content: center; }
.btn-ctrl.stop:hover { background: rgba(255,82,82,0.25); }



.sidebar-panel {
    justify-content: flex-start;
    text-align: left;
}

.panel-section { margin-bottom: 20px; }
.panel-section h3 { font-size: 14px; color: white; margin-bottom: 15px; display: flex; align-items: center; gap: 8px; }
.panel-section h3 i { color: var(--accent-menta); }

.panel-divider { height: 1px; background: rgba(255,255,255,0.05); margin: 20px 0; width: 100%; }


.track-name { display: block; color: white; font-weight: 600; margin-bottom: 10px; font-size: 14px; }
.vol-control { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-size: 12px; }
.vol-control input { flex: 1; accent-color: var(--accent-menta); height: 4px; }


.guide-list { list-style: none; padding: 0; margin: 0; }
.guide-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; }
.bullet { width: 8px; height: 8px; border-radius: 50%; background: #555; }
.bullet.inhale { background: var(--accent-menta); box-shadow: 0 0 8px var(--accent-menta); }
.bullet.exhale { background: #0984e3; }
.bullet.hold { background: #fff; }

.guide-list div { display: flex; flex-direction: column; font-size: 13px; color: #ccc; }
.guide-list small { color: var(--text-dim); font-size: 11px; }

.info-box { background: rgba(46, 213, 115, 0.05); padding: 15px; border-radius: 12px; font-size: 12px; color: #ccc; line-height: 1.5; border: 1px solid rgba(46, 213, 115, 0.1); margin-top: auto; }
.info-box i { color: var(--accent-menta); margin-right: 5px; }



@media (max-width: 900px) {
    .app-center-wrapper { align-items: flex-start; padding-top: 30px; height: auto; display: block; }
    
    .breathing-grid { 
        grid-template-columns: 1fr;
        gap: 20px; 
    }
    .tool-card { height: auto; min-height: auto; padding: 25px; }
    .sidebar-panel { order: 2; } /* Jobb oldal lent */
    .orb-container { width: 180px; height: 180px; margin-top: 20px; }
    .breathing-orb { width: 120px; height: 120px; }
}

body.profile-page {
    overflow-y: auto !important;
    height: auto !important;
    min-height: 100vh;
    -webkit-overflow-scrolling: touch;
}

.lm-page-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}
.lm-page-header h1 {
    font-size: 32px; font-weight: 800; margin: 10px 0; color: white; letter-spacing: -1px;
}
.lm-page-header p {
    color: var(--text-dim); font-size: 15px; max-width: 500px; margin: 0 auto; line-height: 1.6;
}
.lm-personalize-container {
    max-width: 1000px; width: 100%; margin: 0 auto;
    display: flex; flex-direction: column; gap: 30px;
    /* Hely a fix gombnak alul */
    padding-bottom: 140px !important;
}
.lm-hero-card {
    background: rgba(20, 25, 33, 0.7);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 30px;
    position: relative; overflow: hidden;
    transition: border-color 0.4s ease;
}
.lm-hero-glow {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 300px; height: 300px; border-radius: 50%;
    background: var(--accent-menta); filter: blur(120px); opacity: 0.15; z-index: 0;
    transition: background 0.4s ease;
}
.lm-hero-content {
    position: relative; z-index: 1; display: flex; align-items: center; gap: 25px;
}
.lm-hero-icon {
    width: 80px; height: 80px; flex-shrink: 0; border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1); transition: all 0.4s ease;
}
.lm-hero-text { text-align: left; }
.current-label { font-size: 10px; font-weight: 800; letter-spacing: 2px; color: var(--text-dim); text-transform: uppercase; display: block; margin-bottom: 5px; }
.lm-hero-text h2 { font-size: 24px; color: white; margin: 0 0 5px 0; font-weight: 800; }
.lm-hero-text p { font-size: 14px; color: #ccc; margin: 0; line-height: 1.5; }
.lm-grid-wrapper {
    position: relative;
}

.lm-persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    width: 100%;
    padding: 10px;
}
.lm-persona-grid.blurred { filter: blur(8px); opacity: 0.5; pointer-events: none; user-select: none; }

.lm-persona-option { display: block; cursor: pointer; height: 100%; }
.lm-persona-option input { display: none; }

.lm-persona-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 25px;
    height: 100%; min-height: 140px;
    display: flex; flex-direction: column;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.lm-grid-wrapper:not(:has(.lm-lock-overlay)) .lm-persona-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.lm-persona-option input:checked + .lm-persona-card {
    background: rgba(46, 213, 115, 0.08);
    border-color: var(--accent-menta);
    border-width: 2px; /* Vastagabb keret */
    box-shadow: 0 10px 30px rgba(46, 213, 115, 0.25);
    transform: translateY(-2px);
}

.lm-check-mark {
    position: absolute; top: 15px; right: 15px; width: 24px; height: 24px; border-radius: 50%;
    background: var(--accent-menta); color: #000; display: flex; align-items: center; justify-content: center;
    font-size: 12px; opacity: 0; transform: scale(0.5) rotate(-45deg); transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.lm-persona-option input:checked + .lm-persona-card .lm-check-mark { opacity: 1; transform: scale(1) rotate(0deg); }

.lm-pc-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.lm-pc-icon {
    width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0; transition: transform 0.3s;
}
.lm-persona-card:hover .lm-pc-icon { transform: scale(1.1); }

.lm-pc-title { font-size: 18px; font-weight: 700; color: white; margin: 0; }
.lm-pc-desc { font-size: 14px; color: #ccc; line-height: 1.5; margin: 0; }
.lm-lock-overlay {
    position: absolute; inset: 0; z-index: 10; display: flex; align-items: center; justify-content: center;
    background: rgba(2, 6, 6, 0.5);
    border-radius: 24px;
}
.lm-lock-box {
    background: rgba(20, 25, 33, 0.95); border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 24px; padding: 35px 25px; text-align: center; max-width: 340px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.8); backdrop-filter: blur(15px);
}
.lm-lock-icon {
    width: 64px; height: 64px; margin: 0 auto 20px; background: rgba(255, 215, 0, 0.1); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: #ffd700; font-size: 28px;
    box-shadow: 0 0 40px rgba(255, 215, 0, 0.25);
}
.lm-lock-box h3 { font-size: 22px; color: white; margin: 0 0 10px 0; font-weight: 800; }
.lm-lock-box p { font-size: 14px; color: #ccc; margin: 0 0 25px 0; line-height: 1.6; }
.lm-btn-unlock {
    display: inline-block; width: 100%; padding: 16px; border-radius: 14px;
    background: linear-gradient(135deg, #ffd700, #e1b12c); color: #000; font-weight: 800;
    text-decoration: none; font-size: 14px; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.lm-btn-unlock:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4); }
.lm-action-bar {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: rgba(2, 6, 6, 0.9); backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border); padding: 20px;
    display: flex; justify-content: center; z-index: 2000;
}
.lm-btn-save {
    background: var(--accent-menta); color: #000; border: none;
    padding: 18px 40px; border-radius: 16px; font-weight: 800; font-size: 16px; cursor: pointer;
    box-shadow: 0 0 30px rgba(46, 213, 115, 0.2); transition: 0.3s; width: 100%; max-width: 450px; text-transform: uppercase;
}
.lm-btn-save:hover { transform: translateY(-3px); box-shadow: 0 10px 40px rgba(46, 213, 115, 0.5); background: #26af61; }

.lm-alert {
    padding: 15px; border-radius: 12px; margin-bottom: 20px; font-weight: 600; font-size: 14px;
    display: flex; align-items: center; gap: 10px;
}
.lm-alert.success { background: rgba(46, 213, 115, 0.1); border: 1px solid #2ed573; color: #2ed573; }
.lm-alert.error { background: rgba(255, 82, 82, 0.1); border: 1px solid #ff5252; color: #ff5252; }

@media (max-width: 768px) {
    .lm-hero-content { flex-direction: column; text-align: center; }
    .lm-hero-text { text-align: center; }
    .lm-action-bar { padding: 15px; }
    .lm-personalize-container { padding-bottom: 160px !important; }
    .lm-persona-card { padding: 20px; } /* Kisebb padding mobilon */
}

.limit-popup {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    
    background: rgba(255, 82, 82, 0.9);
    color: #fff;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    z-index: 10;
}
.limit-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
#user-input.limit-reached {
    color: #ff5252;
}
.model-status-badge {
    text-align: center;
    font-size: 11px;
    color: #00dc82;
    background: rgba(0, 220, 130, 0.08);
    border: 1px solid rgba(0, 220, 130, 0.2);
    border-radius: 50px;
    padding: 6px 14px;
    margin: 0 auto 12px auto;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    pointer-events: none;
    letter-spacing: 0.5px;
}
.ai-disclaimer-text {
    text-align: center;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 15px;
    margin-bottom: 5px;
    width: 100%;
    pointer-events: none;
    font-weight: 400;
}
@media (max-width: 600px) {
    .model-status-badge {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 10px;
    }
    .ai-disclaimer-text {
        font-size: 9px;
        margin-top: 10px;
    }
}


/* ===== TRAUMA SUPPORT EXPERIENCE ===== */

html:has(body.trauma-page),
body.trauma-page {
    height: auto !important;
    min-height: 100%;
}

body.trauma-page {
    display: block !important;
    min-height: 100vh;
    margin: 0;
    color: #eef7f3;
    background:
        radial-gradient(circle at top left, rgba(46,213,115,0.12), transparent 35%),
        radial-gradient(circle at top right, rgba(0,160,255,0.10), transparent 28%),
        linear-gradient(180deg, #07100d 0%, #030607 100%);
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
}

body.trauma-page * {
    box-sizing: border-box;
}

.trauma-shell {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 18px 48px;
}

.trauma-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
}

.trauma-back,
.trauma-mini-btn,
.trauma-primary-btn,
.trauma-secondary-btn {
    border: 0;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.trauma-back,
.trauma-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: #eef7f3;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(14px);
}

.trauma-mini-btn {
    font-size: 13px;
}

.trauma-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(310px, .85fr);
    gap: 22px;
    margin-bottom: 22px;
}

.trauma-hero-card,
.trauma-side-card,
.trauma-step-card,
.trauma-result-card,
.trauma-safety-card {
    width: 100%;
    background: rgba(11, 19, 18, 0.82);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(0,0,0,0.32);
    backdrop-filter: blur(18px);
}

.trauma-hero-card {
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.trauma-hero-card::after {
    content: '';
    position: absolute;
    inset: auto -15% -30% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46,213,115,0.18), transparent 65%);
    pointer-events: none;
}

.trauma-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(46,213,115,0.08);
    border: 1px solid rgba(46,213,115,0.22);
    color: #9af0bc;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trauma-title {
    font-size: clamp(30px, 5vw, 52px);
    line-height: 1.02;
    margin: 18px 0 14px;
    letter-spacing: -0.04em;
}

.trauma-lead {
    max-width: 720px;
    color: rgba(238,247,243,0.78);
    line-height: 1.7;
    font-size: 16px;
}

.trauma-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.trauma-pill {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
    color: #d6e5dd;
    font-size: 13px;
}

.trauma-side-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.trauma-progress {
    display: flex;
    gap: 10px;
}

.trauma-progress .bar {
    flex: 1;
    height: 7px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    overflow: hidden;
}

.trauma-progress .bar > span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #2ed573, #7ce8ff);
    transition: width .25s ease;
}

.trauma-side-card h3 {
    margin: 0;
    font-size: 22px;
}

.trauma-side-card p {
    margin: 0;
    color: rgba(238,247,243,0.72);
    line-height: 1.6;
}

.trauma-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 360px);
    gap: 22px;
    align-items: start;
}

.trauma-main {
    min-width: 0;
}

.trauma-step-stage {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.trauma-step-card {
    padding: 28px;
    min-width: 0;
}

.trauma-step-card.hidden {
    display: none;
}

.trauma-step-head {
    margin-bottom: 20px;
}

.trauma-step-head h2 {
    margin: 0 0 8px;
    font-size: 28px;
}

.trauma-step-head p {
    margin: 0;
    color: rgba(238,247,243,0.72);
    line-height: 1.6;
}

.trauma-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.trauma-option {
    width: 100%;
    text-align: left;
    padding: 16px 18px;
    min-height: 96px;
    border-radius: 22px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #eef7f3;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
    touch-action: manipulation;
}

.trauma-option:hover,
.trauma-option:focus-visible {
    transform: translateY(-2px);
    border-color: rgba(124,232,255,0.28);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.18);
}

.trauma-option.active {
    border-color: rgba(46,213,115,0.6);
    background: rgba(46,213,115,0.08);
    box-shadow: 0 0 0 1px rgba(46,213,115,0.18) inset;
}

.trauma-option .opt-title {
    display: block;
    font-weight: 800;
    margin-bottom: 8px;
}

.trauma-option .opt-desc {
    display: block;
    color: rgba(238,247,243,0.65);
    font-size: 14px;
    line-height: 1.45;
}

.trauma-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.trauma-field {
    min-width: 0;
    padding: 18px;
    border-radius: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.trauma-field.full {
    grid-column: 1 / -1;
}

.trauma-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 12px;
}

.trauma-muted {
    color: rgba(238,247,243,0.6);
    font-size: 14px;
}

.trauma-slider-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trauma-slider {
    width: 100%;
    accent-color: #2ed573;
}

.trauma-slider-value {
    min-width: 58px;
    text-align: center;
    font-weight: 800;
    color: #9af0bc;
}

.trauma-toggle-group,
.trauma-tone-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.trauma-toggle {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    color: #eef7f3;
    cursor: pointer;
    font-weight: 700;
    touch-action: manipulation;
}

.trauma-toggle.active {
    background: rgba(46,213,115,0.1);
    border-color: rgba(46,213,115,0.5);
    color: #9af0bc;
}

.trauma-textarea {
    width: 100%;
    min-height: 128px;
    resize: vertical;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(2,6,6,0.75);
    color: #eef7f3;
    outline: none;
    touch-action: manipulation;
}

.trauma-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
}

.trauma-primary-btn {
    padding: 14px 20px;
    background: linear-gradient(135deg, #2ed573, #7ce8ff);
    color: #03100b;
    box-shadow: 0 12px 26px rgba(46,213,115,0.22);
    touch-action: manipulation;
}

.trauma-secondary-btn {
    padding: 14px 18px;
    background: rgba(255,255,255,0.04);
    color: #eef7f3;
    border: 1px solid rgba(255,255,255,0.08);
    touch-action: manipulation;
}

.trauma-result-grid {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.trauma-result-card {
    padding: 24px;
}

.trauma-result-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
}

.trauma-result-card p,
.trauma-result-card li {
    color: rgba(238,247,243,0.82);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.trauma-result-card ul {
    margin: 0;
    padding-left: 18px;
}

.trauma-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.trauma-state-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
}

.trauma-focus-chip {
    display: inline-flex;
    margin-top: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(124,232,255,0.08);
    border: 1px solid rgba(124,232,255,0.26);
    color: #bceffd;
    font-weight: 700;
}

.trauma-sidebar {
    display: grid;
    gap: 16px;
    position: sticky;
    top: 24px;
    min-width: 0;
}

.trauma-safety-card {
    padding: 22px;
}

.trauma-safety-card h4 {
    margin: 0 0 10px;
    font-size: 18px;
}

.trauma-safety-card p,
.trauma-safety-card li {
    color: rgba(238,247,243,0.74);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.trauma-safety-card ul {
    margin: 0;
    padding-left: 18px;
}

.trauma-emergency {
    border: 1px solid rgba(255, 110, 110, 0.25);
    background: linear-gradient(180deg, rgba(95,18,18,0.45), rgba(31,12,12,0.88));
}

.trauma-emergency h4 {
    color: #ffd6d6;
}

.trauma-loading {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(238,247,243,0.75);
    font-size: 14px;
}

.trauma-loading i {
    color: #7ce8ff;
}

.trauma-error {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255,82,82,0.1);
    border: 1px solid rgba(255,82,82,0.22);
    color: #ffd7d7;
}

.trauma-footer-note {
    margin-top: 18px;
    color: rgba(238,247,243,0.55);
    font-size: 13px;
    line-height: 1.6;
}

.trauma-inline-results {
    display: none;
}

.trauma-inline-results.visible {
    display: grid;
    gap: 16px;
}

@media (max-width: 980px) {
    .trauma-hero,
    .trauma-layout {
        grid-template-columns: 1fr;
    }

    .trauma-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 720px) {
    .trauma-shell {
        padding: 18px 14px 34px;
    }

    .trauma-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .trauma-title {
        font-size: 34px;
    }

    .trauma-grid,
    .trauma-form-grid {
        grid-template-columns: 1fr;
    }

    .trauma-hero-card,
    .trauma-side-card,
    .trauma-step-card,
    .trauma-result-card,
    .trauma-safety-card {
        border-radius: 22px;
    }

    .trauma-hero-card,
    .trauma-side-card,
    .trauma-step-card {
        padding: 22px;
    }

    .trauma-actions {
        flex-direction: column-reverse;
    }

    .trauma-primary-btn,
    .trauma-secondary-btn,
    .trauma-back {
        width: 100%;
        justify-content: center;
    }
}

/* ==== MOBILE CHAT SWIPE HARDENING ==== */
@media (max-width: 900px) {
    html,
    body,
    .app-shell,
    #chat-window {
        overflow-x: hidden !important;
        overscroll-behavior-x: none;
    }

    #chat-window {
        padding-left: 14px;
        padding-right: 14px;
    }

    .message-row {
        max-width: 100%;
        transform: translateX(0);
    }

    .bubble {
        max-width: 88%;
    }

    .message-actions {
        display: none !important;
    }

    .reply-bar {
        margin-left: 14px;
        margin-right: 14px;
    }
}

button,
a,
input,
textarea,
select,
label,
summary,
.reply-btn-desktop,
.reply-close-btn,
.send-btn,
.mic-btn,
.menu-toggle-btn {
    touch-action: manipulation;
}

.action-btn.coupon {
    background: rgba(46, 213, 115, 0.12);
    border: 1px solid rgba(46, 213, 115, 0.25);
    color: #2ed573;
}

.action-btn.coupon:hover {
    background: rgba(46, 213, 115, 0.2);
}