/* 文件批量翻译重命名工具样式 */
.tool-container {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.input-section, .output-section {
    margin-bottom: 20px;
}

.input-section label, .output-section label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #2c3e50;
}

.input-section input[type="text"] {
    width: calc(100% - 100px);
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    margin-right: 10px;
}

.input-section input[type="text"]:focus {
    border-color: #4a6ee0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 110, 224, 0.1);
}

#browse-btn {
    width: 100px;
    padding: 12px;
    margin-top: 20px;
    vertical-align: middle;
}

textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    resize: vertical;
    background-color: #fff;
}

textarea:focus {
    border-color: #4a6ee0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 110, 224, 0.1);
}

.button-section {
    display: flex;
    gap: 12px;
    margin: 20px 0;
}

button {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

/* 删除以下样式 */
/* #output { ... } */
/* #copy-btn { ... } */

/* Toast 提示样式 */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* 文件列表样式 */
.file-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.file-item:last-child {
    border-bottom: none;
}

.file-name {
    font-weight: bold;
}

.file-translation {
    color: #3498db;
}

.drop-zone {
    width: 100%;
    height: 200px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
}

.drop-zone-hover {
    border-color: #007bff;
    background-color: #e9ecef;
}

.drop-zone-text {
    text-align: center;
    color: #6c757d;
}

.drop-zone-text p {
    margin: 8px 0;
}

.browse-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.browse-btn:hover {
    background-color: #0056b3;
}

#generate-btn {
    background-color: #3498db;
    color: white;
}

#generate-btn:hover {
    background-color: #2980b9;
}

#scan-btn {
    background-color: #3498db;
    color: white;
}

#scan-btn:hover {
    background-color: #2980b9;
}

#clear-btn {
    background-color: #3498db;
    color: white;
}

#clear-btn:hover {
    background-color: #2980b9;
}

#file-count-label {
    font-size: 16px;
    color: #2c3e50;
    margin-top: 10px;
    display: block;
}