/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* 위에서 살짝 떨어지도록 설정 */
    align-items: center;
    height: 100vh; /* 화면 전체 높이 */
    background-color: #f4f4f4;
    text-align: center;
    padding-top: 20px; /* 위에서 약간의 간격 추가 */
}

.chat-container {
    width: 90%;
    max-width: 600px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.chat-box {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.chat-message {
    margin-bottom: 15px;
}

.message-question {
    color: #333;
    font-weight: bold;
}

.message-answer {
    color: #555;
    margin-top: 5px;
    padding-left: 10px;
    border-left: 2px solid #4CAF50;
}

.user-input, .send-button {
    width: 100%;
    padding: 10px;
    border: none;
    box-sizing: border-box;
}

.user-input {
    border-top: 1px solid #ccc;
    padding-left: 10px;
}

.send-button {
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.send-button:hover {
    background-color: #45a049;
}

.intro-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro-container img {
    width: 50%;
    min-width: 300px;
}

#loader {
    font-size: 25px;
    text-align: center;
}
