.ow, body, .base_sign_in{background-color:#000000}
.ow, body, .base_sign_in{background-color:#000000}
.ow_page_wrap, .base_sign_in{background-image:url(https://elevatevn.com/ow_userfiles/themes/theme_image_27.png)}
.ow_page_wrap, .base_sign_in{background-image:url(https://elevatevn.com/ow_userfiles/themes/theme_image_27.png)}
h1{color:#f4eecf}
h1{color:#f4eecf}
.base_index_page{background-image:url(https://elevatevn.com/ow_userfiles/themes/theme_image_28.png)}
.base_index_page{background-image:url(https://elevatevn.com/ow_userfiles/themes/theme_image_28.png)}
a, .ow_content a{color:#1F618D}
a, .ow_content a{color:#1F618D}
.ow_logo{background-image:url(https://elevatevn.com/ow_userfiles/themes/theme_image_29.png)}
.ow_logo{background-image:url(https://elevatevn.com/ow_userfiles/themes/theme_image_29.png)}
.ow_txt_value{color:#34495E}
.ow_txt_value{color:#34495E}
/* ===== REMOVE PHOTO RATINGS ===== */
.ow_rates_wrap,
.ow_rates,
.rate_item,
.inactive_rate_list,
.active_rate_list,
.rate_title,
div[class*="rate"] {
    display: none !important;
}

/* ===== REMOVE PHOTO COMMENTS ===== */
.ow_feed_comments,
.ow_feed_comments_input_sticky,
.photo_comments,
.ow_comments_list,
.ow_comments_block,
.ow_newsfeed_comments,
.ow_photo_item_info_user.ow_photo_comment_count,
div[id*="comments"],
div[class*="comment"] {
    display: none !important;
}

/* 1. Global Module Headers */
body .ow_box_cap h3 {
    color: #f4eecf !important;
}

/* 2. General L-Buttons (Edit Profile, Upload, View All, etc.) */
a.ow_lbutton, 
span.ow_lbutton, 
.ow_edit_profile_link a.ow_lbutton,
.upload_photo_widget_btn a,
.ow_box_menu a,
.ow_box_toolbar li a {  /* ADDED THIS */
    background: #2D2D2D !important;
    color: #1F618D !important;
    border: 1px solid rgba(113, 113, 113, 0.5) !important;
    font-weight: normal !important;
    text-transform: none !important;
    padding: 2px 8px !important;
    border-radius: 2px !important;
    display: inline-block !important;
}

/* Hover */
html body .ow_lbutton:hover, 
html body a.ow_lbutton:hover, 
html body span.ow_lbutton:hover,
.ow_edit_profile_link a.ow_lbutton:hover,
.upload_photo_widget_btn a:hover,
.ow_box_menu a:hover,
.ow_box_toolbar li a:hover { /* ADDED THIS */
    background: #606060 !important;
    color: #f4eecf !important;
    border: 1px solid rgba(113, 113, 113, 0.8) !important;
    text-decoration: none !important;
}

/* ===== HIDE "COMMENT PHOTO" MEMBERSHIP BENEFIT ===== */
.ow_mship_widget_benefits {
    display: none !important;
}

.ow_mship_widget_txt {
    display: none !important;
}

/* =========================================
   5. UPGRADE WIDGET (Billing/Promo)
   ========================================= */
/* Ensure visibility */
.index-MEMBERSHIP_CMP_PromoWidget, 
#widget-MEMBERSHIPX_CMP_BillingPlanWidget { 
    display: block !important; 
}

/* Button Container - Reset to invisible */
.index-MEMBERSHIP_CMP_PromoWidget .ow_mship_widget_btn .ow_button {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    display: block !important;
    text-align: center !important;
    width: 100% !important;
}

/* RESET THE SPAN ICON - Hide image but keep layout if needed */
.index-MEMBERSHIP_CMP_PromoWidget .ow_mship_widget_btn span.ow_ic_up_arrow {
    background: none !important;
    padding: 0 !important;
    display: block !important;
}

/* STYLE THE INPUT (The Visible Button) */
.index-MEMBERSHIP_CMP_PromoWidget .ow_mship_widget_btn input {
    background: rgba(118, 118, 118, 0.3) !important;
    border: 1px solid rgba(113, 113, 113, 0.5) !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    
    /* Font Change: Match Theme Default */
    font-family: Verdana, sans-serif !important; 
    font-weight: normal !important;
    font-size: 11px !important; /* Adjusted size for standard font */
    
    text-transform: uppercase !important;
    text-shadow: none !important;
    
    /* Centering Tweaks: Less Top, More Bottom to shift text UP visually */
    padding-top: 9px !important;
    padding-bottom: 13px !important;
    padding-left: 17px !important;
    padding-right: 17px !important;
    line-height: 1 !important; /* Force tight line height */
    
    display: inline-block !important;
    cursor: pointer !important;
    width: auto !important;
    margin: 0 auto !important;
    box-shadow: none !important;
}

/* Hover State */
.index-MEMBERSHIP_CMP_PromoWidget .ow_mship_widget_btn input:hover {
    background: rgba(118, 118, 118, 0.5) !important;
    text-decoration: none !important;
    color: #f4eecf !important;
}

/* Header Title Color */
.index-MEMBERSHIP_CMP_PromoWidget .ow_box_cap h3,
#widget-MEMBERSHIPX_CMP_BillingPlanWidget .ow_box_cap h3 { 
    color: #f4eecf !important; 
}

/* "Your membership:" Label */
.ow_mship_widget_label { 
    color: #ffffff !important; 
}

/* "Free" Value */
.ow_mship_widget_value { 
    color: #1F618D !important; 
    font-weight: bold !important; 
}

/* =========================================
   MODERN CHAT UI 
   ========================================= */
/* 1. Pad the Container (Fixes 'Congratulations' touching edge) */
.ow_chat_in_dialog .ow_dialog_items_wrap {
    padding: 0 10px !important;
    box-sizing: border-box !important;
}

/* 2. Fix Date Bars (Pull background to edge, push text back in) */
.ow_chat_in_dialog .ow_dialog_date_cap {
    margin-left: -10px !important;
    margin-right: -10px !important;
    width: calc(100% + 20px) !important;
    
    /* CRITICAL: Push the text back so it's not cut off */
    padding-left: 10px !important; 
    padding-right: 10px !important;
    box-sizing: border-box !important;
}

/* Hide Emoji and Attachment Buttons */
div[id*="dialogEmojiBtn"],
div[id*="dialogAttachmentsBtn"],
a[class*="ow_chat_attach_btn"],
div[class*="emojiPickerIcon"],
.ow_chat_dialog .ow_attachment_icons,
.ow_chat_selector .ow_attachment_icons {
    display: none !important;
}

textarea#dialogTextarea,
.ow_chat_message_input textarea {
    padding-right: 20px !important; /* Large right padding to reserve space for potential scrollbar */
    overflow-y: auto !important;
}

/* =========================================
   OTHER
   ========================================= */

/* Hide 'Open in chat' / 'Switch to chat' buttons everywhere */
.ow_mailbox_switch_to_chat,
#conversationSwitchToChatBlock,
#conversationSwitchToChatBtn {
    display: none !important;
}