body {
    font-family: sans-serif;
    max-width: 700px;
    margin: 40px auto;
    background: #f4f7f9;
    color: #333;
    line-height: 1.5;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    margin-bottom: 25px;
}

input[type="text"],
input[type="file"] {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
}

.btn:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #6c757d;
}

.btn-secondary:hover {
    background: #545b62;
}

.hidden-file-input {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

label.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

#pageInfo {
    margin-bottom: 10px;
    font-weight: bold;
    color: #28a745;
}

#sort-area {
    margin-top: 10px;
}

#rangeBlock {
    margin-top: 10px;
}

.file-item {
    padding: 12px;
    background: #eee;
    margin: 8px 0;
    cursor: move;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.file-name {
    flex: 1;
    word-break: break-all;
}

.delete-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 13px;
    flex: 0 0 auto;
}

.delete-btn:hover {
    background: #b02a37;
}

nav {
	margin-bottom: 25px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 34px;
    padding: 4px;
    border: 1px solid #d0d7de;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    transition: 0.2s ease;
    box-sizing: border-box;
}

.section-help {
    margin: 6px 0 10px;
    font-size: 0.9rem;
    color: #666;
}

.hidden {
    display: none;
}

