.chat-container {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    border-radius: 18px;
    padding: 30px;
}

@media (max-width: 768px) {
    .chat-container {
        margin: 20px auto;
    }
}
/* ... Remaining CSS code for the chat UI ... */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #fff;
    background-image: url('background.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

h3 {
    margin: 5px;
}

.chat-header {
    background-color: #1d1d1d;
    text-align: center;
}

.chat-header h1 {
    font-size: 20px;
    margin: 0;
}

#chat-messages {
    padding: 10px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 70%;
    padding: 10px;
    border-radius: 20px;
    font-size: 14px;
}

.user-message .message-bubble {
    background-color: #4CAF50;
    color: #fff;
}

.bot-message .message-bubble {
    background-color: #9933cc;
    color: #fff;
}

.input-container {
    display: flex;
    margin-top: 20px;
}

#message-input {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 8px 0 0 8px;
    background-color: #333;
    color: #fff;
}

#message-input:focus {
    outline: none;
}

#send-button {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

#send-button:hover {
    background-color: #45a049;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.input-container {
    background-color: #333;
    padding: 10px;
    border-radius: 0 0 8px 8px;
}

#message-input {
    font-size: 14px;
    color: #fff;
    background-color: #333;
    border: none;
    border-radius: 4px;
    padding: 8px;
    margin-right: 5px;
}

#message-input::placeholder {
    color: #aaa;
}

button {
    font-size: 14px;
    padding: 8px 16px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #45a049;
}

body {
    font-family: Arial, sans-serif;
    background-color: #191919;
    margin: 0;
    padding: 0;
    color: #fff;
}

#chat-messages {
    height: 350px;
    padding: 10px;
    overflow-y: auto;
}

.message {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.user-message {
    justify-content: flex-end;
}

.bot-message {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 70%;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    background-color: #fff; /* Set background color to white */
    color: #000; /* Set text color to black */
    word-wrap: break-word;
}


.user-message .message-bubble {
    background-color: #03a9f4; /* Light Blue */
    color: #fff; /* White */
}

.bot-message .message-bubble {
    background-color: #f06292; /* Pink */
    color: #fff; /* White */
}

.intro-container {
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    border-radius: 18px;
    padding: 30px;
}

.intro-container img {
    width: 50%;
    min-width: 300px;
}
.chat-container img{
    width: 30%;
    min-width: 200px;
}

#label-date, #label-hour, #label-MBTI, #go-message {
    margin-top: 10px;
}

#label-date, #label-hour, #hour, #date, #label-MBTI, #MBTI, #go-message {
    font-size: 20px;
}

/* #loading-screen {
    text-align: center;
    display: none;
}

.loading-icon {
    font-size: 48px;
} */
#loading-screen {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    border-radius: 18px;
}

.loading-icon {
    font-size: 48px;
    color: #fff;
    margin: 0 auto;
} 