/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 20 2025 | 11:37:18 */
/* IMPORTS: Clean, modern font */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

/* 1. OVERRIDE VARIABLES */
:root {
    /* Palette: Deep Navy & Gold */
    --chat--color--primary: #1C1F56; /* Dark Navy */
    --chat--color--secondary: #1C1F56; /* Metallic Gold */
    --chat--color--secondary-hover: #B4B7E7;
    
    /* Backgrounds */
    --chat--color-light: #F8F9FB; /* Very light grey-blue background */
    --chat--color-white: #FFFFFF;
    
    /* Typography */
    --chat--font-family: 'Manrope', -apple-system, sans-serif;
    --chat--heading--font-size: 1.5rem;
    
    /* Layout & Shape */
    --chat--border-radius: 12px; /* Modern smoothed corners */
    --chat--window--width: 380px;
    --chat--window--height: 650px;
    --chat--spacing: 1.25rem;
}

/* 2. WINDOW CONTAINER - Sleek Shadow & Border */
.chat-window {
    box-shadow: 0 12px 40px rgba(15, 32, 60, 0.15) !important; /* Soft, deep shadow */
    border: 1px solid rgba(0,0,0,0.08) !important;
    background-color: var(--chat--color-white) !important;
}

/* 3. HEADER - Authoritative & Trustworthy */
.chat-header {
    background: var(--chat--color--primary) !important;
    color: white !important;
    padding: 1.5rem !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.chat-header h1 {
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    font-size: 1.4rem !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Add a subtle "Online" green dot next to the title */
.chat-header h1::after {
    content: "• Online";
    font-size: 0.7rem;
    color: #4CD964;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
    opacity: 0.9;
}

.chat-header p {
    font-size: 0.9rem !important;
    opacity: 0.8;
    font-weight: 400;
}

/* 4. CHAT BODY & BACKGROUND */
.chat-body {
    background-color: var(--chat--color-light) !important;
    background-image: radial-gradient(#e1e5ea 1px, transparent 1px);
    background-size: 20px 20px; /* Subtle dot pattern for data/tech feel */
}

/* Bot Message (Left) */
.chat-message.chat-message-from-bot {
    background-color: var(--chat--color-white) !important;
    color: #334155 !important; /* Slate dark grey text */
    border: 1px solid rgba(0,0,0,0.05) !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    border-bottom-left-radius: 2px !important; /* Slight sharp edge */
}

/* User Message (Right) */
.chat-message.chat-message-from-user {
    background: linear-gradient(135deg, var(--chat--color--primary), #1A365D) !important;
    color: white !important;
    box-shadow: 0 4px 10px rgba(15, 32, 60, 0.2);
    border-bottom-right-radius: 2px !important;
}

/* 6. FOOTER & INPUT - Clean & Functional */
.chat-footer {
    background-color: var(--chat--color-white) !important;
    border-top: 1px solid #E2E8F0 !important;
    padding: 1rem !important;
}

.chat-input {
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    background: #FFFFFF;
    transition: all 0.2s ease;
}

.chat-input:focus-within {
    border-color: var(--chat--color--primary);
    box-shadow: 0 0 0 3px rgba(15, 32, 60, 0.1);
}

textarea {
    font-family: 'Manrope', sans-serif !important;
    color: #0F203C !important;
}

/* Send Button */
.chat-input-send-button {
    color: var(--chat--color--secondary) !important;
    border-radius: 6px !important;
}

.chat-input-send-button:hover:not(:disabled) {
    background-color: rgba(212, 175, 55, 0.1) !important;
    color: var(--chat--color--secondary-hover) !important;
}

/* 7. TOGGLE BUTTON (Floating Circle) */
.chat-window-toggle {
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4) !important;
    border: 2px solid white;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.chat-window-toggle:hover {
    background-color: var(--chat--color--secondary-hover) !important;
    transform: scale(1.1) translateY(-2px);
}

.chat-window-toggle svg {
    color: white !important;
}

/* 8. CLOSE BUTTON */
.chat-close-button {
    color: rgba(255,255,255,0.7) !important;
    transition: color 0.2s;
}
.chat-close-button:hover {
    color: white !important;
}

.chat-body {
    /* 1. The "Whitewash" trick:
       We layer a 50% transparent white gradient ON TOP of your image.
       This creates the exact "0.5 opacity" look you requested without fading the text. */
    background: 
        linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)),
        url("https://as1.ftcdn.net/jpg/02/54/37/52/1000_F_254375263_DcPTcdlqvGpS3JXzxjtLKTdM3Ayj5148.webp") !important;

    /* 2. Background Color (Fallback) */
    background-color: var(--chat--color-light) !important;

    /* 3. Center Center Positioning */
    background-position: center center !important;
    
    /* 5. Prevent Repeating */
    background-repeat: no-repeat !important;
    
    /* 6. Blend Mode (Optional)
       This makes the blue image blend better with the background */
    background-blend-mode: normal; 
}
.chat-window-toggle svg {
    opacity: 0 !important;
}

/* Insert your image instead of the SVG */
.chat-window-toggle {
    background-image: url("https://dbsmorocco.com/new/wp-content/uploads/2023/03/dbs-logo-3-png.png") !important;
    background-size: 90% !important;   /* adjust if needed */
    background-repeat: no-repeat !important;
    background-position: center center !important;
}
