* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
main{
    width: 80vw
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #111111;
    padding: 20px;
}

header {
    background-color: #222;
    color: white;
    padding: 20px;
    width: 100%;
    text-align: center;
    font-size: 24px;
}

.bot-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.bot-box {
    background-color: #333333;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.begin-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px 0;
}

.begin-btn:hover {
    background-color: #0056b3;
}

.full-box {
    width: 100%;
    height: 300px;
    background-color: #333333;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    overflow-y: auto;
    padding: 10px;
    margin-top: 20px;
    border: 1px solid #ccc;
    gap: 12px
}

.choice-box{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 12px;
}

.bot-description {
    padding: 4px;
    flex: 1 0 auto;
    resize: vertical;
    width: 90%;
    min-height: 28px;
    field-sizing: content;
}

/* Message Styling */
.message {
    max-width: 75%;
    padding: 10px 15px;
    border-radius: 20px;
    word-wrap: break-word;
    font-size: 14px;
}

/* Bot 1 Message (Blue) */
.message.bot1 {
    background-color: #1877f2;
    color: white;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

/* Bot 2 Message (Gray) */
.message.bot2 {
    background-color: #e4e6eb;
    color: black;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
    text-align: end;
}

/* Scrollbar Customization */
.full-box::-webkit-scrollbar {
    width: 6px;
}

.full-box::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.full-box::-webkit-scrollbar-track {
    background: #f0f2f5;
}

/* Typing Indicator */
.typing {
    font-style: italic;
    color: #999;
    padding: 5px 10px;
    background: #e4e6eb;
    border-radius: 20px;
    align-self: flex-start;
    max-width: 75%;
}

/* Make sure Bot 2's typing aligns to the right */
.typing.bot2 {
    align-self: flex-end;
}
