/* Global styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
 /*   font-family: 'Roboto Slab', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;*/

   /* height: 100vh;*/
   /* background-color: #f2f2f2;*/
	/* user-select: none;*/
}
/* Chatbot container inside the right section */
.chatbot-container {
    width: 100%;
    height: 100%; /* Ensures it occupies the full length of the right section */
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Prevent overflow issues */
}
/* Chatbot Header */
    .header {
    position: relative;
    background: linear-gradient(to bottom, #167ED4, #003467);
    color: white;
    padding: 12px;
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
/* .header::before { */
    /* content: ''; */
    /* position: absolute; */
    /* bottom: -20px; /* Height of the curve */ */
    /* left: 0; */
    /* width: 100%; */
    /* height: 40px; /* Adjust this value to control the curve height */ */
    /* background: white; */
    /* border-top-left-radius: 100% 20px; */
    /* border-top-right-radius: 100% 20px; */
    /* box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */ */
/* } */
.bot-message .message-content {
    background-color: #f5feff; /* Light blue for bot messages */
    color: #006064; /* Teal text */
    border-radius: 20px 20px 20px 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
.user-message .message-content {
    background-color: #e0f7fa; /* Light teal for user messages */
    color: #000000; /* Black text */
    border-radius: 20px 20px 5px 20px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
/* Media queries for responsiveness */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    .left-section,
    .right-section {
        width: 100%;
    }
    .right-section {
        padding: 0;
    }
    .chat-window {
        height: 70%; /* Adjust the height for smaller devices */
    }
}
/* Chat window and messages */

.chat-window {
    flex: 1; /* Allow the chat window to expand and take up available space */
    padding: 10px;
    overflow-y: auto; /* Enables scrolling for overflowing messages */
    border-bottom: 1px solid #ccc;
    max-height: calc(100% - 60px); /* Ensure it respects the overall container height */
    box-sizing: border-box;
}
.message {
    display: flex;
    align-items: center;
    margin: 10px 0;
}
.bot-message {
    display: flex; /* Enables Flexbox layout */
    align-items: flex-start; /* Aligns items to the left */
    justify-content: flex-start; /* Ensures items start at the top */
}
    .bot-message img {
        padding-top: 3px;
    }

.user-message {
    justify-content: flex-end; /* Align user messages to the right */
    align-items: center; /* Keep the vertical alignment consistent */
}
.message img {
    width: 32px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 4px;
}

.modal-dialog img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 10px;
    padding: 3px;
}

.user-message {
    justify-content: flex-end;
}
.user-message img {
    order: 2;
    margin-left: 10px;
    margin-right: 0;
}
.message-content {
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 20px;
    color: #333333 !important;
    font-size: 14px;
    text-white:#ccc;
}

/* .bot-message .message-content { */
/* background-color: #e0f7fa; */
/* color: #006064; */
/* } */
/* .user-message .message-content { */
/* background-color: #ffebee; */
/* color: #b71c1c; */
/* } */
/* Input section */
.input-section {
    display: flex; /* Align items horizontally */
    padding: 10px;
    gap: 10px; /* Space between the input field and button */
    width: 100%; /* Full width of the container */
    background-color: #f8f9fa; /* Optional background color */
    border-top: 1px solid #ccc; /* Optional visual separator */
}

.input-section input {
    flex: 1; /* Allow the input to take up remaining space */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Include padding in width calculations */
}

.input-section button {
    padding: 10px 15px; /* Adjust padding for button size */
    border: none;
    background: #0d8752; /* Green background for the button */
    color: white; /* White text */
    border-radius: 5px; /* Smooth edges */
    cursor: pointer; /* Change cursor on hover */
    flex-shrink: 0; /* Prevent the button from shrinking */
}



/* Footer */
.footer {
    background-color: #167ED4;
    color: white;
    padding: 15px;
    text-align: center;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}
.footer a {
    color: white;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    .left-section,
    .right-section {
        width: 100%;
    }
    .right-section {
        padding: 0;
    }
    .chatbot-container {
        height: 85vh;
    }
    .header {
        font-size: 18px;
        padding: 15px;
    }
    .message-content {
        font-size: 14px;
    }
    .input-section button {
        padding: 8px;
    }
}
@media (max-width: 480px) {
    .header {
        font-size: 16px;
        padding: 10px;
    }
    .message-content {
        font-size: 12px;
    }
    .input-section input {
        font-size: 12px;
    }
    .input-section button {
        font-size: 12px;
        padding: 6px;
    }
    .footer {
        font-size: 12px;
    }
}

.search-container {
  margin-bottom: 10px;
  text-align: left;
}
.search-container input {
  padding: 8px;
  width: 100%;
  max-width: 300px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
  .question-container {
      margin: 15px;
      padding: 30px;
      background-color: #ffffff;
      border-radius: 10px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    h2 {
      color: #333333;
      font-size: 1.5rem;
    }
    p {
      color: #555555;
      font-size: 1rem;
      line-height: 1.5;
    }
	.header-section {
    width: 100%;
    background-color: #f8f9fa; /* Light gray background */
    padding: 10px 20px;
    display: flex;
    justify-content: flex-start; /* Align the button to the left */
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    position: fixed; /* Keep the section at the top, even on scroll */
    top: 0;
    left: 0;
    z-index: 1000; /* Ensure it stays on top of other content */
}
.main-container {
    display: flex;
    flex-direction: column; /* Stack the button-section at the top */
    width: 100%;
   /* max-width: 1200px;*/
    height: 87vh;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}
.button-section {
    background-color: #f8f9fa; /* Light gray background */
    padding: 10px 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for separation */
    z-index: 10; /* Ensure it stays on top */
}
.content-sections {
    display: flex;
    flex: 1; /* Allow the content sections to fill available space */
}
.left-section {
    position: relative; /* Container for ::before */
    width: 30%;
    height: 84vh; /* Use vh for consistent viewport-based height */
    max-height: 800px; /* Optional: cap the max height */
    background: linear-gradient(to bottom, #115ba4 50%, #ffffff 50%);
    overflow-y: auto; /* Allow vertical scroll if content overflows */
    overflow-x: hidden; /* Prevent horizontal scroll */
    box-sizing: border-box; /* Better sizing */
}
    .left-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 30%; /* Top area */
        /* You can apply additional background or styles here if needed */
        z-index: 1;
        pointer-events: none; /* No interference with user interactions */
    }
    .left-section * {
        position: relative;
        z-index: 2;
    }
.right-section {
    flex: 1;
    background: #ffffff;
    padding: 5px 20px 20px 10px;
    min-height: 84vh;
    height: 84dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden; /* No scroll on right side */
    box-sizing: border-box;
}
.resizer {
    width: 4px;
    background: rgba(0, 0, 0, 0.2);
    cursor: col-resize;
    margin-left: 10px;
}
.dropdown {
    /*margin-bottom: 15px;*/
    width: 100%; /* Ensure dropdown spans full width */
    display: flex; /* Enable flexbox for alignment */
    justify-content: flex-end; /* Align dropdown-toggle to the right */
}
.dropdown-toggle {
    width: auto; /* Allow the button to take its natural width */
    text-align: left; /* Keep text inside aligned to the left */
    padding: 0.5rem 1rem; /* Adjust padding for better appearance */
}
.dropdown-menu {
    position: absolute; /* Ensures the dropdown is positioned relative to its parent */
    z-index: 1060; /* Set a high z-index to layer it above all other elements */
    top: 100%; /* Place it directly below the toggle button */
    left: 0; /* Align it with the left edge of the toggle button */
    transform: translateY(0); /* Ensure no visual offset */
    background-color: #ffffff; /* Optional: Maintain visibility with a white background */
    border-radius: 5px; /* Rounded corners for better aesthetics */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a drop shadow for depth */
    overflow: visible; /* Ensure the dropdown content isn't clipped */
}
.top-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%; /* Filled 30% from top */
    background: linear-gradient(to bottom, #003467, #167ED4);
    z-index: 1;
    pointer-events: none;
}
h6 {
    text-align: center; /* Center-align the text */
    font-size: 1.5rem; /* Make the font size prominent */
    font-weight: bold; /* Add weight for emphasis */
    margin-bottom: 20px; /* Add spacing below the header */
    color: #333; /* Set a neutral text color */
}
@media (max-width: 768px) {
    h6 {
        font-size: 1.2rem; /* Adjust font size for smaller screens */
        margin-bottom: 15px; /* Reduce spacing for smaller screens */
    }
}
.faqs {
    font-size: 1.15rem; /* Default size for larger screens */
    text-align: center; /* Center the text */
    color: #fff; /* Neutral color for readability */
    margin: 10px 0; /* Add spacing above and below */
    font-weight:400;
    
}

@media (max-width: 768px) {
    .faqs {
        font-size: 1.5rem; /* Smaller font size for medium screens */
    }
}
@media (max-width: 480px) {
    .faqs {
        font-size: 1.2rem; /* Even smaller font size for small screens */
        margin: 10px 0; /* Adjust spacing for smaller devices */
    }
}

     .side-by-side {
	display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    padding: 10px 15px;
    //border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.side-by-side .label {
    color: #333; /* White text for the label */
    font-size: .85rem; /* Standard font size */
    font-weight: 300; /* Slightly bold for emphasis */
}

     .side-by-side1 {
	
    align-items: center;
    gap: 10px;
    background-color: #fff;
    padding: 10px 15px;
    //border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
}

.full-width {
    flex: 1; /* Ensure the dropdown takes up remaining space */
    padding: 5px 10px; /* Padding for the dropdown */
    border: 1px solid #ddd; /* Subtle border around the dropdown */
    border-radius: 5px; /* Smooth rounded edges */
    background-color: #ecf0f1; /* Light background for the dropdown */
    color: #34495e; /* Dark text for readability */
    font-size: 1rem; /* Consistent font size */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Inset shadow for depth */
}
        .full-width:hover {
            border-color: #0056b3; /* Hover effect for border */
            background-color: #e9ecef; /* Subtle background change */
            color: #222; /* Slightly darker text */
        }

        .full-width:focus {
            border-color: #0056b3; /* Focus effect */
            background-color: #e9ecef;
            box-shadow: 0 0 6px rgba(0, 123, 255, 0.6); /* Glow on focus */
        }
.range {
    text-align: left; /* Aligns the text to the left */
    display: block; /* Ensures the label takes up the full width of its container */
	font-size: 24px
}
.full-width {
    width: 100%; /* Full width for the input section */
}

.overlay {
    position: absolute; /* Overlay the second part on top of the first */
    top: 0; /* Align to the top of the container */
    right: 10px; /* Add some spacing from the right edge */
}
.full-width-input {
    width: 100%; /* Occupies the full width of the container */
    padding: 10px; /* Add some inner padding */
    box-sizing: border-box; /* Includes padding and border in width calculation */
    border: 1px solid #ccc; /* Optional: Add a border */
    border-radius: 5px; /* Optional: Smooth rounded corners */
    font-size: 1rem; /* Adjust font size */
}
.sendbtn {
    background-image: url('img/send1.jpg');
    background-repeat: no-repeat;
    background-position: left center; /* Position the image on the left */
    background-size: 20px 20px; /* Scale the image */
    padding-left: 30px; /* Add space to accommodate the image */
    padding: 10px 15px; /* Button padding */
    border: none;
    background-color: #0d8752; /* Green background color */
    color: white; /* White text */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer;
}

#toggleButton {
    /* height:35px;*/
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.UserInputtextarea{
    width:100%;
}

.btnSize {
    --bs-btn-padding-x: 0;
    --bs-btn-padding-y: 0;
    height: 25px !important;
    width: 25px !important;
    margin-bottom: 0 !important;
}

.hrLine {
    margin: 2px 0;
}

