
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f2f2f2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    margin: 0;
    overflow: auto;
}

.chat-container {
    width: 100%;
    max-width: 500px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    max-height: 100vh; /* 원하는 높이로 설정 */
    overflow-y: auto;
}

.chat-header {
    background-color: #007bff;
    color: #fff;
    padding: 15px;
    text-align: center;
    font-size: 20px;
    border-bottom: 1px solid #ccc;
}

.chat-bubble-container {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.chat-bubble {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 20px;
    margin-bottom: 10px;
    position: relative;
    clear: both;
}

.user-bubble {
    background-color: #007bff;
    color: #fff;
    align-self: flex-end;
    margin-left: auto;
}

.bot-bubble {
    background-color: #f1f1f1;
    color: #333;
    align-self: flex-start;
    margin-right: auto;
}

.chat-input-container {
    display: flex;
    align-items: center;
    padding: 15px;
    border-top: 1px solid #ccc;
}

.chat-input {
    flex: 1;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 20px;
    margin-right: 10px;
    font-size: 16px;
}

.send-button {
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.send-button:hover {
    background-color: #0056b3;
}

.intro-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro-container img {
    width: 40%;
    min-width: 240px;
}

#loader {
    font-size: 25px;
    text-align: center;
}

.kakao-ad {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    min-width: 350px;
    min-height: 200px;
}