/* general colors */
a {
    color:orange;
    transition: all 0.3s ease-in-out;
}
body {background:#141414; color:#fff;}
button { 
    background:transparent; 
    color:#fff; 
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Csak mozgás: nagyítás és elmozdulás - Még ruganyosabb */
button:hover, .theme_btn:hover, .pag_btn:hover, .ok_btn:hover, .delete_btn:hover, .send_btn:hover {
    transform: scale(1.15) translateY(-3px);
}

button:active {
    transform: scale(0.9);
}

input, textarea, .post_input_container { 
    background:#151515; 
    border:1px solid #222 !important; 
    color:#fff; 
    transition: all 0.3s ease;
    outline: none;
}

input:focus {
    border-color: #666 !important; /* Világosabb szürke szegély a cián helyett */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.07); /* Nagyon enyhe, világos ragyogás */
    transform: scale(1.01);
}

.setdef { color:#fff; }

/* =========================================
   COOKIE MODAL - JAVÍTOTT GLASS DESIGN (Harmonizálás a főoldallal)
   ========================================= */
.cookie_wrap {
    /* 1. OVERLAY (Háttér) */
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 2147483647 !important;
    margin: 0 !important;
    padding: 0 !important;
    
    /* JAVÍTÁS: Sokkal áttetszőbb háttér, hogy a város látszódjon */
    /* Korábban: nagyon sötét, szinte fekete volt. Most: enyhe sötétítés. */
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%) !important;
    
    /* Enyhe blur az egész képernyőre a fókusz miatt (opcionális, de szép) */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    
    display: flex; 
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    
    transform: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow-y: auto !important;
}

/* 2. A KÁRTYA ELEMEI (Összeolvasztva egy dobozzá) */
.cookie_wrap > * {
    width: 90% !important;
    max-width: 480px !important;
    box-sizing: border-box !important;
    
    /* JAVÍTÁS: Ugyanaz a Glassmorphism stílus, mint a főoldal paneljeinél (.back_panel) */
    background: rgba(32, 32, 32, 0.5) !important; 
    backdrop-filter: blur(12.1px) !important;
    -webkit-backdrop-filter: blur(12.1px) !important;
    
    /* Szegélyek finomítása */
    border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    
    margin: 0 !important;
    padding: 10px 40px !important;
    position: relative;
    z-index: 10;
    
    /* Finom árnyék, mint a főoldali paneleken */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3) !important;
}

/* ELSŐ ELEM (Teteje) */
.cookie_wrap > *:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important; /* Kicsit fényesebb felső él */
    border-radius: 16px 16px 0 0 !important; /* Kicsit kisebb ív, modernebb */
    padding-top: 40px !important;
    padding-bottom: 5px !important;
}

/* UTOLSÓ ELEM (Alja) */
.cookie_wrap > *:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 0 0 16px 16px !important;
    padding-bottom: 40px !important;
    padding-top: 10px !important;
}

/* KÖZÉPSŐ ELEMEK */
.cookie_wrap > *:not(:first-child):not(:last-child) {
    border-top: none !important;
    border-bottom: none !important;
    border-radius: 0 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* IKON */
.cookie_wrap img {
    display: block !important;
    margin: 0 auto 15px auto !important;
    max-width: 70px !important;
    height: auto !important;
    filter: drop-shadow(0 0 15px rgba(255, 180, 0, 0.5)) !important; /* Erősebb ragyogás a süti körül */
    background: transparent !important;
    border: none !important;
}

/* SZÖVEGEK */
.cookie_wrap h3, .cookie_wrap strong {
    font-size: 22px !important;
    color: #fff !important;
    margin-bottom: 10px !important;
    display: block !important;
    text-align: center !important;
    font-weight: 700 !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Olvashatóság javítása */
    background: transparent !important;
    border: none !important;
}

.cookie_wrap p {
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #ddd !important; /* Világosabb szöveg a jobb kontrasztért */
    text-align: center !important;
    margin-bottom: 15px !important;
    background: transparent !important;
    border: none !important;
}

.cookie_wrap a {
    color: #ff8e8e !important; /* Pasztellesebb piros link */
    text-decoration: none !important;
    border-bottom: 1px dotted rgba(255, 142, 142, 0.5);
    font-weight: 600 !important;
}

/* PRÉMIUM GOMB - VÖRÖS (MEGTARTVA, de modernizálva) */
.cookie_wrap .ok_btn, 
.cookie_wrap button,
.cookie_wrap input[type="submit"],
.cookie_wrap input[type="button"] {
    /* Élénkebb, "neon-szerűbb" vörös, hogy illeszkedjen az éjszakai fényekhez */
    background: linear-gradient(135deg, #a60000 0%, #e31b3f 100%) !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important; /* Fényesebb keret */
    border-radius: 50px !important;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(166, 0, 0, 0.4) !important; /* Színes ragyogás */
    transition: all 0.3s ease !important;
    width: 100% !important;
    max-width: 260px !important;
    display: block !important;
    margin: 15px auto 0 auto !important;
    font-family: 'Segoe UI', sans-serif !important;
    backdrop-filter: blur(4px);
}

.cookie_wrap .ok_btn:hover, 
.cookie_wrap button:hover,
.cookie_wrap input[type="submit"]:hover {
    transform: translateY(-2px) scale(1.02) !important;
    background: linear-gradient(135deg, #c40000 0%, #ff2e55 100%) !important;
    box-shadow: 0 8px 30px rgba(227, 27, 63, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* MOBIL OPTIMALIZÁLÁS */
@media screen and (max-width: 600px) {
    .cookie_wrap > * {
        width: 94% !important; 
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .cookie_wrap .ok_btn {
        max-width: 100% !important;
    }
}

/* item with background no effect */
.bback { background:rgb(255,255,255,0.05); }

/* item with background no effect with border */
.bbackb { background:rgb(255,255,255,0.05); border:1px solid rgb(255,255,255,0.08); }

/* item with no background and hover effect - Mozgás: elcsúszás */
.bhover:hover { 
    background:rgb(255,255,255,0.05); 
    padding-left: 12px !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* item with background and hover effect */
.bbackhover { background:rgb(255,255,255,0.05); }
.bbackhover:hover { background:rgb(255,255,255,0.03); }

/* item width background and hover effect with a border */
.bbackhoverb { background:rgb(255,255,255,0.05); }
.bbackhoverb:hover { background:rgb(255,255,255,0.3); border: 1px solid rgb(255,255,255,0.05); }

/* item with no background with line separator and hover effect */
.blisting { border-bottom: 1px solid rgb(255,255,255,0.03); }
.blisting:hover { 
    background: rgb(255,255,255,0.04); 
    transition: background 0.3s ease;
}

/* item with no background with line separator */
.blist { border-bottom: 1px solid rgb(255,255,255,0.03); }

/* private panel top */
.back_ptop { background:#212121; color:#fff; }

/* page menu & page sub menu */
.bpmenu:hover {background: rgba(32, 32, 32, 0.5); border-radius: 4px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); backdrop-filter: blur(12.1px); -webkit-backdrop-filter: blur(12.1px); border: 1px solid rgba(53, 52, 52, 0.3); }
.bsub { background: rgba(32, 32, 32, 0.5); border-radius: 4px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); backdrop-filter: blur(12.1px); -webkit-backdrop-filter: blur(12.1px); border: 1px solid rgba(53, 52, 52, 0.3); }
.bsub:hover { background: rgba(32, 32, 32, 0.5); border-radius: 4px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); backdrop-filter: blur(12.1px); -webkit-backdrop-filter: blur(12.1px); border: 1px solid rgba(53, 52, 52, 0.3); }

/* sub menus for card, logs, wall, news */
.bmenu, .submenu { border-bottom:1px solid rgb(255,255,255,0.03); }
.bmenu:hover, .submenu:hover { background:rgb(255,255,255,0.03); }

/* box shadow */
.bshadow, .page_element, .float_menu, .btnshadow, .pboxed { box-shadow:0 1px 3px rgb(0,0,0,0.4); }

/* main item selected for panel and box */
.bselected { background:rgb(255,255,255,0.08); }

/* reg menu selected item */
.rselected { background:rgb(255,255,255,0.08); }

/* page selected */
.pselected { color:#03add8; }

/* current item selected selected */
.cselected, .liked { background:rgb(255,255,255,0.05); }

/* paginate item selected */
.pag_btn { background:rgb(255,255,255,0.05); transition: transform 0.3s ease; }
.pagselected, .pag_btn:hover { background:rgb(255,255,255,0.1); }

/* count and gold tag */
.gtag { background:#111; border:1px solid rgb(255,255,255,0.05); }

/* border color for separator and items border */
.bborder { border-bottom:1px solid rgb(255,255,255,0.05); }
.tborder { border-top: 1px solid rgb(255,255,255,0.05); }
.lborder, .ppanel { border-left:1px solid rgb(255,255,255,0.05); }
.rborder { border-right: 1px solid rgb(255,255,255,0.05); }
.fborder { border: 1px solid rgb(255,255,255,0.05); }

/* float top color */
.float_top { border-bottom:1px solid rgb(255,255,255,0.05); }
.float_ctop { border-bottom: 1px solid rgb(255,255,255,0.05); }

/* headers, footer and top modal colors */
.bhead { background:#111; color:#fff; }
.modal_top { background:#111; color:#fff; }
.pro_top { background:#111; color:#fff; }
.bfoot { background:#111; color:#fff; }
.foot { background:#111; color:#fff; }

/* background major element panel, page menu, float menu, modal, chat boxes */
.backglob { background:#151515; }
.back_chat{background: linear-gradient(27deg, rgba(0,0,0,1) 34%, rgba(8,8,8,1) 82%);}
.back_priv, .back_panel, .back_menu, .back_pmenu, .back_box, .back_quote { 
    background: rgba(32, 32, 32, 0.5); 
    border-radius: 4px; 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); 
    backdrop-filter: blur(12.1px); 
    -webkit-backdrop-filter: blur(12.1px); 
    border: 1px solid rgba(53, 52, 52, 0.3); 
}
.back_input { background:#191919; border-top:1px solid rgb(255,255,255,0.05); }
.back_modal { background: rgba(58, 58, 58, 0.4); border-radius: 4px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); backdrop-filter: blur(12.1px); -webkit-backdrop-filter: blur(12.1px); border: 1px solid rgba(53, 52, 52, 0.3); }
.page_element { background: rgba(32, 32, 32, 0.5);  }

/* Oldalpanelek egységes stílusa és üveghatása */
#chat_left, .cleft, .cleft2, #chat_right, .cright, .cright2 {
    background: rgba(32, 32, 32, 0.5) !important;
    backdrop-filter: blur(12.1px) !important;
    -webkit-backdrop-filter: blur(12.1px) !important;
    border: 1px solid rgba(53, 52, 52, 0.3) !important;
    transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.8s ease;
}

#chat_left:not(.left_hide) {
    animation: panelEmergingLeft 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

#chat_right:not(.cright_hide) {
    animation: panelEmergingRight 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Interaktív panel mozgás hover esetén - Finomabb */
#chat_left:hover, .cleft:hover, .cleft2:hover { transform: translateX(8px); }
#chat_right:hover, .cright:hover, .cright2:hover { transform: translateX(-8px); }

/* main theme color */
.theme_color { color:#03add8; }
.default_color { color:#666; }
.error  { color:red; }
.success { color:#74b20e; }
.warn { color:orange; }

/* button colors */
.theme_btn, .back_theme { background:#03add8; color:#fff; }
.default_btn, .back_default { background:#333; color:#fff; }
.defaultd_btn { background:#444; color:#fff; }
.ok_btn { background:#1a423e; color:#fff; }
.warn_btn { background:orange; color:#fff; }
.delete_btn { background:#cc0000; color:#fff; }
.send_btn { 
    color:#f6f6f6;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* default username color */
.user { color:#fff; }

/* chat system messsage text color */
.chat_system { color:#999; }

/* opacity for offline users in list */
.offline { opacity:0.5; }

/* menu icon */
.menui { color:#03add8; }
.subi { color:#03add8; }

/* wall reply background */
.reply_item { background:#151515; }

/* main post item option wall and news */
.main_post_item { color:rgb(255,255,255,0.5); }

/* input option background colors */
.input_item { color:#666; }

/* private log bubble colors */
.target_private, .hunt_quote {color:#fff; background:#444;}
.hunter_private, .targ_quote {color:#fff; background:#222;}

/* quote in chat background color */
.cquote { background:rgb(255,255,255,0.05) !important; }
.cqname { color:#999; }
.cqmess { color:#666; }

/* tab menu */
.tab_menu { box-shadow:0 1px 3px rgb(0,0,0,0.4); }
.tab_selected { background:rgb(255,255,255,0.05); }

/* modal menu */
.modal_mback { background:rgb(255,255,255,0.04); }
.modal_mborder { border-bottom: 1px solid rgb(255,255,255,0.08); }
.modal_selected { background:rgb(255,255,255,0.08); }

/* back transparency background for modal box */
.modal_back { background-color:rgba(0,0,0,0.6); }

/* chat logs */
.log2 { background:rgb(0,0,0,0.00); }
.topic_log{background: rgba(59, 59, 59, 0.49); border-radius: 4px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); backdrop-filter: blur(4.6px); -webkit-backdrop-filter: blur(4.6px); border: 1px solid rgba(59, 59, 59, 0.3);  color:#fff; opacity: 0.85; margin: 10px auto;width: 98%;max-width: 600px;  border: 0.01px solid #450501 ;
  padding: 10px;
  animation: voidFade 0.4s ease-out;
}
.sys_log { }

/* upload progress */
.bprogress { background:#74b20e; color:#fff; }

/* notification colors */
.bnotify { background:red; color:#fff; }
.foot_notify, .head_notify { border:1px solid #fff; }

/* date colors */
.sub_date  { color:#888; }
.sub_chat { background:black; color:white; border-radius:20px; opacity:0.9; }
.sub_priv { color:white; border-radius:20px; }

/* secondary text color */
.sub_text, .list_mood  { color:#888; }

/* profile likes */
.plikes { background-color:rgba(100,100,100,0.2); color:#fff; }

/* spinner color */
.bspin { color:rgb(255,255,255,0.3); }

/* special chat item */
.my_notice { color:#fff; background:#006699; }
.system_text { background:rgb(255,255,255,0.05); color:#888; }

/* outside pages background */
.back_page { background:#111; color:#fff; }

/* video background color */
.post_video { background:rgb(0,0,0,1); }

/* slider */
.boom_slider .ui-widget-content { background: #333; }
.boom_slider .ui-state-default { background: #ccc !important; transition: transform 0.3s ease; }
.boom_slider .ui-state-active { background: #ccc !important; }
.boom_slider .ui-slider-range { background:#666; }

/* select input color */
.selectboxit-list, .selectboxit-btn { background-color: #151515; border:1px solid #222; color:#fff; transition: background 0.3s ease; }
.selectboxit-list .selectboxit-focus .selectboxit-option-anchor { background-color: #333; color:#fff; }
.selectboxit-default-arrow { border-top: 4px solid #666; }
.selectboxit-btn.selectboxit-enabled:hover, .selectboxit-btn.selectboxit-enabled:focus, .selectboxit-btn.selectboxit-enabled:active { background:#151515; color:#fff; }
.selectboxit-options { background:#222; color:#fff; }
.selectboxit-list .selectboxit-option-anchor { color:#666; }

/* Mozgás: Modális ablak lágy pop-in */
.modal_in { 
    border:1px solid rgb(255,255,255,0.01); 
    animation: modalPopPremium 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    transform-origin: center;
} 

/* Mozgás: User item hover - Simább */
.user_item:hover { 
    padding-left: 18px !important; 
    transition: padding 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* scrollbar */
::-webkit-scrollbar { width:7px; }
::-webkit-scrollbar-track { background:#111; }
::-webkit-scrollbar-thumb { background:grey; }
::-webkit-scrollbar-thumb:hover { background:#000; }

/* Animációk definíciója - Folyékonyabb mozgás */
@keyframes modalPopPremium {
    from { opacity: 0; transform: scale(0.85) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes voidFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Elegáns, lassú beúszás hullámmal a paneleknek */
@keyframes panelEmergingLeft {
    0% { transform: translateX(-100%) skewX(6deg); opacity: 0; }
    60% { transform: translateX(3%) skewX(-2deg); opacity: 0.8; }
    100% { transform: translateX(0) skewX(0); opacity: 1; }
}

@keyframes panelEmergingRight {
    0% { transform: translateX(100%) skewX(-6deg); opacity: 0; }
    60% { transform: translateX(-3%) skewX(2deg); opacity: 0.8; }
    100% { transform: translateX(0) skewX(0); opacity: 1; }
}

.ch_logs, .private_logs { 
    animation: voidFade 0.4s ease-out; 
}
