.tool-section {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.upload-section {
    text-align: center;
}

.drop-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    border: 2px dashed rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--primary-color);
    background: rgba(136, 189, 242, 0.05);
}

.drop-zone.dragover {
    transform: scale(1.02);
}

.upload-icon {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.drop-zone h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.drop-zone p {
    color: var(--text-secondary);
}

/* Options Section */
.options-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-header h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.hint-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: -1rem;
}

.file-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--input-bg);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filename {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
}

.filesize {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.icon-btn:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

.icon-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.icon-btn.delete:hover {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

.generate-btn {
    background: var(--primary-gradient);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--primary-shadow-md);
    width: 100%;
    margin-top: 1rem;
}

.generate-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--primary-shadow-lg);
}

.small-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.small-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Processing Section */
.processing-section {
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Results Section */
.results-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.success-icon {
    margin-bottom: 0.5rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.primary-btn {
    flex: 2;
    background: var(--primary-gradient);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.secondary-btn {
    flex: 1;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--primary-shadow-md);
}

.secondary-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .action-buttons {
        flex-direction: column;
    }
}
