/* styles.css 文件内容 */
body {
    font-family: 'Arial', sans-serif;
    color: #343a40;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* 防止横向滚动条 */
}

.container {
    max-width: 90%;
    margin: 50px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.55); /* 半透明背景 */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

form {
    background-color: rgba(255, 255, 255, 0.9); /* 半透明背景 */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #808080;
    text-align: center;
}

input[type="file"] {
    padding: 5px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    width: 99%;
}

button {
    background-color: #a9a9a9;
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #696969;
}

button[disabled] {
    background-color: #ccc;
    cursor: not-allowed;
}

.results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}

.result-item {
    display: none;
    background-color: rgba(255, 255, 255, 0.9); /* 半透明背景 */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    word-wrap: break-word;
    white-space: pre-wrap;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-basis: 100%;
    box-sizing: border-box;
}

.single .result-item {
    flex-basis: 100%;
}

.double .result-item {
    flex-basis: calc(50% - 10px);
}

.multi .result-item {
    flex-basis: calc(33.33% - 13.33px);
}

.hidden {
    display: none;
}

.placeholder-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    min-height: 3em; /* 确保有足够的空间显示动画 */
}

.placeholder-symbol {
    display: inline-block;
    font-size: 18px;
    color: #adb5bd;
    margin: 0 4px; /* 添加间距 */
    opacity: 0; /* 初始透明度为0 */
    animation: fadeIn 0.5s forwards; /* 应用动画 */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    border: 1px solid #000;
    padding: 8px;
}

th {
    background-color: #f2f2f2;
}
.placeholder-symbol {
    font-size: 28px; /* 你可以根据需要调整字体大小 */
}