body {
    padding-bottom: 120px; /* Space for the chat form */
    background-color: #f0f0f0; /* Background color */
    color: #000000; /* Text color */
    margin: 0;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}
.md textarea{
    display:none;
}
#chatbot {
    background-color: #ffffff; /* Background color of the "paper" */
    padding: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for the "paper" effect */
    width: 100%;
    max-width: 1140px;
    margin: 5px;
    border-radius: 5px;
}

.cvheader, .examples, .chat {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.chatusername img, .examples img {
    border-radius: 50%;
}

.chatusername img {
    width: 50px;
    height: 50px;
    vertical-align: middle;
}

.examples img {
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
}

.examples ul {
    list-style-type: none;
    padding: 0;
}

.examples li {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}

.examples li:hover {
    background-color: #bdc3c7;
    border-color: #e74c3c;
}

.chat {
    margin-top: 0;
    margin-bottom: 30px;
    background-color: #ffffff; /* Background color of chat */
}

.chat h4 {
    text-transform: capitalize;
}

.chatuser, .chatassistant {
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.chatuser {
    border: 2px solid #3498db;
    background-color: rgba(52, 152, 219, 0.1);
}

.chatassistant {
    border: 2px solid #7f8c8d;
    background-color: rgba(127, 140, 141, 0.1);
}

.chatusername {
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c3e50;
}

.md {
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50; /* Text color */
    overflow: auto;
}

.md pre{
    overflow: auto;
}

#chathistory img {
    margin: 10px;
    max-width: 90%;
}

.chatform {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa; /* Background color */
    padding: 15px;
    z-index: 1000; /* Ensures the form is above other elements */
    border-radius: 5px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}

.prompt {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
}

.chatform textarea {
    flex: 1;
    resize: none; /* Prevents manual resizing */
    overflow-y: auto; /* Adds a vertical scrollbar if needed */
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-right: 10px;
}

.chatform button {
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #3498db;
    color: white;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.chatform button:hover {
    background-color: #2980b9;
}

/* Style for Save and Clear chat links */
.chatform-links {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.chatform-links a {
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: #ffffff;
    background-color: #3498db;
    border: 1px solid #3498db;
    transition: background-color 0.3s, color 0.3s;
}

.chatform-links a:hover {
    background-color: #2980b9;
    color: #ffffff;
}

.chatform-links a.btn-link {
    background-color: transparent;
    color: #3498db;
    border: none;
}

.chatform-links a.btn-link:hover {
    color: #2980b9;
}


.chatbotiframe{
    border:0px;
    padding:0px
}
.imgloading {
    margin: auto;
    max-height: 40px;
}

.tool_function
{
    border-radius:5px;
    background-color: #66bb6a;
    color:#ffffff;
    border: 2px solid #66bb6a;
    display: inline-block;
    padding: 2px;
    margin:1px
}
.call_assistant
{
    background-color: #66bb6a;
    
}


