.container {
    width: 80%;
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.input-contain {
    width: 80%; /* Adjust the width as needed */
    height: 100px; /* Adjust the height as needed */
    font-size: 16px; /* Adjust the font size as needed */
    padding: 20px; /* Adjust the padding as needed */
    text-align: left;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-all;
}

#inputString{
    resize: none;
    width: 100%;
    height: 100%;
} 

button {
    padding: 10px 10px;
    margin-right: 10px;
    border: none;
    border-radius: 4px;
    background-color: #333;
    color: white;
    cursor: pointer;
}
button:hover {
    background-color: #555;
}

/* loading动画 */
#loading {
    
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 60px;
    height: 60px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 灰色背景覆盖层 */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明灰色 */
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* 确保覆盖在所有内容之上 */
  }

  body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* header特征在nav.css */


.canvas-contain {
    margin-bottom: 20px;
    /* overflow-x: auto; */
    width: 100%;
    /* display: flex; 
    justify-content: center; 
    align-items: center; */
}

.label-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    width: 100%;
}
.label-container::before,
.label-container::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #ccc;
    margin: 0 10px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 20px;

}

form label {
    font-weight: bold;
    font-size: 20px;
}

.table-contain {
    width: 80%;
    margin: 20px;
}
.dt-buttons {
    float: 'right';
    text-align: 'right'
}

#result, #pic-label {
    font-weight: bold;
    font-size: 20px;
}

.right-align {
    margin-right: auto;
    font-weight: bold;
    font-size: 40px;
    color: #898980;
    /* text-shadow: 5px 5px 5px rgba(0, 0, 0, 0.5); */
    -webkit-box-reflect: below 0 -webkit-linear-gradient(transparent, transparent 20%, rgba(255, 255, 255, .3));
}
