/*
 * white_theme_override.css — Elevate Theme Bridge
 *
 * This file loads after the theme base.css to handle any residual
 * plugin-generated markup that needs light adjustments.
 * The elevate theme owns the design; this file is intentionally minimal.
 * NO !important spam — use proper specificity instead.
 */

/* ----------------------------------------------------------
   Profile action toolbar — flex layout, consistent button sizing
   (markup generated by base plugin, not theme-owned)
   ---------------------------------------------------------- */
body.base_profile_page .ow_profile_action_toolbar_wrap {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0;
}
body.base_profile_page .ow_profile_action_toolbar_wrap a,
body.base_profile_page .ow_profile_action_toolbar_wrap .ow_context_action {
    font-size: 12px;
}
body.base_profile_page ul.ow_profile_action_toolbar {
    display: contents;
    margin: 0; padding: 0;
    float: none; list-style: none;
}
body.base_profile_page ul.ow_profile_action_toolbar > li { display: contents; }
body.base_profile_page ul.ow_profile_action_toolbar > li > a,
body.base_profile_page ul.ow_profile_action_toolbar > li > a:visited {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    background: #F5F3FF;
    border: 1px solid #EDE9FE;
    border-radius: 6px;
    color: #7C3AED;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
}
body.base_profile_page ul.ow_profile_action_toolbar > li > a:hover {
    background: #EDE9FE;
    border-color: #7C3AED;
    text-decoration: none;
}

/* Context action (More / Moderation) — match toolbar button sizing */
body.base_profile_page .ow_profile_action_toolbar_wrap .ow_context_action_block {
    margin: 0; padding: 0; float: none; flex: 0 0 auto;
}
body.base_profile_page .ow_profile_action_toolbar_wrap .ow_context_action_value_block,
body.base_profile_page .ow_profile_action_toolbar_wrap .ow_profile_toolbar_group {
    margin-left: 0;
}
body.base_profile_page .ow_profile_action_toolbar_wrap .ow_context_action_block .ow_context_action {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 6px;
    box-sizing: border-box;
    background: #F5F3FF;
    border: 1px solid #EDE9FE;
}
body.base_profile_page .ow_profile_action_toolbar_wrap .ow_context_action_block .ow_context_action:hover,
body.base_profile_page .ow_profile_action_toolbar_wrap .ow_context_action_block .ow_context_action.active {
    background: #EDE9FE;
    border-color: #7C3AED;
}
body.base_profile_page .ow_profile_action_toolbar_wrap .ow_context_action_value {
    color: #7C3AED;
}
body.base_profile_page .ow_profile_action_toolbar_wrap .ow_context_action_value,
body.base_profile_page .ow_profile_action_toolbar_wrap .ow_context_more {
    height: 30px;
    line-height: 30px;
}
body.base_profile_page .ow_profile_action_toolbar_wrap .ow_context_more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0 0 0 4px;
    min-width: 12px; width: 12px;
    background-position: center;
}

/* Profile "User photos" view-all link — match toolbar style */
body.base_profile_page .profile-PHOTO_CMP_UserPhotosWidget .ow_box_toolbar.ow_bl li a,
body.ow_my_profile_page .profile-PHOTO_CMP_UserPhotosWidget .ow_box_toolbar.ow_bl li a,
body.base_profile_page .profile-PHOTO_CMP_UserPhotosWidget .ow_box_toolbar.ow_bl li a:visited,
body.ow_my_profile_page .profile-PHOTO_CMP_UserPhotosWidget .ow_box_toolbar.ow_bl li a:visited {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    background: #F5F3FF;
    border: 1px solid #EDE9FE;
    border-radius: 6px;
    color: #7C3AED;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
body.base_profile_page .profile-PHOTO_CMP_UserPhotosWidget .ow_box_toolbar.ow_bl li a:hover,
body.ow_my_profile_page .profile-PHOTO_CMP_UserPhotosWidget .ow_box_toolbar.ow_bl li a:hover {
    background: #EDE9FE;
    border-color: #7C3AED;
    text-decoration: none;
}

/* Profile photo "Chat" button — now hidden globally via span[id^="ow_chat_now_"],
   but keep the styling rule scoped for any edge cases */
body.base_profile_page .ow_profile_gallery_avatar_image .ow_lbutton.ow_green,
body.base_profile_page .ow_profile_gallery_avatar_image .ow_lbutton.ow_green:hover {
    background: #F5F3FF;
    border: 1px solid #EDE9FE;
    border-radius: 6px;
    color: #7C3AED;
    text-decoration: none;
}
body.base_profile_page .ow_profile_gallery_avatar_image .ow_lbutton.ow_green:hover {
    background: #EDE9FE;
    border-color: #7C3AED;
}

/* Profile photo thumbnail list overflow fix — both profile types */
body.base_profile_page .profile-PHOTO_CMP_UserPhotosWidget .ow_lp_albums,
body.base_profile_page .profile-PHOTO_CMP_UserPhotosWidget .ow_lp_photos,
body.ow_my_profile_page .profile-PHOTO_CMP_UserPhotosWidget .ow_lp_albums,
body.ow_my_profile_page .profile-PHOTO_CMP_UserPhotosWidget .ow_lp_photos {
    overflow: visible;
}

/* ----------------------------------------------------------
   Mobile header logo height (applies globally to mobile view)
   ---------------------------------------------------------- */
@media only screen and (max-width: 900px) {
    html body div.owm_logo,
    html body div.owm_logo a {
        height: 46px;
        min-height: 46px;
        max-height: 46px;
        background-size: auto 28px;
        background-position: center;
    }
}

/* ----------------------------------------------------------
   Widget card styling — ow_box_empty / ow_box_cap_empty
   These variants (used by Hot List, Bookmarks, etc.) need
   explicit card borders since ow.css leaves them unstyled.
   ---------------------------------------------------------- */
.ow_box_cap_empty {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    padding: 14px 16px 0;
    margin-bottom: 0;
}
.ow_box_cap_empty .ow_box_cap_body { min-height: 32px; }
.ow_box_cap_empty h3 {
    padding: 6px 0;
    font-weight: 600;
    font-size: 15px;
    color: #111827;
    line-height: 1.4;
}

.ow_box_empty {
    background: #ffffff;
    border: 1px solid #E5E7EB;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 16px;
    margin-bottom: 16px;
    position: relative;
}

/* Standalone box_empty (no preceding cap) */
.ow_box_empty.ow_no_cap {
    border-top: 1px solid #E5E7EB;
    border-radius: 10px;
}

/* ----------------------------------------------------------
   Console icons — fix sprite position
   ---------------------------------------------------------- */
.ow_console_item a.ow_console_item_link {
    font-size: 0;
    width: 20px;
    height: 20px;
    display: inline-block;
    background-position: 0 0;
    background-repeat: no-repeat;
}
body .ow_console_item:hover a.ow_console_item_link,
body .ow_console_dropdown_pressed.ow_console_item a.ow_console_item_link {
    background-position: 0 -20px;
}

