@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

- {
font-family: 'Montserrat', sans-serif !important;
}

:root {
--chat--color-primary: #1e1e1e !important;
--chat--color-primary-shade-50: #2a2a2a !important;
--chat--color-primary-shade-100: #333333 !important;
--chat--color-secondary: #444444 !important;
--chat--color-secondary-shade-50: #555555 !important;
--chat--color-white: #ffffff !important;
--chat--color-light: #d4d4d4 !important;
--chat--color-light-shade-50: #e0e0e0 !important;
--chat--color-medium: #999999 !important;
--chat--color-dark: #0f0f0f !important;
--chat--color-disabled: #777777 !important;
--chat--color-typing: #ffffff !important;
--chat--spacing: 1rem !important;
--chat--border-radius: 0.7rem !important;
--chat--transition-duration: 0.4s !important;
--chat--window--width: 335px !important;
--chat--window--height: 500px !important;
--chat--header-height: auto !important;
--chat--header--padding: var(--chat--spacing) !important;
--chat--header--background: var(--chat--color-primary) !important;
--chat--header--color: 000000 !important;
--chat--header--border-top: none !important;
--chat--heading--font-size: 1.2rem !important;
--chat--subtitle--font-size: 0.8rem !important;
--chat--subtitle--line-height: 1.5 !important;
--chat--textarea--height: 33px !important;
--chat--message--font-size: 0.8rem !important;
--chat--message--padding: var(--chat--spacing) !important;
--chat--message--border-radius: var(--chat--border-radius) !important;
--chat--message-line-height: 1rem !important;
--chat--message--bot--background: none !important;
--chat--message--bot--color: var(--chat--color-white) !important;
--chat--message--bot--border: none !important;
--chat--message--user--background: #5f5e5e !important;
--chat--message--user--color: var(--chat--color-white) !important;
--chat--message--user--border: none !important;
--chat--message--pre--background: rgba(255, 255, 255, 0.05) !important;
--chat--toggle--background: var(--chat--color-primary) !important;
--chat--toggle--hover--background: var(--chat--color-primary-shade-50) !important;
--chat--toggle--active--background: var(--chat--color-primary-shade-100) !important;
--chat--toggle--color: var(--chat--color-white) !important;
--chat--toggle--size: 70px !important;
}

div.chat-input textarea {
flex: 1 !important;
font-size: 12px !important;
color: var(--chat--color-white) !important;
background-color: var(--chat--color-primary) !important;
border-radius: 5px !important;
resize: none !important;
outline: 2px solid #ffffff !important;
box-sizing: border-box !important;
overflow: hidden !important;
height: auto !important;
margin-bottom: 10px !important;
font-family: 'Montserrat', sans-serif !important;
margin-right: 44px !important;
margin-left: 8px !important;
padding: 8px !important;
}

button.chat-input-send-button {
background-color: #fff !important;
background-image: url('https://res.cloudinary.com/dwjyd8uhy/image/upload/v1739256356/Untitled_design_p4riyr.png') !important;
background-size: 100% !important;
background-repeat: no-repeat !important;
background-position: center !important;
color: var(--chat--color-white) !important;
border: none !important;
border-radius: 450% !important;
padding: 8px !important;
cursor: pointer !important;
font-size: 14px !important;
transition: background-color var(--chat--transition-duration) ease !important;
margin-bottom: 10px !important;
margin-right: -2px !important;
width: 31px !important;
font-family: 'Montserrat', sans-serif !important;
height: 31px !important;
}

button.chat-input-send-button:hover {
background-color: #D3D3D3 !important;
}

button.chat-input-send-button path {
    display: none !important;
}

div.chat-message {
margin: var(--chat--spacing) 0 !important;
font-family: 'Montserrat', sans-serif !important;
}

div.chat-message-from-bot {
    position: relative;
    padding-left: 20px; /* Adjust padding to make space for the image */
    font-family: 'Montserrat', sans-serif !important;
    border: 1px solid white !important; /* Added 'solid' for clarity */
    border-radius: var(--chat--message--border-radius) !important;
    margin-left: 30px !important;
}

div.chat-message-from-bot::before {
    content: ""; /* Ensure the pseudo-element is rendered */
    background-image: url('https://res.cloudinary.com/dwjyd8uhy/image/upload/v1739257021/Untitled_design__1_-removebg-preview_svicym.png') !important;
    background-size: contain; /* Use 'contain' to keep the aspect ratio */
    background-repeat: no-repeat !important;
    width: 60px; /* Set the width of the image */
    height: 60px; /* Set the height of the image */
    position: absolute; /* Position it relative to the parent */
    left: -65px; /* Adjust as necessary */
    top: 50%; /* Center it vertically */
    transform: translateY(-50%); /* Center the image vertically */
}

div.chat-message.user {
background-color: var(--chat--message--user--background) !important;
color: var(--chat--message--user--color) !important;
padding: var(--chat--message--padding) !important;
border-radius: var(--chat--message--border-radius) !important;
font-family: 'Montserrat', sans-serif !important;
border: var(--chat--message--user--border) !important;
margin-right: 0 !important;
}

.chat-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 10px !important;
    width: 300px !important;
    border-radius: 20px !important;
    background-color: transparent !important;
    font-size: 16px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s ease !important;
    padding-bottom: 10px !important;
    padding-top: 20px !important;
}

div.chat-header::before {
    content: "Zephyra" !important;
    display: block;
    font-size: 25px;
    font-weight: bold;
    color: black !important;
    font-family: 'Montserrat', sans-serif !important;
    margin-bottom: 10px;
    opacity: 0;
    transition: opacity 1s ease;
    overflow: visible !important;
    margin-left: -20px !important;
}

div.chat-header.show-message::before {
    opacity: 1;
}

div.chat-powered-by {
display: none !important;
}

div.chat-heading {
  display: none !important;
}

div.chat-body {
    background-image: url('https://res.cloudinary.com/dwjyd8uhy/image/upload/t_manas/v1737539626/black-faded-background-9rj42xxjug9frth1_e5xcpz.jpg') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    font-family: 'Montserrat', sans-serif !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 15px !important;
    color: white;
    position: relative;
    overflow-y: auto   !important;
    height: auto;
}

div.chat-body::before {
    content: var(--before-content, "Hello, I am Zephyr, your guide to XYZ.") !important;
    display: block;
    font-size: 34px;
    font-weight: bold;
    color: white !important;
    font-family: 'Montserrat', sans-serif !important;
    padding-top: 0px !important;
    margin-bottom: 10px;
    transition: opacity 1s ease;
    overflow: clip  !important;
}

.chat-wrapper {
    background-image: url('https://res.cloudinary.com/dwjyd8uhy/image/upload/t_manas/v1737539626/black-faded-background-9rj42xxjug9frth1_e5xcpz.jpg') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

div.chat-window {
background-color: #000000 !important;
}

div.chat-inputs {
background-color: #000000 !important;
margin-top: -20px !important;
}

div.chat-footer {
background-color: #000000 !important;
margin-top: 30px !important;
}

div.chat-powered-text {
font-size: 12px !important;
color: #888 !important;
text-align: center;
padding-bottom: 10px;
}

div.chat-powered-text a {
text-decoration: none !important;
color: #555 !important;
font-weight: bold !important;
font-family: 'Montserrat', sans-serif !important;
}

div.chat-powered-text a:hover {
color: #9E9C9C !important;
}

.chat-window-toggle {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 35px !important;
    width: 75px !important;
    border-radius: 20px !important;
    background-color: black !important;
    color: white !important;
    font-size: 16px !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s ease !important;
    border: 4px double white !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5) !important;
}

.chat-window-toggle.open {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    background-color: #000 !important;
}

.chat-window-toggle::before,
.chat-window-toggle::after {
    content: '' !important;
    display: block !important;
    width: 75px !important;
    height: 16px !important;
    background-color: white !important;
    border-radius: 15px !important;
    position: relative !important;
    box-shadow: inset 0 0 0 5px black !important;
    border: 0.25px solid Grey !important;
    transition: all 0.4s ease !important;
}

.chat-window-toggle::before {
    left: 5px !important;
}

.chat-window-toggle::after {
    right: 5px !important;
}

.chat-window-toggle.open::before,
.chat-window-toggle.open::after {
    transform: scale(1.25) !important;
    width: 40px !important;
    height: 20px !important;
}

.chat-window-toggle:hover::before,
.chat-window-toggle:hover::after {
    height: 24px !important;
}

.chat-window-toggle.open::before,
.chat-window-toggle.open::after {
    transform: scale(1.25);
    width: 40px !important;
    height: 20px !important;
    transition: opacity 1s ease;
}

.fade-out-toggle::before,
.fade-out-toggle::after {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.chat-window-toggle path {
    display: none !important;
}

div.chat-body::-webkit-scrollbar {
    width: 12px;
}

div.chat-body::-webkit-scrollbar-track {
    background: url('https://res.cloudinary.com/dwjyd8uhy/image/upload/f_auto,q_auto/black-white-smooth-gradient-background-texture-background_97567-775_ozigcw') no-repeat center center !important;
    background-size: cover;
    border-radius: 10px;
}

div.chat-body::-webkit-scrollbar-thumb {
    background: grey;
    border-radius: 10px;
}

div.chat-body::-webkit-scrollbar-thumb:hover {
    background: darkgrey;
}

@-moz-document url-prefix() {
    div.chat-body {
        scrollbar-width: thin;
        scrollbar-color: grey transparent;
    }
}