/* ============================================================
   ON AIR  -  live from the broadcast studio
   iCody premium theme for CodyChat
   ------------------------------------------------------------
   Palette
     studio slate  #0b0f14 / #0e1319   page / chat log
     console       #18202a             boxes, menus, modals
     on-air red    #9e1022 -> #b8142a  header
     tally red     #ff7b7b             accent - links / icons
     on-air red    #c8102e -> #9b0c23  primary buttons, own log
     slate         #2a3440             default buttons
     text          #e8ecf1             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:#ff7b7b; }
body { background:#0b0f14; color:#e8ecf1; }
button { background:transparent; color:#fff; }
input, textarea, .post_input_container { background:#0a0e13; border:1px solid rgba(220,230,240,0.18) !important; color:#e8ecf1; }
input:focus, textarea:focus { border:1px solid rgba(255,123,123,0.6) !important; box-shadow:0 0 0 3px rgba(255,123,123,0.18); }
input::placeholder, textarea::placeholder { color:#8f99a6; }
.setdef { color:#e8ecf1; }

/* scrollbars */
* { scrollbar-color:rgba(255,123,123,0.45) transparent; }
*::-webkit-scrollbar-thumb { background-color:rgba(255,123,123,0.45); }

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

/* item with background no effect */
.bback { background:rgba(255,123,123,0.05); }

/* item with background no effect with border */
.bbackb { background:rgba(255,123,123,0.05); border:1px solid rgba(220,230,240,0.10); }

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

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

/* item with background and hover effect with a border */
.bbackhoverb { background:rgba(255,123,123,0.05); border:1px solid rgba(220,230,240,0.10); }
.bbackhoverb:hover { background:rgba(255,123,123,0.11); border:1px solid rgba(255,123,123,0.6); }

/* item with no background with line separator and hover effect */
.blisting { border-bottom:1px solid rgba(220,230,240,0.10); }
.blisting:hover { background:rgba(255,123,123,0.07); }

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

/* private panel top */
.back_ptop { background:linear-gradient(to bottom, #9e1022, #b8142a); 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(220,230,240,0.06); }
.bmenu:hover, .submenu:hover { background:rgba(255,123,123,0.07); }

/* 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(255,123,123,0.14); }

/* reg menu selected item */
.rselected { background:rgba(255,123,123,0.14); }

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

/* current item selected */
.cselected, .liked { background:rgba(255,123,123,0.07); }

/* paginate item selected */
.pag_btn { background:rgba(255,123,123,0.05); color:#a6b0bc; }
.pagselected, .pag_btn:hover { background:rgba(255,123,123,0.14); }

/* count and gold tag */
.gtag { background:#18202a; border:1px solid rgba(220,230,240,0.10); }

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

/* float top color */
.float_top { background:linear-gradient(to bottom, #9e1022, #b8142a); color:#fff; }
.float_ctop { background:linear-gradient(to bottom, #9e1022, #b8142a); color:#fff; }

/* headers colors and top box colors */
.bhead { background:linear-gradient(to bottom, #9e1022, #b8142a); color:#fff; }
.bsidebar { background:#141a21; color:#fff; }
.modal_top { background:linear-gradient(to bottom, #9e1022, #b8142a); color:#fff; }
.pro_top { background:linear-gradient(to bottom, #9e1022, #b8142a); color:#fff; }
.bfoot { background:#141a21; color:#fff; }
.foot { background:linear-gradient(to bottom, #9e1022, #b8142a); color:#fff; }

/* background major element panel, page menu, float menu, modal, chat boxes */
.backglob { background:#121820; }
.back_chat {
    background:#0e1319 url('./images/background.svg');
    background-repeat:repeat;
    background-position:top left;
    background-size:160px 160px;
}
.back_priv { background:#11171e; }
.back_panel { background:#121820; }
.back_menu { background:#18202a; }
.back_pmenu { background:#0a0e12; color:#fff; }
.back_box { background:#18202a; }
.back_input { background:#11171e; border-top:1px solid rgba(220,230,240,0.10); }
.back_modal { background:#18202a; }
.page_element { background:#141b23; }
.back_quote { background:#1e2833; }

/* 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:#0b0f14 url('./images/background_login.svg');
    background-repeat:no-repeat;
    background-position:center center;
    background-size:cover;
}
.intro_login_btn { background:#ffffff !important; color:#b8142a !important; }
.intro_guest_btn { background:#2a3440 !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:#ff7b7b; }
.default_color { color:#a6b0bc; }
.error { color:#ff6b6b; }
.success { color:#4ade80; }
.warn { color:#fbbf24; }

/* button colors */
.theme_btn, .back_theme { background:linear-gradient(135deg, #c8102e, #9b0c23); color:#fff; }
.default_btn, .back_default { background:#2a3440; color:#fff; }
.defaultd_btn { background:#7a4300; color:#fff; }
.ok_btn, .onswitch { background:#12804a; color:#fff; }
.warn_btn { background:#a35400; color:#fff; }
.delete_btn { background:#b3132b; color:#fff; }
.send_btn { color:#ff7b7b; }

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

/* chat system messsage text color */
.chat_system { color:#9aa4b0; }

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

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

/* wall reply background */
.reply_item { background:#1e2833; }

/* main post item option wall and news */
.main_post_item { color:rgba(232,236,241,0.55); }

/* input option background colors */
.input_item { color:#8f99a6; }

/* 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:#dce8f7; background:#182a40; }
.hunter_private, .targ_quote { color:#ffe1e1; background:#4a1a22; }

/* quote in chat background */
.cquote { background:#4a1a22; color:#ffe1e1; }
.cqname { color:#ff7b7b; }

/* tab menu */
.tab_menu { background:#121820; box-shadow:0 1px 3px rgba(0,0,0,0.45); }
.tab_selected { background:rgba(255,123,123,0.14); }

/* modal menu */
.modal_mback { background:rgba(255,123,123,0.05); }
.modal_mborder { border-bottom:1px solid rgba(220,230,240,0.10); }
.modal_selected { background:rgba(255,123,123,0.14); color:#e8ecf1; }

/* 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:#19222c; color:#e8ecf1; }
.my_log { background:linear-gradient(135deg, #c8102e, #9b0c23); color:#fff; }
.topic_log { font-family:'Signika', sans-serif; font-weight:bold; background:rgba(255,123,123,0.10); color:#ffcaca; box-shadow:inset 3px 0 0 #f5a623; }
.sys_log { }

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

/* upload progress */
.bprogress { background:#12804a; color:#fff; }

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

/* date colors */
.sub_date { color:#a6b0bc; }
.sub_chat, .sub_priv { color:#8f99a6; }

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

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

/* spinner color */
.bspin { color:rgba(232,236,241,0.30); }

/* special chat item */
.my_notice { color:#fff; background:linear-gradient(135deg, #c8102e, #9b0c23); }
.system_text { background:rgba(255,123,123,0.05); color:#9aa4b0; }

/* outside pages background */
.back_page { background:#141a21; color:#fff; }

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

/* status messages */
.saved_ok { background-color:#12804a; color:#fff; }
.saved_error { background-color:#b3132b; color:#fff; }

/* slider */
.boom_slider .ui-widget-content { background:#1e2833; }
.boom_slider .ui-state-default { background:#ffb8b8 !important; }
.boom_slider .ui-state-active { background:#ff7b7b !important; }
.boom_slider .ui-slider-range { background:#9b0c23; }

/* select input color */
.selectboxit-list, .selectboxit-btn { background-color:#0a0e13; color:#e8ecf1; border:1px solid rgba(220,230,240,0.18) !important; }
.selectboxit-list .selectboxit-focus .selectboxit-option-anchor { background-color:rgba(255,123,123,0.11); color:#e8ecf1; }
.selectboxit-default-arrow { border-top:4px solid #ff8a8a; }
.selectboxit-btn.selectboxit-enabled:hover,
.selectboxit-btn.selectboxit-enabled:focus,
.selectboxit-btn.selectboxit-enabled:active { background:#1e2833; color:#e8ecf1; }
.selectboxit-options { background:#18202a; border:1px solid rgba(220,230,240,0.18); }
.selectboxit-list .selectboxit-option-anchor { color:#e8ecf1; }


/* amber VU-meter line under the on-air header */
.bhead, .foot { box-shadow:inset 0 -2px 0 #f5a623; }

/* 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; }
}
