.pdf-tool .pdf-privacy-notice {
    background: #e8f4fd;
    border-left: 4px solid var(--color-secondary, #00B4D8);
    padding: 12px 16px;
    margin: 16px 0;
    border-radius: 4px;
    font-size: 0.95rem;
}

.pdf-tool .pdf-drop-area {
    border: 2px dashed var(--gray-light, #ccc);
    border-radius: 10px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    margin: 16px 0;
    transition: background 0.2s, border-color 0.2s;
}

.pdf-tool .pdf-drop-area.dragover {
    border-color: var(--color-secondary, #00B4D8);
    background: #f0f8ff;
}

.pdf-tool .pdf-file-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.pdf-tool .pdf-file-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #f5f5f5;
    border-radius: 6px;
    margin-bottom: 6px;
}

.pdf-tool .pdf-file-list .remove-file {
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.pdf-tool .pdf-controls {
    margin: 16px 0;
}

.pdf-tool .pdf-controls label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.pdf-tool .pdf-controls input[type="text"],
.pdf-tool .pdf-controls select {
    width: 100%;
    max-width: 400px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 8px;
}

.pdf-tool .pdf-status {
    margin: 12px 0;
    padding: 10px;
    border-radius: 6px;
    display: none;
}

.pdf-tool .pdf-status.visible {
    display: block;
}

.pdf-tool .pdf-status.error {
    background: #fdecea;
    color: #c0392b;
    border: 1px solid #e74c3c;
}

.pdf-tool .pdf-status.success {
    background: #eafaf1;
    color: #27ae60;
    border: 1px solid #2ecc71;
}

.pdf-tool .pdf-status.info {
    background: #ebf5fb;
    color: #2980b9;
    border: 1px solid #3498db;
}

.pdf-tool .pdf-page-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}

.pdf-tool .pdf-page-thumb {
    position: relative;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 4px;
    background: #fff;
    cursor: grab;
    text-align: center;
    width: 120px;
}

.pdf-tool .pdf-page-thumb.selected {
    border-color: var(--color-primary, #663399);
    box-shadow: 0 0 0 2px rgba(102, 51, 153, 0.3);
}

.pdf-tool .pdf-page-thumb canvas {
    max-width: 110px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.pdf-tool .pdf-page-thumb .page-num {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

.pdf-tool .pdf-page-actions {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 4px;
}

.pdf-tool .pdf-page-actions button {
    font-size: 11px;
    padding: 2px 6px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: var(--color-primary, #663399);
    color: #fff;
}

.pdf-tool .pdf-page-actions button.btn-danger {
    background: #e74c3c;
}

.pdf-tool .pdf-hint {
    font-size: 0.85rem;
    color: #777;
    margin-top: 4px;
}

.pdf-tool .pdf-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 8px 0;
}

.pdf-tool .pdf-checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pdf-tool .pdf-image-grid .pdf-image-thumb {
    width: 140px;
}

.pdf-tool .pdf-image-thumb img {
    max-width: 130px;
    max-height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.pdf-tool .pdf-image-thumb .page-num {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 130px;
    margin: 4px auto 0;
}
