body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    background-color: #0a0a0a;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    color: #333;
    font-size: large;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Chat container styling */
.chat-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* border-radius: 12px; */
    overflow: hidden;
    background-color: #ffffff;
}

/* Chat header styling */
/* .chat-header {
    background-color: #111111;
    color: #ffffff;
    padding: 18px 20px;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
} */

/* Chat box for messages */
.chat-box {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background-color: #0a0a0a;
    scroll-behavior: smooth;
}

/* Message bubble styling */
.message {
    max-width: 80%;
    padding: 0px 18px;
    /* border-radius: 20px; */
    line-height: 1.5;
    word-wrap: break-word;
    /* white-space: pre-wrap;  */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.user-message {
    background-color: #262626;
    color: #ffffff;
    align-self: flex-end;
}

.bot-message {
    /* background-color: #e5e5ea; */
    color: #ffffff;
    align-self: flex-start;
}

/* Markdown styling within messages */
.bot-message p {
    margin: 0;
}

.bot-message pre {
    background-color: #262626;
    border-radius: 8px;
    padding: 10px;
    font-family: 'Courier New', Courier, monospace;
    overflow-x: auto;
    margin: 10px 0;
}

.bot-message code {
    background-color: #262626;
    padding: 2px 6px;
    /* border-radius: 4px; */
    font-family: Consolas;
    font-size: medium;
}

/* Chat input area styling */
.chat-input {
    display: flex;
    padding: 15px 20px;
    /* border-top: 1px solid #e0e0e0; */
    background-color: #181818;
    gap: 10px;
    align-items: center;
}

.chat-input input[type="text"] {
    flex-grow: 1;
    padding: 12px 18px;
    border: 1px solid #ccc;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.chat-input input[type="text"]:focus {
    border-color: #4a90e2;
}

.chat-input select,
.chat-input button {
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s, transform 0.2s;
    outline: none;
    white-space: nowrap;
}

.chat-input select {
    background-color: #e9ecef;
    color: #495057;
    border: 1px solid #ced4da;
    appearance: none; /* Removes default dropdown arrow */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><path fill="%23495057" d="M7 7l3 3 3-3V7z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px;
}

.chat-input button {
    background-color: #4a90e2;
    color: #ffffff;
}

.chat-input button:hover {
    background-color: #3a72b8;
    transform: translateY(-1px);
}

/* Responsive design */
/* @media (max-width: 600px) {
    .chat-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }

    .chat-input {
        flex-direction: column;
        padding: 10px;
    }

    .chat-input input[type="text"],
    .chat-input select,
    .chat-input button {
        width: 100%;
        margin-bottom: 5px;
    }

    .message {
        max-width: 90%;
    }
} */
