body, input, textarea, select, button {
    font-family: 'Roboto';
    font-weight: 400; /* This sets the default weight to regular */
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    text-align: center;
}

input{
    text-align: left;
}

.header {
    background-color: #f7f7ec;
    padding: 20px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    width: 250px; /* Adjust the size as needed */
    height: auto;
    margin-right: 20px;
}

.header-text {
    text-align: left;
    color: #333;
}

.header-text h1 {
    margin: 0;
    font-size: 2em;
}

.header-text p {
    margin: 0;
    font-size: 1.2em;
}

.search-form form {
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.search-form input, .search-form select {
    padding: 10px;
    margin: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* General button styling */
.button {
    padding: 10px 20px;
    background-color: #28a745; /* Green color */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.button:hover {
    background-color: #218838; /* Darker green on hover */
}

/* Specific button styles can be added or overridden here */
/* Example: .back-btn with specific color */
.back-btn {
    background-color: #6c757d; /* Gray color */
}

.back-btn:hover {
    background-color: #5a6268; /* Darker gray on hover */
}
/* SEARCH RESULTS STYLE */

.results-container {
    margin-top: 20px;
}

.search-form,
.results-container {
    width: 50%; /* Half the page width */
    margin: auto; /* Center the container */
}

.results-list {
    list-style: none;
    padding: 0;
}

.result-item {
    background: white;
    margin: 10px 0;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-btn {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}

.chat-btn:hover {
    background-color: #218838;
}

.back-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

.back-btn:hover {
    background-color: #5a6268;
}
/* Chat page styles */
.chat-container {
    position: sticky; /* Fixed at the bottom */
    bottom: 0;
    left: 0;
    background: white;
    border-top-left-radius: 8px; /* Rounded corners on top */
    border-top-right-radius: 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Shadow on top */
    padding: 10px 20px; /* Adjust padding as needed */
    display: flex;
    justify-content: center; /* Center items horizontally */
    align-items: center; /* Center items vertically */
    flex-wrap: wrap; /* Allow items to wrap onto next line */
}

.message-input,
.edesk-ticket-input {
    width: 400px; /* Set fixed width */
    max-width: 90%; /* Ensure it is responsive */
    padding: 10px;
    margin: 10px; /* Space on sides */
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: left;
}

.button {
    padding: 15px 100px;
    background-color: #28a745; /* Green color */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    margin: 0 10px; /* Space on sides */
    flex: 0 0 auto; /* Do not grow or shrink */
}

.end-chat {
    background-color: #dc3545; /* Red color */
}

.end-chat:hover {
    background-color: #c82333; /* Darker red on hover */
}

.clear-chat{
    background-color: #FFBF00;
}
.clear-chat:hover {
    background-color: #E6AC00;
}

.feedback-btn{
    padding: 15px;
    background-color: gray;
}
.feedback-btn.positive:hover{
    background-color: #28a745;
}
.feedback-btn.negative:hover{
    background-color: #c82333;
}

.conversation-container {
    margin: 30px auto; /* Centering and adding space above */
    padding: 20px; /* Inner space */
    margin-top: 0px;
    min-height: calc(100vh - 553px);
    overflow-y: auto; /* Allows scrolling */
}

.chat-box {
    margin-bottom: 10px; /* Space below chat box */
    overflow-y: auto; /* Scroll for overflow text */
    text-align: left; /* Align text to left */
    height: 100%; /* Ensure it fills its container, allows for scrolling */
}
.user-message{
    padding: 20px 10px;
    max-width: 90%;
    margin: 0px auto;
}
.tim-message{
    padding: 20px 10px;
    background-color: #e2e2e2;
    max-width: 90%;
    margin: 0px auto;
}

.message-input,
.edesk-ticket-input {
    width: calc(100% - 20px); /* Full width minus padding */
    padding: 10px;
    margin-bottom: 10px; /* Space below inputs */
    border: 1px solid #ddd;
    border-radius: 4px;
}

.end-chat {
    background-color: #dc3545; /* Red color */
}

.end-chat:hover {
    background-color: #c82333; /* Darker red on hover */
}
.retrieve-chat-form {
    margin-top: 20px;
}

.retrieve-chat-form form {
    margin: auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: inline-block;
}
.copy-response-btn{width: 60px;height: 30px;float: right;margin-top: -30px;border: none;}

.copy-tooltip {
    visibility: hidden;
    width: 120px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    margin-left: -60px; /* Use half of the width value to offset tooltip */
}

.copy-response-btn:hover .copy-tooltip {
    visibility: visible;
}

#feedback-input-container {
    margin-top: 10px;
}

#feedback-input {
    width: 100%;
    padding: 8px;
}

#submit-feedback {
    /* Styling for the submit button */
    background-color: #4CAF50; /* Green background */
    color: white;
    border: none;
    padding: 10px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
}