/* ============================================================
   AURORA  -  frosted glass under the northern lights
   iCody premium theme for CodyChat
   ------------------------------------------------------------
   Palette
     deep sky        #050b18              page, under the aurora
     glass           rgba(10,18,38,0.66)  panels / boxes (+ blur 16px)
     chrome          #0a1430 -> #0e1d3f   header / modal tops
     teal            #5eead4              accent - links, icons
     violet -> teal  #6d28d9 -> #0f766e   primary buttons, own log
     slate           #1e2a44              default buttons
     text            #e6edf7              body text
   This file sets COLOUR ONLY. Geometry (padding, radius, float,
   max-width, z-index) belongs to css/main.css - overriding it
   from a theme is what makes themes drift apart between updates.
   ============================================================ */

/* general colors */
a { color:#5eead4; }
body { background:#050b18 url('./images/background_body.svg') center center / cover no-repeat fixed; color:#e6edf7; }
button { background:transparent; color:#fff; }
input, textarea, .post_input_container { background:rgba(2,6,16,0.45); border:1px solid rgba(148,180,220,0.26) !important; color:#e6edf7; }
input:focus, textarea:focus { border:1px solid rgba(94,234,212,0.6) !important; box-shadow:0 0 0 3px rgba(94,234,212,0.16); }
input::placeholder, textarea::placeholder { color:#71839f; }
.setdef { color:#e6edf7; }

/* scrollbars */
* { scrollbar-color:rgba(94,234,212,0.45) transparent; }
*::-webkit-scrollbar-thumb { background-color:rgba(94,234,212,0.45); }

/* cookie box - the element also carries .back_modal, which owns its
   background; only the text colour is set here */
.cookie_wrap { color:#e6edf7; box-shadow:0 4px 18px rgba(0,0,0,0.45); }

/* item with background no effect */
.bback { background:rgba(94,234,212,0.05); }

/* item with background no effect with border */
.bbackb { background:rgba(94,234,212,0.05); border:1px solid rgba(148,180,220,0.16); }

/* item with no background and hover effect */
.bhover:hover, .bhoverr:hover { background:rgba(94,234,212,0.07); }

/* item with background and hover effect */
.bbackhover { background:rgba(94,234,212,0.05); }
.bbackhover:hover { background:rgba(94,234,212,0.11); }

/* item with background and hover effect with a border */
.bbackhoverb { background:rgba(94,234,212,0.05); border:1px solid rgba(148,180,220,0.16); }
.bbackhoverb:hover { background:rgba(94,234,212,0.11); border:1px solid rgba(94,234,212,0.6); }

/* item with no background with line separator and hover effect */
.blisting { border-bottom:1px solid rgba(148,180,220,0.16); }
.blisting:hover { background:rgba(94,234,212,0.05); }

/* item with no background with line separator */
.blist { border-bottom:1px solid rgba(148,180,220,0.16); }

/* private panel top */
.back_ptop { background:linear-gradient(to bottom, rgba(10,20,48,0.88), rgba(14,29,63,0.88)); color:#fff; }

/* page menu & page sub menu */
.bpmenu:hover { background:rgba(255,255,255,0.10); }
.bsub { background:rgba(0,0,0,0.16); }
.bsub:hover { background:rgba(0,0,0,0.26); }

/* sub menus for card, logs, wall, news */
.bmenu, .submenu { border-bottom:1px solid rgba(148,180,220,0.09); }
.bmenu:hover, .submenu:hover { background:rgba(94,234,212,0.05); }

/* box shadow */
.bshadow, .page_element, .float_menu, .btnshadow, .pboxed { box-shadow:0 1px 3px rgba(0,0,0,0.45); }

/* main item selected for panel and box */
.bselected { background:rgba(94,234,212,0.14); }

/* reg menu selected item */
.rselected { background:rgba(94,234,212,0.14); }

/* page selected */
.pselected { color:#5eead4; }

/* current item selected */
.cselected, .liked { background:rgba(94,234,212,0.07); }

/* paginate item selected */
.pag_btn { background:rgba(94,234,212,0.05); color:#a3b3cb; }
.pagselected, .pag_btn:hover { background:rgba(94,234,212,0.14); }

/* count and gold tag */
.gtag { background:rgba(12,20,42,0.86); border:1px solid rgba(148,180,220,0.16); }

/* border color for separator and items border */
.bborder { border-bottom:1px solid rgba(148,180,220,0.16); }
.tborder { border-top:1px solid rgba(148,180,220,0.16); }
.lborder, .ppanel { border-left:1px solid rgba(148,180,220,0.16); }
.rborder { border-right:1px solid rgba(148,180,220,0.16); }
.fborder { border:1px solid rgba(148,180,220,0.16); }

/* float top color */
.float_top { background:linear-gradient(to bottom, rgba(10,20,48,0.88), rgba(14,29,63,0.88)); color:#fff; }
.float_ctop { background:linear-gradient(to bottom, rgba(10,20,48,0.88), rgba(14,29,63,0.88)); color:#fff; }

/* headers colors and top box colors */
.bhead { background:linear-gradient(to bottom, rgba(10,20,48,0.88), rgba(14,29,63,0.88)); color:#fff; }
.bsidebar { background:rgba(6,12,28,0.88); color:#fff; }
.modal_top { background:linear-gradient(to bottom, rgba(10,20,48,0.88), rgba(14,29,63,0.88)); color:#fff; }
.pro_top { background:linear-gradient(to bottom, rgba(10,20,48,0.88), rgba(14,29,63,0.88)); color:#fff; }
.bfoot { background:rgba(10,20,48,0.88); color:#fff; }
.foot { background:linear-gradient(to bottom, rgba(10,20,48,0.88), rgba(14,29,63,0.88)); color:#fff; }

/* background major element panel, page menu, float menu, modal, chat boxes */
.backglob { background:rgba(8,15,32,0.55); }
.back_chat {
    background:rgba(5,11,24,0.22) url('./images/background.svg');
    background-repeat:repeat;
    background-position:top left;
    background-size:160px 160px;
}
.back_priv { background:rgba(10,18,38,0.72); }
.back_panel { background:rgba(10,18,38,0.66); }
.back_menu { background:rgba(12,20,42,0.90); }
.back_pmenu { background:#08112a; color:#fff; }
.back_box { background:rgba(12,20,42,0.86); }
.back_input { background:rgba(8,14,30,0.80); border-top:1px solid rgba(148,180,220,0.16); }
.back_modal { background:#0d1630; }
.page_element { background:rgba(10,18,38,0.66); }
.back_quote { background:rgba(255,255,255,0.06); }

/* login page */
#intro_top { background:none; text-shadow:0 1px 3px rgba(0,0,0,0.35); }
#intro_top .bcell_mid { width:100%; }
#intro_top::before {
    content:'';
    position:absolute;
    top:0;
    left:0;
    z-index:-1;
    width:100%;
    height:100%;
    background:#050b18 url('./images/background_login.svg');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
}
.intro_login_btn { background:linear-gradient(135deg, #6d28d9, #0f766e) !important; color:#fff !important; }
.intro_guest_btn { background:#1e2a44 !important; color:#fff !important; }
.intro_lang { width:32px; height:32px; border-radius:50px; border:2px solid rgba(255,255,255,0.85); }

/* main theme color */
.theme_color { color:#5eead4; }
.default_color { color:#a3b3cb; }
.error { color:#fb7185; }
.success { color:#4ade80; }
.warn { color:#fbbf24; }

/* button colors */
.theme_btn, .back_theme { background:linear-gradient(135deg, #6d28d9, #0f766e); color:#fff; }
.default_btn, .back_default { background:#1e2a44; color:#fff; }
.defaultd_btn { background:#2c3b5c; color:#fff; }
.ok_btn, .onswitch { background:#13804b; color:#fff; }
.warn_btn { background:#a35400; color:#fff; }
.delete_btn { background:#c81e3a; color:#fff; }
.send_btn { color:#5eead4; }

/* default username color */
.user { color:#e6edf7; }

/* chat system messsage text color */
.chat_system { color:#93a6c2; }

/* opacity for offline users in list */
.offline { opacity:0.5; }

/* menu icon */
.menui { color:#5eead4; }
.subi { color:#5eead4; }

/* wall reply background */
.reply_item { background:rgba(255,255,255,0.05); }

/* main post item option wall and news */
.main_post_item { color:rgba(230,237,247,0.55); }

/* input option background colors */
.input_item { color:#71839f; }

/* private log bubble colors
   Received (target) and sent (hunter) are deliberately different
   hues - keep them apart or the two sides of a conversation blur. */
.target_private, .hunt_quote { color:#e0f2fe; background:#123450; }
.hunter_private, .targ_quote { color:#efe6ff; background:#2d1b52; }

/* quote in chat background */
.cquote { background:#2d1b52; color:#efe6ff; }
.cqname { color:#5eead4; }

/* tab menu */
.tab_menu { background:rgba(10,18,38,0.70); box-shadow:0 1px 3px rgba(0,0,0,0.45); }
.tab_selected { background:rgba(94,234,212,0.14); }

/* modal menu */
.modal_mback { background:rgba(94,234,212,0.05); }
.modal_mborder { border-bottom:1px solid rgba(148,180,220,0.16); }
.modal_selected { background:rgba(94,234,212,0.14); color:#e6edf7; }

/* back transparency background for modal box
   The overlay divs in control/box.php always carry .modal_back on top of
   .small_modal_out / .large_modal_out / .over_modal_out, and main.css gives
   those a solid black. Tint ONLY .modal_back - overriding the *_modal_out
   classes here wins on source order and kills the veil entirely. */
.modal_back { background-color:rgba(0,0,0,0.6); }

/* kill the mobile tap-highlight flash inside modals */
.small_modal_out, .small_modal_out *,
.large_modal_out, .large_modal_out *,
.over_modal_out, .over_modal_out *,
.over_emodal_out, .over_emodal_out *,
.top_modal_out, .top_modal_out * { -webkit-tap-highlight-color:transparent; }

/* chat logs */
.mbubble { background:rgba(22,34,66,0.72); color:#e6edf7; }
.my_log { background:linear-gradient(135deg, #6d28d9, #0f766e); color:#fff; }
.topic_log { font-family:'Quicksand', sans-serif; font-weight:bold; background:rgba(94,234,212,0.10); color:#99f6e4; box-shadow:inset 0 0 0 1px rgba(94,234,212,0.30); }
.sys_log { }

/* duotone logs */
ul li.ch_dlogs:nth-child(odd of .ch_logs) { background:rgba(255,255,255,0.03); }

/* upload progress */
.bprogress { background:#13804b; color:#fff; }

/* notification colors */
.bnotify { background:#e11d48; color:#fff; }
.foot_notify, .head_notify { border:1px solid #fff; }

/* date colors */
.sub_date { color:#a3b3cb; }
.sub_chat, .sub_priv { color:#71839f; }

/* secondary text color */
.sub_text, .list_mood { color:#a3b3cb; }

/* profile likes */
.plikes { background-color:rgba(139,92,246,0.45); color:#fff; }

/* spinner color */
.bspin { color:rgba(230,237,247,0.30); }

/* special chat item */
.my_notice { color:#fff; background:linear-gradient(135deg, #6d28d9, #0f766e); }
.system_text { background:rgba(94,234,212,0.05); color:#93a6c2; }

/* outside pages background */
.back_page { background:#08112a; color:#fff; }

/* video background color */
.post_video { background:#000; }

/* status messages */
.saved_ok { background-color:#13804b; color:#fff; }
.saved_error { background-color:#c81e3a; color:#fff; }

/* slider */
.boom_slider .ui-widget-content { background:#1a2540; }
.boom_slider .ui-state-default { background:#5eead4 !important; }
.boom_slider .ui-state-active { background:#8b5cf6 !important; }
.boom_slider .ui-slider-range { background:#2c3b5c; }

/* select input color */
.selectboxit-list, .selectboxit-btn { background-color:rgba(2,6,16,0.45); color:#e6edf7; border:1px solid rgba(148,180,220,0.26) !important; }
.selectboxit-list .selectboxit-focus .selectboxit-option-anchor { background-color:rgba(94,234,212,0.11); color:#e6edf7; }
.selectboxit-default-arrow { border-top:4px solid #5eead4; }
.selectboxit-btn.selectboxit-enabled:hover,
.selectboxit-btn.selectboxit-enabled:focus,
.selectboxit-btn.selectboxit-enabled:active { background:rgba(255,255,255,0.06); color:#e6edf7; }
.selectboxit-options { background:#0d1630; border:1px solid rgba(148,180,220,0.26); }
.selectboxit-list .selectboxit-option-anchor { color:#e6edf7; }

/* glass: blur whatever is behind the translucent surfaces
   (same set of elements the stock Nord theme blurs) */
.back_priv, .back_panel, .back_menu, .back_pmenu, .back_box, .tab_menu {
    -webkit-backdrop-filter:blur(16px) saturate(140%);
    backdrop-filter:blur(16px) saturate(140%);
}
.back_box, .back_menu, .page_element, .tab_menu { border:1px solid rgba(148,180,220,0.16); }
.modal_in { border:1px solid rgba(148,180,220,0.12); }
.bottomcard { border:none !important; }

/* smaller screens: shrink the tile so it stays a texture,
   not a pattern you read */
@media screen and (max-width:640px){
    .back_chat { background-size:120px 120px; }
}
