* { margin: 0; padding: 0; box-sizing: border-box; }
body, html { 
    font-family: Arial, sans-serif; 
    background-color: #f0f2f5; 
    height: 100vh; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    overflow: hidden;
}
.app-container { 
    width: 100vw; 
    max-width: 450px; 
    height: 100vh; 
    display: flex;
    flex-direction: column;
    background-color: white; 
    position: relative;
}
.header { 
    background-color: #075e54; 
    padding: 16px; 
    color: white; 
    text-align: center; 
    font-size: 18px; 
    font-weight: bold;
}
.swiper-container {
    flex: 1;
    width: 100%;
    height: 100%;
}
.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    touch-action: pan-y;
}



/* Pastikan ukuran teks greeting juga sama */
.bot-message:first-child {
    font-size: 12px; /* Ukuran greeting sama dengan teks chat lainnya */
}

.chat-footer { 
    display: flex; 
    padding: 10px; 
    border-top: 1px solid #ccc; 
    background-color: white; 
    width: 100%; 
    max-width: 450px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 10;
    transition: bottom 0.3s ease-in-out;
}
.chat-footer input { 
    flex: 1; 
    padding: 12px; 
    border: 1px solid #ccc; 
    border-radius: 30px; 
    outline: none; 
    font-size: 12px; 
    margin-right: 10px;
    z-index: 10;
}
.send-button { 
    width: 50px; 
    height: 50px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    border: none; 
    background: #25d366; 
    cursor: pointer;
    z-index: 10;
}
.send-button:hover { 
    background: #128c7e;
}
.send-icon { 
    width: 24px; 
    height: 24px;
}


.image-box, .manual-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0; /* Pastikan tidak ada padding */
    background-color: #ffffff;
    overflow-y: auto;
    height: calc(100vh - 130px);
    width: 100%;
}

.image-box img, .manual-box img {
    width: 100%; /* Pastikan gambar mengisi seluruh lebar container */
    height: auto;
    display: block; /* Pastikan gambar tampil dalam satu blok */
    margin: 0; /* Pastikan tidak ada margin antar gambar */
    padding: 0;
    border: none; /* Pastikan tidak ada border */
}

/* Pastikan chat box tidak mempengaruhi elemen lain */
.chat-box {
    flex: 1;
    padding: 15px;
    padding-bottom: 80px; 
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background-color: #ece5dd;
    height: calc(100vh - 130px);
    width: 100%;
}

/* Tambahkan aturan agar hanya bubble chat yang mendapat margin-bottom */
.message {
    font-size: 16px;
    font-family: Arial, sans-serif;
    color: black;
    padding: 10px;
    border-radius: 10px;
    max-width: 80%;
    word-break: break-word;
    margin: 5px 0;
    line-height: 1.5;
}

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

.bot-message {
    background-color: white;
    align-self: flex-start;
}

