body {
    font-family: sans-serif;
    padding: 20px;
}

textarea {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    height: 200px;
    font-size: 14px;
    /* margin-bottom: 10px; */
}

.button-container {
    display: flex;
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中 (可选) */
}

button {
    display: inline-block;
    margin: 0 15px;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    background-color: #4caf50;
    color: white;
    border: 1px solid #4caf50;
    cursor: pointer;
    transition: bakcground-color 0.3s ease;
}

button:hover {
    background-color: #3e8e41;
    border: 1px solid #3e8e41;
}

button:active {
    background-color: #3e8e41;
    border: 1px solid #3e8e41;
    transform: translateY(2px);
}

/* #output {
    display: block;
    margin-left: auto;
    margin-right: auto;

    width: 80%;
    white-space: pre-wrap;
    border: 1px solid #ccc;
    padding: 20px;
    
} */

.message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 9999;
    /* 确保它在其他元素之上 */
}

.message.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    /* 添加透明度过渡效果 */
}