/* static/style.css */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/* Chat Widget */
#chat-widget {
    width: 1000px; 
    height: 490px;
    border: 1px solid #ccc;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background-color: #ffffff; 
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Chat Header */
.chat-header {
    background-color: #0097ae;
    color: #fff;
    padding: 5px 10px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    height: 35px;
    box-sizing: border-box;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Messages Area */
#messages {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background-color: #ffffff;
}

.welcome-logo {
    display: block;
    margin: 0 auto 10px auto;
    width: 200px; 
    height: 80px;
}
.welcome-logo1 {
    display: block;
    margin: 0 auto 10px auto;
    width: 300px; 
    height: 160px;
}

.welcome-text {
    text-align: center;
    font-size: 16px;
    color: #0097ae;
    margin-bottom: 10px;
    font-weight: bold;
}

/* Assistant Response Styling */
.message.assistant {
    background-color: #f2f2f2;
    color: #333;
    padding: 10px;
    margin: 10px 0;
    border-radius: 8px;
    line-height: 1.5;
    font-size: 16px;
    font-weight: bold;
    white-space: pre-wrap;
}

/* User Message Styling */
.message.user {
    text-align: right;
    color: #333;
    padding: 5px;
    font-size: 14px;
    font-weight: bold;
}

/* Error Message Styling */
.message.error {
    color: red;
    font-size: 12px;
    padding: 5px;
}

/* Input Area */
.input-area {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
}

#messageInput {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    margin-right: 10px;
}

.send-button {
    background-color: #e22f2f;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.send-button:hover {
    background-color: #cc2727;
}

/* Chat Footer */
.chat-footer {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: #ffffff;
    border-top: 1px solid #ccc;
}

.action-btn {
    background-color: #0097ae;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.action-btn:hover {
    background-color: #333;
}

/* Mic Button */
.mic-button {
    background-color: #fff;
    color: #555;
    border: 1px solid #ccc;
    padding: 10px 16px;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
}

.mic-button:hover {
    background-color: #f8f8f8;
}

/* Language Panel */
#languagePanel {
    display: none;
    margin-top: 6px;
    text-align: center;
    padding: 4px;
}

.lang-btn {
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 5px 8px;
    margin: 3px;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn img {
    width: 20px;
    height: auto;
    display: inline-block;
}

.lang-btn:hover {
    background: #eee;
}

@media screen and (max-width:600px){
    .lang-btn {
        font-size: 14px;
        margin: 3px 2px;
        padding: 5px 6px;
    }
    .lang-btn img {
        width: 18px;
    }
}

/* Progress Bar */
#progressBarContainer {
    width: 300px;
    height: 10px;
    border: 1px solid #000;
    display: none;
    margin: 10px auto;
}

#progressBar {
    width: 0%;
    height: 100%;
    background-color: #4CAF50;
    transition: width 0.2s ease;
}
