/* GOOGLE ANTIGRAVITY PREMIUM CUSTOMIZATION FOR CHATWOOT */

/* 1. Remove Chatwoot Branding */
.branding--link,
.branding {
    display: none !important;
}

/* 2. Global Fonts -> Match VPJ Identity (Inter/Montserrat) */
#app, body, .message-wrap, .text-content, .widget-header, .text-block, input, textarea {
    font-family: 'Inter', 'Montserrat', sans-serif !important;
}

/* 3. Header Styling - Premium Dark Navy */
header.header-wrap {
    background: linear-gradient(135deg, #0F172A 0%, #0369A1 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 24px 20px !important;
}
.title-wrap .title {
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    letter-spacing: -0.02em !important;
}
.status-text {
    font-weight: 400 !important;
    opacity: 0.8 !important;
}

/* 4. Chat Bubbles - Operator (Admin) */
.message-wrap.is-agent .chat-bubble {
    background: #F3F4F6 !important;
    color: #1F2937 !important;
    border-radius: 16px 16px 16px 4px !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
    border: 1px solid #E5E7EB !important;
}

/* 5. Chat Bubbles - User */
.message-wrap.user .chat-bubble {
    background: linear-gradient(135deg, #0369A1 0%, #0c4b70 100%) !important;
    color: #FFFFFF !important;
    border-radius: 16px 16px 4px 16px !important;
    box-shadow: 0 4px 12px rgba(3, 105, 161, 0.3) !important;
}

/* 6. Inputs & Footer */
.footer-wrap {
    background: #FFFFFF !important;
    border-top: 1px solid #F3F4F6 !important;
    padding: 16px !important;
}
.chat-message-input {
    border-radius: 24px !important;
    border: 1px solid #E5E7EB !important;
    background: #F9FAFB !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}
.chat-message-input:focus {
    background: #FFFFFF !important;
    border-color: #0369A1 !important;
    box-shadow: 0 0 0 4px rgba(3, 105, 161, 0.1) !important;
}

/* 7. Avatars */
.agent-avatar {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1) !important;
    border: 2px solid #FFFFFF !important;
}

/* 8. Fix the Bot "Pre-chat" Form inputs */
.pre-chat-box {
    border-radius: 16px !important;
    border: 1px solid #E5E7EB !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
    overflow: hidden !important;
}
.pre-chat-box input {
    border-radius: 8px !important;
    padding: 12px 16px !important;
    border: 1px solid #D1D5DB !important;
}
.pre-chat-box input:focus {
    border-color: #0369A1 !important;
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.1) !important;
}

/* 9. Overall rounded aesthetic for the entire widget and custom scrollbar */
#app {
    border-radius: 20px !important;
    overflow: hidden !important;
}
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent; 
}
::-webkit-scrollbar-thumb {
    background: rgba(15, 23, 42, 0.2); 
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(15, 23, 42, 0.4); 
}
