body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
}

.user-message {
    position: relative;
    height: auto;
    border-bottom: 0.1rem solid #dadada;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 1rem 0;
    box-sizing: border-box;
    overflow: auto;

}

.user_rectangle1 {
    width: 45.5rem;
    height: auto;
}

.bot-message {
    position: relative;
    height: auto;
    border-bottom: 0.1rem solid #dadada;
    display: flex;
    align-items: center;
    justify-content: start;
    padding: 1rem 0;
    box-sizing: border-box;
    overflow: auto;

}

.child_msg {
    background-color: #1f1e1e;
    color: #fff;
    position: relative;
    width: 90%;
    font-size: 20px;
    border-radius: 10px;

}

.child_msg1 {
    color: #000;
    position: relative;
    width: 100%;
    font-size: 18px;

}

.boddy {
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: #fcfffd;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

}

.belong {
    height: 100%;
    width: 100%;
    overflow: auto;
    padding: 1rem 5rem;
    box-sizing: border-box;
}

.bodddy {
    height: auto;
    width: 100%;
}

.belong::-webkit-scrollbar {
    width: 5px;
}

.belong::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 5px;
}

.belong::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

input:focus {
    border: none;
    outline: none;
}

textarea {
    flex: 1;
    font-size: 0.99rem;
    border-radius: 1rem;
    height: auto;
    border: none;
    resize: none;
    color: #000;
    font-family: 黑体, serif;
    padding: 0 1rem;
    box-sizing: border-box;
}

.textareabelong {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: auto;
    display: flex;
}

textarea:focus {
    border: none;
    outline: none;

}

input[type = 'text'] {
    font-size: 1.3rem;
    border-radius: 1rem;
    width: 88%;
    height: 92%;
    border: none;
}

#conversation {

}

.bodyys {
    position: relative;
    border: 0.1rem solid #c2c2c2;
    width: calc(100% - 10rem); /* 使用calc()函数来减去左右两侧5rem的间距 */
    max-height: 10rem;
    /*background-color: #0c5460;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 1rem;
    padding: 0.2rem;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    bottom: 1rem;
    background-color: #fff;

}

#sendButton {
    position: absolute;
    width: 5rem;
    height: 3rem;
    bottom: 9px;
    right: 15px;
    background-color: #1aa134;
    border-radius: 1rem;
    border: none;
    font-weight: 700;
    color: white;
    cursor: pointer;
}

.user_rectangle {

    align-self: flex-start;
    width: 2.8rem;
    height: 2.8rem;
    background-color: #0c5460;
    margin: 0.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.bot_rectangle {
    align-self: flex-start;

    width: 2.8rem;
    height: 2.8rem;
    background-color: #009d01;
    margin: 0.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.textareabelong::-webkit-scrollbar {
    width: 5px;
}

.textareabelong::-webkit-scrollbar-track {
    background-color: #ffffff;
}

.textareabelong::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 4px;
}

.textareabelong::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.choice {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.choice_item {
    font-size: 1.2rem;
    color: #888888;
    cursor: pointer;
    border-radius: 50px;
    width: 30%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.choice_item::after {
    content: "";
    left: 0;
    width: 0;
    height: 2px;
    background-color: black;
    transition: width 0.3s ease;
}

.choice_item.active::after {
    width: 50% !important;
}

.choice_item:hover::after {
    width: 50%;
}

.choice_item:hover {
    color: #000;
}

.popup-zz {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

}

.popup-content {
    margin-bottom: 15px;

}

.close-button {
    background-color: #ff0000;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-button {
    background-color: #4caf50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.input-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    margin-top: 15px;

}

.input-group label {
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
}

#input_user {
    border: 0.1rem solid #000;
    border-radius: 0;
    height: 2rem;
}

input[type='password'] {
    border: 0.1rem solid #000;
    border-radius: 0;
    height: 2rem;

}

.ooo {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}


/*
单元格
 */
table {
    width: auto;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th, td {
    border: 1px solid #ddd;
    padding: 10px 50px 10px 10px;
    box-sizing: border-box;
    text-align: left;


}

th {
    background-color: #f2f2f2;

}

/* 内部单元格样式 */
.highlight {
    background-color: #ffff99; /* 某种颜色 */
}

.center {
    text-align: center;
}

.italic {
    font-style: italic;
}

a {
    color: #117a8b;
}

#math {
    width: 80px;
    height: 50px;
    border-radius: 5px;
    background-color: #117a8b;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: #ffffff;
    cursor: pointer;
}

.popup_show {
    bottom: 88px;
    left: 5rem;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    width: 60%;
    height: 20rem;
    background-color: #ececec;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);

}

.popup_property {
    width: 100%;
    height: 100%;
}