body {
    font-family: "Winky Rough", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #000000;
    color: #e2e8f0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.ChatContainer {
    background-color: #0e0e11;
    border: 1px solid #27272a;
    border-radius: 1rem;
    box-shadow: 0 10px 15px rgba(39, 39, 42, 255);
    width: 100%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 80vh;
}

.ChatHeader {
    background-color: #18181B;
    padding: 20px;
    border-bottom: 1px solid #27272a;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    color: #5676ff;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.ChatMessages {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    scroll-behavior: smooth;
}

.Message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    word-wrap: break-word;
}

.UserMessage {
    background-color: #2f45ff;
    align-self: flex-end;
    color: white;
    border-bottom-right-radius: 0.25rem;
}

.ASSETMessage {
    background-color: #18181b;
    align-self: flex-start;
    color: white;
    border-bottom-left-radius: 0.25rem;
}

.ChatInputArea {
    display: flex;
    padding: 1rem;
    gap: 0.5rem;
    background-color: #18181b;
    border-top: 1px solid #27272a;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.ChatInput {
    font-family: "Winky Rough", sans-serif;
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: none;
    background-color: #0e0e11;
    color: #e2e8f0;
    outline: none;
}

.ChatInput::placeholder {
    color: #a0aec0;
}

.SendButton {
    font-family: "Winky Rough", sans-serif;
    padding: 0.75rem 1.25rem;
    background-color: #5676ff;
    color: white;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.SendButton:hover {
    background-color: #85a8ff;
}

.LoadingIndicator {
    align-self: flex-start;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background-color: #718096;
    color: white;
    font-style: italic;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

@media (max-width: 768px) {
    .chat-container {
        height: 90vh;
        margin: 1rem;
    }
    .chat-header {
        font-size: 1.25rem;
    }
    .message {
        max-width: 90%;
    }
    .chat-input-area {
        flex-direction: column;
        gap: 0.75rem;
    }
    .send-button {
        width: 100%;
    }
}
