/* Christmas Theme for Chat Interface */
#santa-chat-container {
    background-color: #f0f0f0; /* Light grey background */
    border: 2px solid #ff0000; /* Red border */
    border-radius: 10px;
    padding: 20px;
    width: 1000px;
    max-width: 90%;
    margin: auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#santa-chat-container h2 {
    color: #008000; /* Green color for the heading */
    text-align: center;
    font-family: 'Arial', sans-serif;
    margin-bottom: 15px;
}

#chat-window {
    height: 600px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
}

#chat-input {
    width: calc(100% - 100px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 10px;
    box-sizing: border-box;
}

#send-btn {
    width: 80px;
    background-color: #ff0000; /* Red color for the send button */
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px;
    cursor: pointer;
    font-family: 'Arial', sans-serif;
}

#send-btn:hover {
    background-color: #cc0000;
}

.user-message {
    text-align: right;
    max-width: 80%;
    align-self: flex-end;
}


.user-message, .ai-message {
    max-width: 80%;
    margin-bottom: 1em;
    border: solid 1px #BBBBBB;
    border-radius: 4px;
    box-shadow: 2px 2px 4px #DDDDDD;
    color: #000;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.user-message {
    align-self: flex-end;   /* This aligns the whole bubble to the right */
    text-align: right;
}

.ai-message {
    align-self: flex-start; /* This aligns the whole bubble to the left */
}

.ai-error {
    text-align: center;
    font-weight: bold;
}

.user-label, .ai-label {
    font-weight: bold;
    color: white;
    padding: 4px 12px;
    display: inline-block;
    width: 100%;
    border-radius: 4px 4px 0 0;
    margin-bottom: 0;
}

.user-label {
    background-color: darkgreen;
}

.ai-label {
    background-color: darkred;
}

.user-text, .ai-text {
    padding: 8px 12px;
    white-space: pre-line;
    background: #fff;
    border-radius: 0 0 4px 4px;
    font-size: 1.2em;
}