body, html {
    height: 100%;
    margin: 0;
    padding: 5px;   
    border:none;
    flex-direction: column; /* Stack flex items vertically */
    justify-content: flex-start; /* Align content to the top */
    box-sizing: border-box;
    display: flex;
    background-color: #000000; !important;
    justify-content: center;
    align-items: center;
    font-family: 'Univers Light Condensed', sans-serif;
}

.site-header {
    width: 100%; /* Make the header full width */
    background-color: #000000; /* Set the background color of your header */
    padding: 0px 0; /* Add some padding at the top and bottom */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Optional: adds a shadow for depth */
    display: flex; /* Use flexbox for layout */
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
}

.logo {
    max-width: 300px; /* Set the maximum width of your logo */
    background: #000000;
    height: auto; /* Keep your logo's aspect ratio */
}


.send-button{
font-size: 15px !important;
color: #fff !important;
background-color: #54B0E5
 !important;
padding: 10px 30px !important;
border: solid #000 2px !important;
box-shadow: rgb(0, 0, 0) 0px 0px 0px 0px !important;
border-radius: 50px 0px 0px 50px !important;
flex-direction: row !important;
align-items: center !important;
cursor: pointer !important;

}

.send-button:hover{
background-color: #004C97 !important;
    border: solid #004C97 2px !important;
color: #ffffff !important;
}

textarea:focus, input:focus{
    outline: none;
}

.chat-container {
    max-width: 1800px; /* Full viewport width this can be changed */
    height: 90vh; /* Full viewport height */
    margin: auto;
    padding: 20px;
    background-color: #000000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.chat-box {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.bot-message, .user-message {
    margin-bottom: 10px;
    background-color: #54B0E5;
    border-radius: 18px;
    display: block;
    max-width: 100%;
    color: black;
    font-family: Arial, sans-serif;
}

.bot-message {
    background-color: #54B0E5;;
    color: white;
    border-radius: 18px;
    padding: 10px 20px;
    margin-right: auto;
    text-align: left;
}

.user-message {
    background-color: #E1E2E3;
    color: black;
    border-radius: 18px;
    padding: 10px 20px;
    margin-left: auto;
    text-align: left;
}

.chat-form {
    display: flex;
    border: 0px solid #5f5f5f;
    padding-left: 20px; /* Adjust this value to match the alignment of other messages */
    padding-right: 20px; /* Adjust this value to match the alignment of other messages */
    border-radius: 50px 0px 0px 50px !important;
    overflow: hidden !important;
    height: 90px;
    overflow: hidden !important;
}

.chat-form input[type="text"] {
    flex-grow: 1;
    border: none;
    padding-left: 20px; /* Adjust this value to match the alignment of other messages */
    padding-right: 20px; /* Adjust this value to match the alignment of other messages */
    padding: 15px 30px;
    border-radius: 20px 0 0 20px;
    margin: 0;
    font-size: 15px;
    font-family: Arial, sans-serif;
}

.chat-form input[type="submit"] {
    border: none;
    background-color: #007bff;
    color: white;
    padding: 15px 30px;
    border-radius: 0 0px 0px 0px;
    cursor: pointer;
}

.user-message input[type="submit"] {
    border: 0;
    background: none;
    display: none;
}

.chat-message {
    animation: fadeInUp 0.5s ease-out both;
}

}

/* New styles for images in chat messages */
.chat-message img {
    max-width: 100%; /* Ensure the image does not exceed the width of the message */
    border-radius: 10px; /* Optional: Adds rounded corners to the image */
    margin-top: 10px; /* Space between the text and the image */
    display: block; /* Display image as a block element */
}

@keyframes fadeInUp {
    from {
        transform: translate3d(0, 20px, 0);
        opacity: 0;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.chat-message a {
    color: #e0e2e3;
    text-decoration: none;
}

.chat-message a:hover {
    color: #e0e2e3;
}

.site-footer {
    background-color: #000000; /* Footer background color */
    color: #54B0E5;
    text-align: center;
    padding: 20px 0; /* Add some padding at the top and bottom */
    width: 100%;
}
.site-footer a {
    color: #6CAEE0; /* This will set the hyperlink color to white */
    text-decoration: none; /* No underline by default */
}

.site-footer a:hover {
    text-decoration: underline; /* An underline on hover for better visibility */
    color: #ffffff; /* Keep the hyperlink color white on hover as well */
}



/* Extra styles for footer responsiveness */
@media only screen and (max-width: 600px) {
    .site-footer {
        padding: 10px 0; /* Reduce padding for small screens */
    }
}

/* Media queries for mobile responsiveness */
@media only screen and (max-width: 600px) {
    .chat-container {
        padding: 10px; /* Change padding for the chat container on mobile devices */
    }

    .chat-box {
        padding: 10px; /* Change padding inside the chat box on mobile devices */
    }

    .bot-message, .user-message {
        padding: 10px; /* Change padding inside message bubbles on mobile devices */
    }

    .chat-form {
        padding: 10px; /* Change padding around the chat form on mobile devices */
    }

    /* Adjust other elements as needed for mobile layout */
    /* Example: */
    .send-button, .chat-form input[type="text"] {
        padding: 5px; /* Change padding for input and send button on mobile devices */
    }
}

/* Base styles that are common across all screen sizes */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    /* styles for extra small screens */
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    /* styles for small screens */
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    /* styles for medium screens */
}

/* Media query for larger devices */
@media only screen and (min-width: 768px) {
    body, html {
        font-size: 18px; /* Larger base font-size for larger devices */
    }

    .chat-message, .user-message, .bot-message {
        font-size: 1rem; /* Larger font-size for chat messages on larger devices */
    }

    /* Add other elements you want to adjust for larger screens here */
    /* Example: */
    .send-button, .chat-form input[type="text"] {
        font-size: 1rem; /* Adjust the size as needed */
    }

    /* If there are other text elements or controls you want to adjust, add them here */
     .chat-container {
        width: 90vw; /* For larger devices, you may want to take up less of the viewport width */
        min-width: 800px; /* The minimum width the container should have on larger screens */
    }
}



/* Extra styles for footer responsiveness */
@media only screen and (max-width: 600px) {
    .site-footer {
        padding: 10px 0; /* Reduce padding for small screens */
    }
}


/* Loader CSS */
.loader {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  position: absolute; /* Position it over chat area */
  top: 50%; /* Center vertically in the chat area */
  left: 50%; /* Center horizontally in the chat area */
  z-index: 1000; /* High z-index to be above other elements */
  transform: translate(-50%, -50%); /* Adjust the positioning */
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

