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

* {
  font-family: 'Sansation', 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;
}

.chat-input textarea {
flex: 1 !important;
box-sizing: border-box !important;
font-size: 14px !important;
font-family: 'Sansation', sans-serif !important;
color: var(--chat--color-white) !important;
background-color: var(--chat--color-primary) !important;
border-radius: 5px !important;
outline: 2px solid #ffffff !important;
height: auto !important;
min-height: 40px !important;  /* Adjust based on your preference */
max-height: 200px !important;  /* Maximum height */
margin-bottom: 5px !important;
margin-right: 44px !important;
margin-left: 8px !important;
margin-top: 10px;
padding: 8px !important;
overflow: auto;
}

.chat-input {
display: flex; /* Allow the textarea to grow */
flex-direction: column; /* Stack children vertically */
min-height: 40px; /* Match the textarea's min-height */
max-height: 200px; /* Match the textarea's max-height */
overflow: visible; /* Ensure nothing is clipped */
} 

textarea {
  
display: flex !important;
}

.chat-input textarea::-webkit-scrollbar {
  display: none
}

button.chat-input-send-button {
background-image: url('https://res.cloudinary.com/dwjyd8uhy/image/upload/v1739979991/Untitled_design__1_-removebg-preview_r72jf4.svg') !important;
background-size: 100% !important;
background-repeat: no-repeat !important;
color: var(--chat--color-white) !important;
outline: 2px solid #474747 !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: 2px !important;
margin-right: -2px !important;
width: 32px !important;
font-family: 'Sansation', sans-serif !important;
height: 32px !important;
box-shadow: 0 0 15px white;
}

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

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

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

.chat-message-from-bot {
    position: relative;
    padding: 5px !important;
    border: 1px solid white !important;
    font-size: 13px;
    border-radius: var(--chat--message--border-radius) !important;
    margin-left: 30px !important;

}

.chat-message-from-bot::before {
    content: "";
    background-image: url('https://res.cloudinary.com/dwjyd8uhy/image/upload/v1740492815/Mediamodifier-Design_wvk0ln.svg') !important;
    background-size: contain;
    background-repeat: no-repeat !important;
    width: 60px;
    height: 60px; 
    position: absolute;
    left: -65px;
    top: 50%; 
    transform: translateY(-50%); 
}

.chat-message>.chat-message-markdown>*:first-child {
    margin-top: -10px;
}

.chat-message.chat-message-from-user:not(.chat-message-transparent) {
    background-color: var(--chat--message--user--background);
    border: var(--chat--message--user--border, none);
    min-height: 10px;
}

.chat-message>.chat-message-markdown>*:first-child {
    margin-top: -10px;
    margin-bottom: -15px;
}

.chat-message-from-bot img {
  width: 168px !important;
  height: 168px !important;
  padding: 5px !important;
  margin-top: 20px !important;
  border-radius: 20px;
  box-sizing: border-box; 
  max-width: 100%; 
  max-height: 100%;
}

.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: 'Sansation', sans-serif !important;
border: var(--chat--message--user--border) !important;
margin-right: 0 !important;
}

.chat-message-markdown{
padding: 10px !important;
line-height: 1.2 !important;
font-family: 'Sansation', sans-serif !important;
}

div.chat-input {
  
}

.chat-inputs {
background-color: #000000 !important;
margin-top: -20px !important;
border-radius: 10px;
font-family: 'Sansation', sans-serif !important;

}

.chat-header {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 20px !important;
    width: 300px !important;
    border-radius: 20px !important;
    background-color: #000000 !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;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    color: white !important;
    opacity: 0;
    transition: opacity 1s ease;
    overflow: visible !important;
    font-family: 'Sansation', sans-serif !important;
    margin-top: 20px;
}

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

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


div.chat-body {
    background-image: url('https://res.cloudinary.com/dwjyd8uhy/image/upload/v1739981217/black-faded-background-9rj42xxjug9frth1_e5xcpz_qg393n.jpg') !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    font-family: 'Sansation', 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: 'Sansation', sans-serif !important;
    padding-top: 0px !important;
    margin-bottom: 10px;
    transition: opacity 1s ease;
    overflow: clip  !important;
}

.chat-wrapper {
    background: linear-gradient(to bottom, black 50%, #737373 50%) !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    overflow: hidden;
}

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


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

}

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

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;
}

.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-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;
    }
}


.prompt-strip-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent; 
    border-radius: 5px;
    width: 100%;
    overflow: hidden;
    padding-bottom: 3px;
    overflow: visible;
    box-sizing: border-box;
    
}

.prompt-strip {
    display: flex;
    background-color: transparent; 
    overflow-x: auto; 
    white-space: nowrap;
    justify-content: flex-start;
    align-items: center;
    height: -30px;
    padding-top: 3px;
    padding-bottom: 3px;
    font-family: 'Sansation', sans-serif !important;
}

/* Custom scrollbar for the prompt strip */
.prompt-strip::-webkit-scrollbar {
    width: 12px;
}

.prompt-strip::-webkit-scrollbar-track {
    background-size: cover;
    border-radius: 10px;
}

.prompt-strip::-webkit-scrollbar-thumb {
    background: grey;
    border-radius: 10px;
}

.prompt-strip::-webkit-scrollbar-thumb:hover {
    background: darkgrey;
}

/* For Firefox */
@-moz-document url-prefix() {
    .prompt-strip {
        scrollbar-width: thin;
        scrollbar-color: grey transparent;
    }
}

.scroll-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px; 
    height: 30px;
    border-radius: 50%; 
    background-color: #f0f0f0; 
    border: 2px solid #333; 
    font-size: 18px; 
    cursor: pointer; 
    transition: background-color 0.3s ease, border-color 0.3s ease;
    color: #fff; 
    padding-bottom: 3px;
    font-family: 'Sansation ', sans-serif !important;
}

/* Right arrow */
.right-arrow {
    background-color: #000; 
    border-color: #666;
}

.right-arrow:hover {
    background-color: #3a3939; 
    border-color: #323131; 
}

.left-arrow {
    background-color: #000; 
    border-color: #666;
}


.left-arrow:hover {
    background-color: #3a3939;
    border-color: #323131; 
}

.scroll-arrow:focus {
    outline: none;
    box-shadow: 0 0 0 2px #007bff; 
}


.prompt-strip::-webkit-scrollbar {
    display: none;
}


.prompt-strip::-webkit-scrollbar-track {
    background: transparent; 
    border-radius: 10px;
}


.prompt-strip::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px; 
}


.prompt-strip::-webkit-scrollbar-thumb:hover {
    background: #555; 
}


.prompt-button {
    background-color: #000000;
    border: 2px solid #333;   
    border-radius: 25px;        
    font-size: 14px;            
    padding: 10px 20px;         
    cursor: pointer;            
    transition: background-color 0.3s ease, border-color 0.3s ease; 
    margin: 0 5px;             
    color: #fff;                
    height: 5px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}


.prompt-button:hover {
    background-color: #323131;     
    border-color: #555;       
}


.prompt-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #007bff; 
}

.scroll-arrow:focus {
    outline: none;
    box-shadow: 0 0 0 2px #ffffff;
}

.scroll-arrow:not(:focus) {
    border-color: #333;
}


.prompt-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #ffffff; 
}

.chat-message-typing-body {
    width: 90px;
    height: 60px;
    overflow: hidden;
    top: 1px;
    right: 8px;
    position: relative;
    padding: 0px
    
}

.chat-message-typing .chat-message-typing-circle {
    position: absolute;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    margin: 3px;
    
}

.chat-message-typing-circle::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    opacity: 0.8;
    animation: colorChange 6s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-message-typing .chat-message-typing-circle:nth-child(1) { animation-name: move1; }
.chat-message-typing .chat-message-typing-circle:nth-child(2) { animation-name: move2; }
.chat-message-typing .chat-message-typing-circle:nth-child(3) { animation-name: move3; }

@keyframes colorChange {
    0% {
        background-color: black;
        box-shadow: 0 0 15px white;
        transform: scale(1);
    }
    30% { transform: scale(1); }
    33% {
        background-color: rgba(255, 255, 255, 0.5);
        box-shadow: 0 0 15px white;
        transform: scale(1.1);
    }
    36% {
        background-color: white;
        box-shadow: 0 0 25px white;
        transform: scale(1.2);
    }
    63% { transform: scale(1.2); }
    66% {
        box-shadow: 0 0 15px white;
        background-color: rgba(255, 255, 255, 0.5);
        transform: scale(1.1);
    }
    69% {
        background-color: gray;
        transform: scale(1);
        box-shadow: 0 0 15px white;
    }
    100% {
        background-color: black;
        box-shadow: 0 0 15px white;
        transform: scale(1);
    }
}

@keyframes move1 {
    0%, 100% { transform: translate(0, 0); !important}
    25% { transform: translate(10px, -10px); !important}
    50% { transform: translate(-5px, 5px); !important}
    75% { transform: translate(15px, 0); !important}
}

@keyframes move2 {
    0%, 100% { transform: translate(0, 0); !important}
    25% { transform: translate(-10px, 5px); !important}
    50% { transform: translate(5px, -10px); !important}
    75% { transform: translate(10px, 10px); !important}
}

@keyframes move3 {
    0%, 100% { transform: translate(0, 0); !important}
    25% { transform: translate(12px, -5px); !important}
    50% { transform: translate(-8px, 8px); !important}
    75% { transform: translate(0, -12px); !important}
}

