body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Roboto Mono', monospace;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.chat-container {
    width: 90%;
    max-width: 800px;
    height: 90vh;
    background-color: rgba(30, 30, 30, 0.95);
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-header {
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.header-logo {
    height: 50px;
    width: auto;
}

.header-titles {
    flex-grow: 1;
}

.header-titles h1 {
    margin: 0;
    font-size: 1.2em;
    color: #00aaff;
    font-weight: 700;
}

.header-titles p {
    margin: 0;
    font-size: 0.8em;
    color: #aaa;
}

.status {
    display: flex;
    align-items: center;
    font-size: 0.9em;
}

.status-dot {
    height: 10px;
    width: 10px;
    background-color: #4CAF50;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 5px #4CAF50;
}

.chat-window {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 85%;
    line-height: 1.5;
    word-wrap: break-word;
}

.message p {
    margin: 0;
    padding: 10px 15px;
    border-radius: 12px;
    display: flex;
    gap: 10px;
    background-color: #262626;
}

.message .timestamp {
    color: #888;
    flex-shrink: 0;
}

.message .text {
    flex-grow: 1;
}

.bot-message strong {
    color: #4fc3f7;
}

.user-message {
    align-self: flex-end;
}

.user-message p {
    background-color: #005A9E;
    color: #ffffff;
}

.chat-input-form {
    display: flex;
    padding: 15px;
    border-top: 1px solid #333;
}

#user-input {
    flex-grow: 1;
    background-color: #3c3c3c;
    border: 1px solid #555;
    border-radius: 5px;
    color: #e0e0e0;
    padding: 10px 15px;
    font-family: 'Roboto Mono', monospace;
    font-size: 1em;
    outline: none;
}

#user-input:focus {
    border-color: #00aaff;
    box-shadow: 0 0 5px rgba(0, 170, 255, 0.5);
}

.chat-input-form button {
    background-color: #007acc;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1e1e1e; }
::-webkit-scrollbar-thumb { background: #555; border-radius: 4px; }