/*
Theme Name: Binance P2P Custom Theme
Theme URI: https://yourwebsite.com
Author: Your Name
Description: A fully custom, dynamic, and responsive Binance P2P clone theme.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: binance-p2p
*/

/* 🎨 Binance Color Variables */
:root {
    --bp-bg-main: #181A20;
    --bp-bg-card: #1E2329;
    --bp-bg-darker: #14151A;
    --bp-bg-hover: #2B3139;
    --bp-color-yellow: #F3BA2F;
    --bp-color-green: #0ECB81;
    --bp-color-red: #F6465D;
    --bp-color-text-main: #EAECEF;
    --bp-color-text-muted: #929AA5;
    --bp-border-color: #2B3139;
}

body {
    background-color: var(--bp-bg-main) !important;
    color: var(--bp-color-text-main) !important;
    font-family: 'Roboto', 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}
/* 💬 Binance Style Chat Popup - WordPress Absolute Override */
.bp-modal-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.9) !important;
    z-index: 999999 !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.bp-modal-box {
    background: #1E2329 !important;
    width: 95% !important;
    max-width: 480px !important;
    border-radius: 12px !important;
    border: 1px solid #2B3139 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 75vh !important;
    max-height: 600px !important;
    overflow: hidden !important;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5) !important;
    box-sizing: border-box !important;
}

.bp-chat-header {
    padding: 16px !important;
    border-bottom: 1px solid #2B3139 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #14151A !important;
    box-sizing: border-box !important;
}

.bp-chat-close-btn {
    background: #2B3139 !important;
    border: none !important;
    color: #929AA5 !important;
    cursor: pointer !important;
    font-size: 24px !important;
    padding: 0px 12px !important;
    border-radius: 4px !important;
    line-height: 1.2 !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
}
.bp-chat-close-btn:hover {
    color: #fff !important;
    background: #363D47 !important;
}

.bp-chat-messages {
    flex: 1 !important;
    padding: 16px !important;
    overflow-y: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    background: #181A20 !important;
    box-sizing: border-box !important;
}

.bp-system-msg {
    background: #14151A !important;
    padding: 12px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    color: #929AA5 !important;
    text-align: center !important;
    border: 1px solid #2B3139 !important;
    line-height: 1.4 !important;
}

.bp-seller-msg {
    align-self: flex-start !important;
    background: #2B3139 !important;
    color: #fff !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    max-width: 80% !important;
    font-size: 14px !important;
}

.bp-user-msg {
    align-self: flex-end !important;
    background: #0ECB81 !important;
    color: #fff !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    max-width: 80% !important;
    font-size: 14px !important;
    word-break: break-word !important;
}

.bp-chat-footer {
    padding: 12px !important;
    border-top: 1px solid #2B3139 !important;
    background: #14151A !important;
    display: flex !important;
    gap: 10px !important;
    box-sizing: border-box !important;
}
