.search_kanji{
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.msg_send {
    margin-top: 70px;
    width: 100%;
    text-align: center;
}

.audio_button {
    display: flex;
    justify-content: flex-end;
    margin-right: 16px;
    padding-bottom: 16px;
}

#chat_feed {
    margin: 30px auto;
    max-width: 800px;
    letter-spacing: 2px;
    width: 90%;
}

.highlight {
    color: #F06060;
    font-size: 26px;
}

.create_button{
    display: flex;
    align-items: center;
    justify-content: center;
}

.create_button .is_result_hidden_checkbox{
    margin-left: 16px;
}

.bot_info {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    text-align: center;
}

.msg_txt {
    border: 1px solid rgb(222, 222, 222) !important;
    border-radius: 10px !important;
    max-width: 400px !important;
}

.select_box{
    -webkit-appearance: auto;
    background-color: #f6f6f6;
    color: #0d0d0d;
    padding: 12px 24px;
    display: inline-block;
    font-size: 16px;
    margin: 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    border: 1px solid rgb(222, 222, 222) ;
}

.radical_select_box{
    width: 320px;
}

.chat {
    /* height: 100vh; */
}

.text {
    font-size: 18px;
    padding: 10px;
}

#kanji-container {
    width: 60%;
    display: flex;
    margin: 20px auto;
    flex-wrap: wrap;
    justify-content: center;
}

#kanji-container .kanji_button {
    margin: 10px 20px;
}

.kanji_button.selected {
    background: gray;
}

.button {
    white-space: nowrap;
    background: #56baed;
    border-radius: 8px;
    padding: 12px 20px;
    border: 0px;
    outline: none;
    color: rgb(255, 255, 255);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    margin: 5px;
    justify-content: center;
}

.button_inner {
    display: flex;
    align-items: center;
    justify-content: center;
}

#generate_text_button {
    margin-bottom: 15px;
}

.image {
    position: relative !important;
}

.select {
    padding: 5px 10px;
    border-radius: 5px;
}

.external_link_button {
    position: absolute;
    right: 0;
    top: 0;
}

.popup_image {
    display: block;
    margin: 0 auto;
}


.survey_popup_container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: grid;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.survey_popup_content {
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: popup-animation 1s ease-out forwards;
    transform: translateY(0%);
}

.close_button {
    border: none;
    color: #000;
    font-size: 16px;
    background-color: #71C5E8;
    cursor: pointer;
    border-radius: 5px;
    color: white;
    padding: 10px;
    margin-top: 10px;
}

.close_button:hover {
    opacity: 1;
}


.popup_image {
    border-radius: 20px;
}

#loading_image {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
}

#loading_image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

@media screen and (max-width: 768px) {
    .popup_image {
        width: 95%;
        height: 100%;
        object-fit: contain;
        border-radius: 20px;
    }

    .search_kanji{
        width: 80%;
        margin: 0 auto;
    }

    .select_box{
        width: 100%;
    }
}


@keyframes popup-animation {
    0% {
        opacity: 0;
        transform: translateY(50%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}
